Skip to content
Managed gateway · LeanPool

Locate post

Find where a post sits in a profile's timeline.

GETapi.tikultra.com/v1/user/locate-postHeavy · 10 credits
Upstream/aweme/v1/post/locate/Every plan

Parameters

NameTypeDescription
usernameone of thesestringThe @username, without the @.
e.g. acme
sec_uidone of thesestringThe stable account ID used by the mobile API.
aweme_idrequiredstringThe post to find.
e.g. 7705852133855161377

Pricing

PlanPer callPer 1,000 calls
Starter10 credits$1.16
Growth10 credits$0.79
Scale10 credits$0.58

Response fields

FieldTypeDescription
status_codeintegerUpstream TikTok mobile status code (0 indicates success).
usernamestringDecoded username value.
target_aweme_idstringUnique target aweme identifier.
foundbooleanWhether found is enabled or true.
index_in_windowintegerDecoded index in window value.
cursorstringOpaque pagination cursor to pass as cursor on the next request, or null at the end.
itemsobject[]Page of normalized records returned by this endpoint.
items[].aweme_idstring64-bit TikTok Snowflake post ID (top 32 bits encode UTC creation timestamp).
items[].descstringPost caption text including inline #hashtags and @mentions.
items[].create_timeintegerUnix timestamp (seconds) when the item was created.
items[].regionstringTwo-letter ISO 3166-1 country code associated with the item or context.
items[].is_adsbooleanWhether ads is enabled or true.
items[].share_urlstringHTTPS URL for share.
log_pbobjectUpstream request trace envelope from the mobile gateway.
log_pb.impr_idstringUpstream TikTok impression / trace identifier.

Responses

A 200 returns JSON with stable field names. Every response carries x-credits-cost, x-credits-tier and x-credits-remaining. Errors return a JSON body with a stable code and cost 0 credits. Error codes

import os
from tikultra import TikUltra

with TikUltra(api_key=os.environ["TIKULTRA_KEY"]) as client:
    res = client.request("GET", "/v1/user/locate-post", params={
        "username": "acme",
        "aweme_id": "7705852133855161377",
    })
    print(res.credits_cost, res.data)
{
  "status_code": 0,
  "username": "acme",
  "target_aweme_id": "7705852133855161377",
  "found": true,
  "index_in_window": 0,
  "cursor": "1794158512000",
  "items": [
    {
      "aweme_id": "7705852133855161377",
      "desc": "Launch film, 1080p60 master #keyboards #desksetup",
      "create_time": 1794158512,
      "region": "US",
      "is_ads": false,
      "share_url": "https://www.tiktok.com/@acme/video/7705852133855161377",
      "author": {
        "uid": "6970000000000000001",
        "unique_id": "acme",
        "sec_uid": "MS4wLjABAAAAq8V3xLm2pR9wQ8mN4vK1zH7tB2yX",
        "nickname": "Acme Studio",
        "follower_count": 128431,
        "verified": false
      },
      "statistics": {
        "aweme_id": "7705852133855161377",
        "play_count": 1482906,
        "digg_count": 96442,
        "comment_count": 1318,
        "share_count": 4877,
        "collect_count": 2210,
        "repost_count": 614
      },
      "stats": {
        "play_count": 1482906,
        "digg_count": 96442,
        "comment_count": 1318,
        "share_count": 4877,
        "collect_count": 2210,
        "repost_count": 614
      },
      "music": {
        "id": "7569924403851462401",
        "title": "original sound - acme",
        "author": "Acme Studio",
        "duration_sec": 31,
        "is_original_sound": true
      },
      "video": {
        "codec": "bytevc1",
        "width": 1080,
        "height": 1920,
        "fps": 60,
        "duration_ms": 31840,
        "bitrate_bps": 3842100,
        "play_url": "https://v16-webapp-prime.tiktok.com/video/tos/useast2a/tos-useast2a-pve-0068/oQ8kLmN2xR9pV/?a=1233",
        "play_addr": {
          "uri": "v09044g40000csn8kLmN2xR9pV",
          "width": 1080,
          "height": 1920,
          "data_size": 15291558,
          "url_list": [
            "https://v16-webapp-prime.tiktok.com/video/tos/useast2a/tos-useast2a-pve-0068/oQ8kLmN2xR9pV/?a=1233"
          ]
        },
        "cover_url": "https://p16-sign-va.tiktokcdn.com/tos-maliva-p-0068/o8kLmN2xR9pV~tplv-tiktokx-origin.image"
      }
    }
  ],
  "log_pb": {
    "impr_id": "202611120200419F8E7D6C5B4A3210"
  }
}
Try it in the playgroundFull reference in the docs

More in Users & profiles

Ready to build?

Start with 2,500 free credits and test every public endpoint, then pick a plan.