o_author_idstringwymagane
Creator ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-spread-videosGet Author Spread Videos on Douyin. Returns the platform data as structured JSON.
Twój wynik pojawi się tutaj
Uzupełnij dane wejściowe, a następnie kliknij Uruchom.
Returns a list of a Douyin creator's spread videos, with title, duration, publish time and engagement stats for each video. It needs the creator ID in o_author_id. platform_source and platform_channel both default to 1 (Douyin, short video).
interact_rate to find the content that drew the most engagement.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-spread-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"o_author_id": "7112600044674482187", "platform_source": 1, "platform_channel": 1}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
o_author_id | string | Yes | Creator ID |
platform_channel | integer | No | Platform channel, 1 for short video |
platform_source | integer | No | Platform source, 1 for Douyin |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"spread_videos": [
{
"author_id": "78050876812",
"cover_uri": "tos-cn-i-0813c001/oYABexOFAf75I3BBLPADUIQGUAnG1ApEsve2jt",
"create_time": "1735039831",
"duration": 272.044,
"id": "7451907165419359488",
"stats": {
"avg_watch_dura": "0",
"comment_cnt": "22784",
"favorite_cnt": "55867",
"interact_rate": 0.0319,
"like_cnt": "567682",
"share_cnt": "378214",
"watch_cnt": "30308258"
},
"title": "头皮发麻#美妆 #好物分享 #化妆日常",
"url": "https://www.iesdouyin.com/share/video/7451907165419359488/?region=CN&mid=7451907…",
"video_id": "v0300fg10000ctl7nkfog65pgevhdio0"
}
]
}
| Field | Meaning |
|---|---|
spread_videos[].id | ID of the video. |
spread_videos[].video_id | Second video identifier, a string that starts with v0300. |
spread_videos[].title | Video caption, including its hashtags. |
spread_videos[].create_time | Publish time as a Unix timestamp in seconds, returned as a string. |
spread_videos[].duration | Length of the video. The values (for example 272.044) look like seconds. |
spread_videos[].stats.watch_cnt | Number of views the video has. |
spread_videos[].stats.like_cnt / spread_videos[].stats.comment_cnt / spread_videos[].stats.share_cnt / spread_videos[].stats.favorite_cnt | Counts of likes, comments, shares and favorites. They come back as strings. |
spread_videos[].stats.interact_rate | Interaction rate of the video as a decimal number, for example 0.0319. |
spread_videos[].url | Share link to the video on Douyin. |
spread_videos[].author_id | ID of the author the video belongs to. |
o_author_id is the creator ID used by Xingtu. If you only have a Douyin ID, look it up with Douyin XingTu kolId by Douyin ID.author_id inside each video (for example 78050876812) differs from the o_author_id you send in the request.avg_watch_dura was "0" for every video in this response, so do not rely on it.$0.002 per successful call. Failed calls are not charged.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-spread-videos" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"o_author_id": "7112600044674482187",
"platform_source": 1,
"platform_channel": 1
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
o_author_idstringwymaganeCreator ID
platform_sourceintegerPlatform source, 1 for Douyin
Domyślnie: 1
platform_channelintegerPlatform channel, 1 for short video
Domyślnie: 1
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
Nie opublikowano zapisanego response. Uruchom API w Playground, aby sprawdzić jego odpowiedź.
Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Douyin | $0.002 za wywołanie | JSON |
Douyin | $0.002 za wywołanie | JSON |
Douyin | $0.002 za wywołanie | JSON |
Douyin | $0.01 za wywołanie | JSON |
Douyin | $0.003 za wywołanie | JSON |
Douyin | $0.001 za wywołanie | JSON |
Przewodniki:Best Douyin API in 2026: Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-spread-videos z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.002 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Wymagane: o_author_id (string). Opcjonalne: platform_source (integer) i platform_channel (integer). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. Douyin Author Spread Videos działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Douyin.