oAuthorIdstring必須
Author's unique Xingtu ID.
https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-homepage-videosList a Douyin Creator Marketplace (Xingtu) creator's homepage videos with keyword, video-type, assignment, date, and page filters. Use it to review relevant content before campaign selection.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
This API returns a page of videos from a Douyin creator's homepage as listed in Xingtu. It needs the creator's Xingtu ID in oAuthorId. You can narrow the list by keyword, video type, assignment status and publish date.
keyword to check whether they have covered a brand or product topic.XINGTU videos to see the creator's past platform-assigned work.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-homepage-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"oAuthorId": "6870161898013196295"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
oAuthorId | string | Yes | Author's unique Xingtu ID. |
endDate | string | No | End publish date in yyyyMMdd format. The filter ends at 23:59:59 in Asia/Shanghai. |
keyword | string | No | Keyword used to search creator homepage videos. |
onlyAssign | boolean | No | Whether to include only assigned videos. Xingtu usually shows this option when videoType is XINGTU. |
page | integer | No | Page number, starting from 1. |
startDate | string | No | Start publish date in yyyyMMdd format. The filter starts at 00:00:00 in Asia/Shanghai. |
videoType | string | No | Homepage video type filter. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"items": [
{
"comment_cnt": "91",
"content_theme_labels": [],
"cover_uri": "tos-cn-i-dy/643299bf28474b9e9adc28a863baeba6",
"create_time": "1793113313",
"duration": 12.538,
"finish_rate": 0.135421,
"interact_rate": 0.024438,
"item_id": "7701362991266123034",
"like_cnt": "665436",
"title": "网友拍到高速两旁,挂满一块块不一样的“广告牌”……致敬国之栋梁!(来源:@有名 )",
"url": "https://www.iesdouyin.com/share/video/7701362991266123034/?region=CN&mid=7667641…",
"video_id": "v0d00fg10000dbgbp67og65rp7vvjd00"
}
],
"pagination": {
"has_more": true,
"limit": 20,
"page": 1,
"total_count": 2518
}
}
| Field | Meaning |
|---|---|
items[].item_id / items[].video_id | Identifiers for the video. item_id is the numeric ID that also appears in the share url. |
items[].title | Video caption text, including any hashtags and @mentions. |
items[].create_time | Publish time as a Unix timestamp in seconds, returned as a string. |
items[].duration | Video length. The values look like seconds with decimals. |
items[].watch_cnt / items[].like_cnt / items[].comment_cnt | View, like and comment counts for the video. They come back as strings. |
items[].finish_rate / items[].interact_rate | Completion rate and interaction rate for the video, as decimal fractions. |
items[].url | Share link for the video on Douyin. |
items[].cover_uri | Cover image path for the video. |
items[].content_theme_labels | Content theme labels for the video. The list is empty in this sample. |
pagination.has_more / pagination.total_count | has_more tells you whether another page exists. total_count is the total number of matching videos. |
oAuthorId from Douyin Xingtu Creator Search.page to move through results, starting at 1. Each page returned limit 20 items in this sample.startDate and endDate as yyyyMMdd strings. Check base_resp.status_code, where 0 means success.$0.071429 per successful call. Failed calls are not charged.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-homepage-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page": 1,
"oAuthorId": "6870161898013196295",
"videoType": "ALL",
"onlyAssign": false
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
oAuthorIdstring必須Author's unique Xingtu ID.
pageintegerPage number, starting from 1.
デフォルト: 1
keywordstringKeyword used to search creator homepage videos.
videoTypestringHomepage video type filter.
デフォルト: "ALL"
指定可能な値: ALL, PERSONAL, XINGTU
onlyAssignbooleanWhether to include only assigned videos. Xingtu usually shows this option when `videoType` is `XINGTU`.
デフォルト: false
startDatestringStart publish date in yyyyMMdd format. The filter starts at 00:00:00 in Asia/Shanghai.
endDatestringEnd publish date in yyyyMMdd format. The filter ends at 23:59:59 in Asia/Shanghai.
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
| API | 価格 | レスポンス |
|---|---|---|
Douyin | $0.071429 / 回 | JSON |
Douyin | $0.021429 / 回 | JSON |
Douyin | $0.021429 / 回 | JSON |
Douyin | $0.021429 / 回 | JSON |
Douyin | $0.021429 / 回 | JSON |
Douyin | $0.021429 / 回 | JSON |
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-homepage-videos に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.071429、SandBase 残高から課金されます。課金対象はご利用分のみで、サブスクリプションはありません。
必須: oAuthorId (string)。 任意: page (integer), keyword (string), videoType(ALL, PERSONAL, XINGTU のいずれか), onlyAssign (boolean), startDate (string) と endDate (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。 このページの README にサンプルレスポンスがあります。
いいえ。Douyin Xingtu Creator Homepage Videos は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Douyin の API アクセスを別途申請する必要はありません。