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

TikTok User Videos (App V3)

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

Returns videos posted on a TikTok user profile. Filter by account identifier, specify sorting order by latest or popular items, and paginate through results.

價格
$0.001美元/次呼叫
方法
POST
回應
JSON
參數
0 個必填 · 6 個選填
每天 100 次免費呼叫每天前 100 次呼叫免費(按組織共用)· 於 UTC 00:00 重設。之後按次收費。

Playground

輸入
Maximum count number
Maximum cursor, used for paging, the first page is 0, the second page is the max_cursor value in the first response.
Region, optional parameter, if not passed, the US region data will be used by default. After passing, the data of the corresponding country and region will be preferred, for example: US, GB, FR, JP, SG, VN, etc.
User sec_user_id, use sec_user_id to get user video data first, if sec_user_id is empty, use unique_id to get user video data.
Sort type, 0-Latest, 1-Hot
User unique_id, optional parameter, if sec_user_id is empty, use unique_id to get user video data, unique_id is also the user's username.
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

TikTok User Videos (App V3) API

Returns a list of videos posted on a TikTok user profile. You pass the account's sec_user_id, or its unique_id (the username), and the API returns each video under aweme_list.

Use cases

  • Build a catalog of a creator's recent posts with their video IDs and post times.
  • Find which collaborators appear on a creator's videos through collab_info.
  • Check which videos carry an AI-generated label with aigc_info.
  • Pull a creator's most popular videos by setting sort_type to 1.

Request

curl -X POST "https://api.sandbase.ai/v1/api/tiktok/app-v3/user-post-videos" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"sec_user_id": "MS4wLjABAAAAv7iSuuXDJGDvJkmH_vz1qkDZYo1apxgzaxdBSeIuPiM", "region": "US"}'

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

Parameters

NameTypeRequiredDescription
countintegerNoMaximum count number
max_cursorintegerNoMaximum cursor, used for paging, the first page is 0, the second page is the max_cursor value in the first response.
regionstringNoRegion, optional parameter, if not passed, the US region data will be used by default. After passing, the data of the corresponding country and region will be preferred, for example: US, GB, FR, JP, SG, VN, etc.
sec_user_idstringNoUser sec_user_id, use sec_user_id to get user video data first, if sec_user_id is empty, use unique_id to get user video data.
sort_typeintegerNoSort type, 0-Latest, 1-Hot
unique_idstringNoUser unique_id, optional parameter, if sec_user_id is empty, use unique_id to get user video data, unique_id is also the user's username.

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": "",
        "allow_offline_music_to_detail_page": false,
        "artists": [],
        "audition_duration": 43,
        "author": "TikTok",
        "author_deleted": false,
        "author_position": null,
        "avatar_medium": {
          "data_size": 0,
          "height": 720,
          "uri": "tos-useast5-avt-0068-tx/ba67b11de451691939223e9d978e613a",
          "url_list": [
            "https://p16-common-sign.tiktokcdn-us.com/tos-useast5-avt-0068-tx/ba67b11de451691…"
          ],
          "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": 107955,
      "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": "7702947070604332319",
      "aweme_type": 0,
      "banners": [
        {
          "key": {
            "component_key": "bottom_banner_search_rs"
          }
        }
      ]
    }
  ],
  "extra": {
    "fatal_item_ids": [],
    "logid": "2026110307440751E2AC0A7755494ACB67",
    "now": 1793691847000
  },
  "has_locate_item": false,
  "has_more": 1,
  "log_pb": {
    "impr_id": "2026110307440751E2AC0A7755494ACB67"
  },
  "max_cursor": 1790367198527,
  "min_cursor": 1793482136132,
  "status_code": 0,
  "status_msg": "",
  "version": "v2"
}

Response fields

FieldMeaning
aweme_list[]One video per item. The list holds the videos on the requested page.
aweme_list[].aweme_idID of the video, as a string.
aweme_list[].create_timeTime the video was posted. The value is a Unix timestamp in seconds.
aweme_list[].content_typeKind of post. The sample value is video.
aweme_list[].author_user_idNumeric ID of the account that posted the video.
aweme_list[].added_sound_music_info.authorName of the author of the sound added to the video.
aweme_list[].collab_info.collaborators[].user_infoProfile data for each collaborator on the video, such as the avatar in avatar_thumb.
aweme_list[].collab_info.collaborators[].collab_statusStatus code of the collaboration. The response does not say what each code means.
aweme_list[].aigc_info.created_by_aiWhether the video is flagged as created by AI. aigc_label_type holds the label type.
aweme_list[].comment_config.emoji_recommend_list[].emojiEmoji suggested for comments on this video, with a score for each.

Notes

  • Send either sec_user_id or unique_id. If both are given, sec_user_id is used first.
  • For the next page, pass the max_cursor value from the previous response. The first page uses 0.
  • Use sort_type 0 for latest videos and 1 for hot videos.
  • To get a sec_user_id from a username, call TikTok User ID by Username.

Pricing

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

探索更多

相關 APIs

所有 APIs
API價格回應
TikTok每次呼叫 $0.001JSON
TikTok每次呼叫 $0.001JSON
TikTok每次呼叫 $0.01JSON
TikTok每次呼叫 $0.001JSON
TikTok每次呼叫 $0.001JSON
TikTok每次呼叫 $0.001JSON

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

問題

常見問題

我要如何使用 TikTok User Videos (App V3) API?

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

TikTok User Videos (App V3) API 的費用是多少?

每次 $0.001。每個組織每個 UTC 日可免費呼叫 100 次,並可在包含此 API 在內的所有符合資格之 SandBase APIs 間共用;超過後,每次呼叫都會從您的 SandBase 餘額中以此價格計費。沒有訂閱方案。

TikTok User Videos (App V3) API 接受哪些參數?

不需要任何參數。 選填:count (integer), max_cursor (integer), region (string), sec_user_id (string), sort_type (integer) 和 unique_id (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

TikTok User Videos (App V3) API 會回傳什麼?

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

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

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