Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

TikTok User Videos (App V3, V2)

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

Returns video data from a TikTok user homepage based on their profile identifier or username, with options for sorting and pagination.

价格
$0.001美元 / 次调用
方法
POST
响应
JSON
参数
0 个必填 · 5 个可选
每天 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.
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, V2) API

Returns a list of videos posted by one TikTok user, each as an aweme_list item. You pass the user's sec_user_id, or a unique_id (the username) if you have no sec_user_id.

Use cases

  • Show a creator's recent posts in an external dashboard.
  • Track which videos a creator posted and when, using each video's create_time.
  • Collect the music used in a creator's videos from added_sound_music_info.
  • Find collaborator accounts on a creator's posts from collab_info.

Request

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

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.
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": {
          "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": null
    }
  ],
  "extra": {
    "fatal_item_ids": [],
    "logid": "2026110307440146EC589CCEE89F85393E",
    "now": 1793691841000
  },
  "has_locate_item": false,
  "has_more": 1,
  "log_pb": {
    "impr_id": "2026110307440146EC589CCEE89F85393E"
  },
  "max_cursor": 1790367198527,
  "min_cursor": 1793482136132,
  "status_code": 0,
  "status_msg": "",
  "version": "v2"
}

Response fields

FieldMeaning
aweme_list[]One video post from the user's homepage. Each item holds the video details, author data, music info and settings.
aweme_list[].aweme_idID of the video, returned as a string.
aweme_list[].create_timeTime the video was posted. The value looks like a Unix timestamp in seconds.
aweme_list[].content_typeType of the post. The sample value is video.
aweme_list[].author_user_idNumeric ID of the user who posted the video.
aweme_list[].added_sound_music_info.authorName of the author of the sound added to the video.
aweme_list[].added_sound_music_info.avatar_medium.url_list[]Image URLs for the sound author's avatar. Each entry is one version of the same image.
aweme_list[].collab_info.collaborators[].user_infoProfile data for each collaborator on the video, including avatar images.
aweme_list[].collab_info.collaborators[].collab_statusStatus code of the collaboration for each collaborator. The response does not explain what each code means.
aweme_list[].aigc_info.created_by_aiShows whether the video is marked as created by AI.

Notes

  • Send sec_user_id when you have it. Use unique_id only when sec_user_id is empty.
  • To get a sec_user_id from a username, call TikTok User ID by Username.
  • For paging, send max_cursor as 0 on the first request. For the next page, send the max_cursor value from the previous response.
  • Use sort_type 0 for the latest videos and 1 for hot videos. Use count to set the page size.

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.001 每次调用JSON
TikTok$0.001 每次调用JSON
TikTok$0.01 每次调用JSON
TikTok$0.001 每次调用JSON
TikTok$0.001 每次调用JSON
TikTok$0.001 每次调用JSON

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

问题

常见问题

如何使用 TikTok User Videos (App V3, V2) API?

向 https://api.sandbase.ai/v1/api/tiktok/app-v3/user-post-videos-v2 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

TikTok User Videos (App V3, V2) API 的价格是多少?

每次调用 $0.001。每个组织在每个 UTC 日可获得 100 次免费调用,适用于包括此接口在内的所有符合条件的 SandBase APIs;超过后,每次调用将按此价格从您的 SandBase 余额中扣费。无需订阅。

TikTok User Videos (App V3, V2) API 接受哪些参数?

无需参数。 可选:count (integer), max_cursor (integer), sec_user_id (string), sort_type (integer) 和 unique_id (string)。 Parameters 表和本页的 Playground 列出了每个字段。

TikTok User Videos (App V3, V2) API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 TikTok 开发者账户或 API key 吗?

不需要。TikTok User Videos (App V3, V2) 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 TikTok API 访问权限。