secUidstring必須
The unique user ID (sec_user_id) on Douyin.
https://api.sandbase.ai/v1/api/douyin/user-video-listGet videos published by a Douyin (TikTok China) user, with cursor pagination and newest or most-popular sorting. Use it to browse or monitor a creator's public video output.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
Returns a page of videos published by one Douyin user, including the caption, hashtags, author info and creation time of each video. It needs the user's secUid and can sort by newest or most popular.
LATEST sort.MOST_POPULAR to see which content worked best.aweme_id values to pass to a video detail or statistics API.curl -X POST "https://api.sandbase.ai/v1/api/douyin/user-video-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"secUid": "MS4wLjABAAAAanuWoPEMHem_eaWR8RQFyLQ8_QiouZlPlb7KAe9GS24"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
secUid | string | Yes | The unique user ID (sec_user_id) on Douyin. |
maxCursor | string | No | Pagination cursor; use 0 for the first page, and the max_cursor from the previous response for subsequent pages. |
sortType | string | No | Sort order: LATEST for newest first (default), or MOST_POPULAR for most popular first. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"aweme_list": [
{
"activity_video_type": 0,
"admire_auth": {
"admire_button": 1,
"author_can_admire": 0,
"exit_admire_in_aweme_post": 0,
"is_admire": 0,
"is_click_admire_icon_recently": 0,
"is_fifty_admire_author_stable_fans": 0,
"is_iron_fans_in_aweme_post": 0,
"is_show_admire_button": 0
},
"anchors": null,
"authentication_token": "MS4wLjAA…",
"author": {
"account_cert_info": "{}",
"allow_story_normal_like": true,
"authority_status": 0,
"avatar_168x168": {
"height": 720,
"uri": "168x168/aweme-avatar/tos-cn-avt-0015_1fcfb510bbde4beed96d16e8aca2a0bd",
"url_list": [
"https://p3.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_1fcfb510bbde4beed96d16…"
],
"width": 720
},
"avatar_300x300": {
"height": 720,
"uri": "300x300/aweme-avatar/tos-cn-avt-0015_1fcfb510bbde4beed96d16e8aca2a0bd",
"url_list": [
"https://p3.douyinpic.com/img/aweme-avatar/tos-cn-avt-0015_1fcfb510bbde4beed96d16…"
],
"width": 720
},
"avatar_larger": {
"height": 720,
"uri": "1080x1080/aweme-avatar/tos-cn-avt-0015_1fcfb510bbde4beed96d16e8aca2a0bd",
"url_list": [
"https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_1fcfb510bb…"
],
"width": 720
},
"avatar_medium": {
"height": 720,
"uri": "720x720/aweme-avatar/tos-cn-avt-0015_1fcfb510bbde4beed96d16e8aca2a0bd",
"url_list": [
"https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_1fcfb510bbde…"
],
"width": 720
},
"avatar_thumb": {
"height": 720,
"uri": "100x100/aweme-avatar/tos-cn-avt-0015_1fcfb510bbde4beed96d16e8aca2a0bd",
"url_list": [
"https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_1fcfb510bbde…"
],
"width": 720
}
},
"author_mask_tag": 0,
"author_user_id": 60065294161,
"aweme_acl": {
"download_mask_panel": {
"code": 1,
"show_type": 0
}
},
"aweme_control": {
"can_comment": true,
"can_forward": true,
"can_share": true,
"can_show_comment": true
},
"aweme_id": "6993909291686104350",
"aweme_listen_struct": {
"listen_diversion": {
"extra": [
{
"key": "new_guide_prefix",
"val": "下载汽水"
}
],
"popup_scene": 4,
"side_desc": "听更多精彩内容",
"sub_title_type": "relation"
},
"trace_info": "{\"copyright_not_speech\":\"true\",\"copyright_reason\":\"label_risk_music_or_speech\",\"…"
},
"aweme_type": 68
}
],
"extra": {
"fatal_item_ids": [],
"logid": "20261103153222349B77C71B05BAD0534C",
"now": 1793691143000
},
"has_more": 1,
"log_pb": {
"impr_id": "20261103153222349B77C71B05BAD0534C"
},
"max_cursor": 1792554922000,
"min_cursor": 1793600601000,
"post_serial": 2,
"replace_series_cover": 1,
"request_item_cursor": 0,
"sec_uid": "MS4wLjABAAAAanuWoPEMHem_eaWR8RQFyLQ8_QiouZlPlb7KAe9GS24",
"status_code": 0,
"status_msg": ""
}
| Field | Meaning |
|---|---|
aweme_list[] | One published video per item. Each item is the full video record. |
aweme_list[].aweme_id | ID of the video, as a string. Use it to look up the same video in other APIs. |
aweme_list[].desc | Caption text of the video, including inline hashtags such as #家常菜. |
aweme_list[].create_time | Publish time of the video as a Unix timestamp in seconds. |
aweme_list[].cha_list[].cha_name / aweme_list[].cha_list[].cid | Name and ID of each hashtag (challenge) attached to the video. |
aweme_list[].author_user_id | Numeric ID of the account that published the video. |
aweme_list[].author.avatar_larger.url_list | Image URLs for the author's avatar, offered in several sizes and formats such as .heic and .jpeg. |
aweme_list[].city | City code of the video, for example 371300. |
aweme_list[].aweme_control.can_comment / aweme_list[].aweme_control.can_share | Flags that show whether comments and sharing are allowed on the video. |
aweme_list[].commerce_info.is_ad | true if the video is marked as an ad. |
secUid (the sec_user_id) from a Douyin user profile. The Douyin User Profile (App V3) API is a place to look it up.maxCursor as 0 for the first page. For later pages, pass the max_cursor value from the previous response.sortType accepts LATEST (default) or MOST_POPULAR.aweme_id values to Douyin Video Statistics.$0.014286 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
curl -X POST "https://api.sandbase.ai/v1/api/douyin/user-video-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"secUid": "MS4wLjABAAAAanuWoPEMHem_eaWR8RQFyLQ8_QiouZlPlb7KAe9GS24",
"sortType": "LATEST",
"maxCursor": "0"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
secUidstring必須The unique user ID (sec_user_id) on Douyin.
maxCursorstringPagination cursor; use 0 for the first page, and the `max_cursor` from the previous response for subsequent pages.
デフォルト: "0"
sortTypestringSort order: `LATEST` for newest first (default), or `MOST_POPULAR` for most popular first.
デフォルト: "LATEST"
指定可能な値: LATEST, MOST_POPULAR
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
| API | 価格 | レスポンス |
|---|---|---|
Douyin | $0.014286 / 回 | JSON |
Douyin | $0.001 / 回 | JSON |
Douyin | $0.001 / 回 | JSON |
Douyin | $0.001 / 回 | JSON |
Douyin | $0.001 / 回 | JSON |
Douyin | $0.001 / 回 | JSON |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/douyin/user-video-list に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.014286、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: secUid (string)。 任意: maxCursor (string) と sortType(LATEST, MOST_POPULAR のいずれか)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Douyin User Published Videos は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。