Sand AISand AI MAGI-2MAGI-2 ya está en SandBase: video en 1080p con audio nativoPruébalo ahora

Douyin Xingtu Live Watch Distribution

Documentación de la API
https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-live-watch-distribution

Get 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.

Precio
$0.021429USD / llamada
Método
POST
Respuesta
JSON
Parámetros
1 obligatorios · 2 opcionales

Entorno de pruebas

Entrada
Author's unique ID.
Live audience profile type.
Live room type filter.
SalidaListo

Su salida aparecerá aquí

Complete las entradas y luego haga clic en Ejecutar.

README de la API

Douyin Xingtu Live Watch Distribution API

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).

Use cases

  • Check which cities and city tiers a creator's live viewers come from before booking a regional campaign.
  • Compare the audience segments of a creator's live viewers with a brand's target customer group.
  • Run the call once with AUDIENCE and once with FANS to see how live viewers differ from followers.
  • Compare ECOMMERCE and GAME live rooms for the same creator to pick the right live format.

Request

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.

Parameters

NameTypeRequiredDescription
oAuthorIdstringYesAuthor's unique ID.
liveCrowdTypestringNoLive audience profile type.
liveTypestringNoLive room type filter.

Example response

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": "城市分布"
    }
  ]
}

Response fields

FieldMeaning
distributions[]One entry per breakdown type. Each entry holds a summary text and a list of values.
distributions[].type_displayName of the breakdown, such as 城市分布 (city distribution), 八大人群分布 (eight-segment audience distribution) or 城市等级分布 (city tier distribution).
distributions[].descriptionShort text that names the top group and its share, for example 新锐白领居多,占比20%.
distributions[].distribution_list[].distribution_keyLabel of one group in the breakdown, such as a city name, a city tier or an audience segment.
distributions[].distribution_list[].distribution_valueValue 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_typeNumeric codes for the breakdown type. Use type to match the same breakdown across calls.
base_resp.status_code / base_resp.status_messageStatus of the request. 0 with an empty message appears in this response.

Notes

Pricing

$0.021429 per successful call. Failed calls are not charged.

Explorar más

APIs relacionadas

Todas las APIs
APIPrecioRespuesta
Douyin$0.021429 por llamadaJSON
Douyin$0.021429 por llamadaJSON
Douyin$0.021429 por llamadaJSON
Douyin$0.021429 por llamadaJSON
Douyin$0.071429 por llamadaJSON
Douyin$0.021429 por llamadaJSON

Guías:Best Douyin API in 2026: Pricing Compared

Preguntas

FAQ

¿Cómo uso la API de Douyin Xingtu Live Watch Distribution?

Envía una solicitud POST a https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-live-watch-distribution con tu clave API de SandBase en el encabezado Authorization (Bearer) y los parámetros como un cuerpo JSON. También puedes probarlo en el Playground de esta página sin escribir código.

¿Cuánto cuesta la API de Douyin Xingtu Live Watch Distribution?

$0.021429 por llamada, facturado desde tu saldo de SandBase. Solo se te cobra por las llamadas que haces; no hay suscripción.

¿Qué parámetros acepta la API de Douyin Xingtu Live Watch Distribution?

Requeridos: oAuthorId (string). Opcionales: liveCrowdType (una de AUDIENCE, FANS) y liveType (una de ALL, GAME, ECOMMERCE, OTHER). La tabla de Parámetros y el Playground de esta página enumeran todos los campos.

¿Qué devuelve la API de Douyin Xingtu Live Watch Distribution?

Una respuesta JSON devuelta en la misma solicitud HTTP (sincrónica). El README de esta página incluye una respuesta de ejemplo.

¿Necesito una cuenta de desarrollador o una clave API de Douyin?

No. Douyin Xingtu Live Watch Distribution funciona a través de SandBase, así que una sola clave API de SandBase cubre este endpoint y todas las demás APIs y modelos del catálogo. No necesitas solicitar acceso a la API de Douyin por separado.