o_author_idstringzorunlu
Creator ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-video-distributionGet Author Video Distribution on Douyin. Returns the platform data as structured JSON.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
This API returns the content category breakdown of one Douyin creator's short videos, as listed on Xingtu. It needs the creator ID in o_author_id. Each row shows a category name, a video count, and that category's share of the total.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-video-distribution" \
-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": ""
},
"video_content_distribution": [
{
"cnt": 4,
"id": "0",
"name": "生活家居",
"proportion": 0.6667
}
]
}
| Field | Meaning |
|---|---|
video_content_distribution[] | One entry per content category found in the creator's videos. The list is sorted from the largest share to the smallest in the sample. |
video_content_distribution[].name | Category name in Chinese, for example 生活家居 (home and living) or 时尚 (fashion). |
video_content_distribution[].cnt | Number of the creator's videos counted in this category. |
video_content_distribution[].proportion | Share of the counted videos that fall in this category, as a decimal. For example 0.6667 means about two thirds. |
video_content_distribution[].id | Category ID. It is "0" for every row in this response, so use name to tell categories apart. |
base_resp.status_code / base_resp.status_message | Status of the request. 0 with an empty message means it succeeded. |
proportion values add up to about 1, and the cnt values add up to the number of videos counted.platform_source at 1 for Douyin and platform_channel at 1 for short video.$0.002 per successful call. Failed calls are not charged.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-video-distribution" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"o_author_id": "7112600044674482187",
"platform_source": 1,
"platform_channel": 1
}'SandBase API anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
o_author_idstringzorunluCreator ID
platform_sourceintegerPlatform source, 1 for Douyin
Varsayılan: 1
platform_channelintegerPlatform channel, 1 for short video
Varsayılan: 1
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
Douyin | $0.002 çağrı başına | JSON |
Douyin | $0.002 çağrı başına | JSON |
Douyin | $0.002 çağrı başına | JSON |
Douyin | $0.01 çağrı başına | JSON |
Douyin | $0.003 çağrı başına | JSON |
Douyin | $0.001 çağrı başına | JSON |
Kılavuzlar:Best Douyin API in 2026: Pricing Compared
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-video-distribution adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.002, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli: o_author_id (string). İsteğe bağlı: platform_source (integer) ve platform_channel (integer). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.
Hayır. Douyin Author Video Distribution, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Douyin API erişimi için ayrıca başvuru yapmanız gerekmez.