oAuthorIdstringобязательно
Author's unique ID.
https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-live-watch-distributionGet Douyin Creator Marketplace (Xingtu) live audience or follower watch-distribution data for a creator and selected live-room type. Use it to assess live audience fit for a campaign.
Ваш результат появится здесь
Заполните входные данные, затем нажмите «Запустить».
Returns watch-distribution breakdowns for a creator's Douyin live streams on Xingtu, such as city, city tier and audience segment. It needs the creator's oAuthorId. You can choose the audience type (liveCrowdType) and the live room type (liveType).
AUDIENCE and once with FANS to see how live viewers differ from followers.ECOMMERCE and GAME live rooms for the same creator to pick the right live format.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-live-watch-distribution" \
-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 ID. |
liveCrowdType | string | No | Live audience profile type. |
liveType | string | No | Live room 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": ""
},
"distributions": [
{
"description": "分布最多的1个城市北京(4%)",
"distribution_list": [
{
"distribution_key": "北京",
"distribution_value": "2203379"
}
],
"image": [
"北京居多"
],
"origin_type": 8,
"type": 256,
"type_display": "城市分布"
}
]
}
| Field | Meaning |
|---|---|
distributions[] | One entry per breakdown type. Each entry holds a summary text and a list of values. |
distributions[].type_display | Name of the breakdown, such as 城市分布 (city distribution), 八大人群分布 (eight-segment audience distribution) or 城市等级分布 (city tier distribution). |
distributions[].description | Short text that names the top group and its share, for example 新锐白领居多,占比20%. |
distributions[].distribution_list[].distribution_key | Label of one group in the breakdown, such as a city name, a city tier or an audience segment. |
distributions[].distribution_list[].distribution_value | Value for that group, returned as a string of digits. Convert it to a number before you sort or add values. |
distributions[].image[] | Short label text for the top group, such as 北京居多. |
distributions[].type / origin_type | Numeric codes for the breakdown type. Use type to match the same breakdown across calls. |
base_resp.status_code / base_resp.status_message | Status of the request. 0 with an empty message appears in this response. |
oAuthorId from Douyin Xingtu Creator Search.liveCrowdType accepts AUDIENCE or FANS. liveType accepts ALL, GAME, ECOMMERCE or OTHER. Both are optional.$0.021429 per successful call. Failed calls are not charged.
Начните разработку
Конечная точка платформенного API с единообразной аутентификацией и учётом использования.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-live-watch-distribution" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"oAuthorId": "6870161898013196295"
}'Укажите свой ключ SandBase API в окружении сервера. Запросы используют аутентификацию Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Храните ключ на сервере. Не раскрывайте его в коде браузера.
oAuthorIdstringобязательноAuthor's unique ID.
liveCrowdTypestringLive audience profile type.
Возможные значения: AUDIENCE, FANS
liveTypestringLive room type filter.
Возможные значения: ALL, GAME, ECOMMERCE, OTHER
Сохранённый пример ответа для этого API; при просмотре живой запрос не выполняется.
Сохранённый ответ не опубликован. Запустите API в Playground, чтобы посмотреть его ответ.
Посмотреть больше
| API | Цена | Ответ |
|---|---|---|
Douyin | $0.021429 за запрос | JSON |
Douyin | $0.021429 за запрос | JSON |
Douyin | $0.021429 за запрос | JSON |
Douyin | $0.021429 за запрос | JSON |
Douyin | $0.071429 за запрос | JSON |
Douyin | $0.021429 за запрос | JSON |
Руководства:Best Douyin API in 2026: Pricing Compared
Вопросы
Отправьте POST-запрос на https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-live-watch-distribution, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.
$0.021429 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.
Обязательные: oAuthorId (string). Необязательные: liveCrowdType (один из AUDIENCE, FANS) и liveType (один из ALL, GAME, ECOMMERCE, OTHER). В таблице Parameters и в Playground на этой странице перечислены все поля.
JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.
Нет. Douyin Xingtu Live Watch Distribution работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Douyin.