Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

TikTok User Published Posts

API 文件
https://api.sandbase.ai/v1/api/tiktok/user-post

Get posts published by a TikTok user identified by secUid, with cursor pagination and latest or popular sorting. Use it to browse a creator's posting history or continue through their public post feed.

價格
$0.014286美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 2 個選填

Playground

輸入
The opaque security ID returned for the TikTok user.
Pagination cursor. Use '0' for the first page, then use the max_cursor value returned in the previous response.
Sorting criteria for the user's posts.
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

TikTok User Published Posts API

Returns a page of posts published by a TikTok user. The input is the user's secUid, with optional cursor and sort (LATEST or MOST_POPULAR) parameters.

Use cases

  • Pull a creator's recent posts to track what they publish and when.
  • Sort by MOST_POPULAR to find a creator's top-performing videos.
  • Collect hashtags and sounds a creator uses across their posts.
  • Page through a full public post history to build an archive of a creator's content.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/user-post" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"secUid": "MS4wLjABAAAA9BGtvm-UVpvkJWKC9MQO2MwFhXOz2Cp0Euox91YwY-F9EQWLz8gRnVG8sQw6LkMk"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
secUidstringYesThe opaque security ID returned for the TikTok user.
cursorstringNoPagination cursor. Use '0' for the first page, then use the max_cursor value returned in the previous response.
sortstringNoSorting criteria for the user's posts.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "aweme_list": [
    {
      "added_sound_music_info": {
        "album": "Arrival",
        "allow_offline_music_to_detail_page": false,
        "artists": [
          {
            "avatar": {
              "uri": "tos-maliva-avt-0068/aafa706a21e5b32e79d08684f17ba2b5",
              "url_list": [
                "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/aafa706a21e5b32e79d…"
              ],
              "url_prefix": null
            },
            "enter_type": 2,
            "follow_status": 0,
            "follower_status": 0,
            "handle": "abba",
            "is_block": false,
            "is_blocked": false,
            "is_private_account": false
          }
        ],
        "audition_duration": 60,
        "author": "ABBA",
        "author_deleted": false,
        "author_position": null,
        "avatar_medium": {
          "data_size": 0,
          "height": 720,
          "uri": "tos-maliva-avt-0068/aafa706a21e5b32e79d08684f17ba2b5",
          "url_list": [
            "https://p16-common-sign.tiktokcdn-us.com/tos-maliva-avt-0068/aafa706a21e5b32e79d…"
          ],
          "url_prefix": null,
          "width": 720
        }
      },
      "ai_remix_info": {
        "has_entrance": false
      },
      "aigc_info": {
        "aigc_label_type": 0,
        "created_by_ai": false
      },
      "anchors": null,
      "anchors_extras": "",
      "animated_image_info": {
        "effect": 0,
        "type": 0
      },
      "author": {
        "accept_private_policy": false,
        "account_labels": null,
        "account_region": "",
        "ad_cover_url": null,
        "advance_feature_item_order": null,
        "advanced_feature_info": null,
        "apple_account": 0,
        "authority_status": 0
      },
      "author_user_id": 52018348334530560,
      "aweme_acl": {
        "download_general": {
          "code": 0,
          "mute": false,
          "show_type": 2,
          "transcode": 3
        },
        "download_mask_panel": {
          "code": 0,
          "mute": false,
          "show_type": 2,
          "transcode": 3
        },
        "platform_list": null,
        "press_action_list": null,
        "share_action_list": null,
        "share_general": {
          "code": 0,
          "mute": false,
          "show_type": 2,
          "transcode": 3
        },
        "share_list_status": 0
      },
      "aweme_id": "7703087341845384479",
      "aweme_type": 0,
      "banners": null
    }
  ],
  "extra": {
    "fatal_item_ids": [],
    "logid": "20261103074418A9DE0C887E3F124A2041",
    "now": 1793691858000
  },
  "has_locate_item": false,
  "has_more": 1,
  "log_pb": {
    "impr_id": "20261103074418A9DE0C887E3F124A2041"
  },
  "max_cursor": 1791845975050,
  "min_cursor": 1793514806165,
  "status_code": 0,
  "status_msg": "",
  "version": "v2"
}

Response fields

FieldMeaning
aweme_list[]List of posts on this page. Each item is one post.
aweme_list[].aweme_idID of the post, as a string. Use it to look up the single post.
aweme_list[].descCaption text of the post, including hashtags.
aweme_list[].create_timeTime the post was created. The value is a 10-digit number, which looks like a Unix timestamp in seconds.
aweme_list[].content_typeType of content, for example video.
aweme_list[].cha_list[].cha_name / aweme_list[].cha_list[].cidName and ID of each hashtag (challenge) attached to the post.
aweme_list[].content_desc_extra[].hashtag_nameHashtag names found in the caption. start and end give the position of each tag in its caption line.
aweme_list[].added_sound_music_info.authorName of the author of the sound used in the post.
aweme_list[].added_sound_music_info.albumAlbum name of the sound, which may be empty.
aweme_list[].author_user_idNumeric ID of the user who published the post.

Notes

  • Send cursor as 0 for the first page. For the next page, pass the max_cursor value from the previous response.
  • The secUid is the opaque ID returned for a TikTok user, for example by a user profile API.
  • Post IDs in aweme_id are long numeric strings. Keep them as strings to avoid rounding.
  • To get full details for a single post, call TikTok Video Details.

Pricing

$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相關 APIs

所有 APIs
API價格回應
TikTok每次呼叫 $0.014286JSON
TikTok每次呼叫 $0.0012 起JSON
TikTok每次呼叫 $0.0008 起JSON
TikTok每次呼叫 $0.0008 起JSON
TikTok每次呼叫 $0.001JSON
TikTok每次呼叫 $0.001JSON

指南:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared

問題

常見問題

我要如何使用 TikTok User Published Posts API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/tiktok/user-post。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

TikTok User Published Posts API 的費用是多少?

每次 $0.014286,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

TikTok User Published Posts API 接受哪些參數?

必要:secUid (string)。 選填:cursor (string) 和 sort(LATEST, MOST_POPULAR 之一)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

TikTok User Published Posts API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 TikTok 開發者帳號或 API 金鑰嗎?

不需要。TikTok User Published Posts 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 TikTok API 存取權。