oAuthorIdstringobbligatorio
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.
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
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.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
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"
}'Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
oAuthorIdstringobbligatorioAuthor's unique ID.
liveCrowdTypestringLive audience profile type.
Valori possibili: AUDIENCE, FANS
liveTypestringLive room type filter.
Valori possibili: ALL, GAME, ECOMMERCE, OTHER
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
Nessuna risposta salvata è stata pubblicata. Esegui l'API in Playground per ispezionarne la risposta.
Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
Douyin Xingtu Live Watch DistributionQuesta API Douyin | $0.021429 per chiamata | JSON |
Douyin | $0.021429 per chiamata | JSON |
Douyin | $0.021429 per chiamata | JSON |
Douyin | $0.021429 per chiamata | JSON |
Douyin | $0.071429 per chiamata | JSON |
Douyin | $0.021429 per chiamata | JSON |
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-live-watch-distribution con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
$0.021429 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Richiesti: oAuthorId (string). Facoltativi: liveCrowdType (uno tra AUDIENCE, FANS) e liveType (uno tra ALL, GAME, ECOMMERCE, OTHER). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.
No. Douyin Xingtu Live Watch Distribution funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Douyin.