Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Douyin Xingtu Live Watch Distribution

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.

價格
$0.021429美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 2 個選填

Playground

輸入
Author's unique ID.
Live audience profile type.
Live room type filter.
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

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.

探索更多

相關 APIs

所有 APIs
API價格回應
Douyin每次呼叫 $0.021429JSON
Douyin每次呼叫 $0.021429JSON
Douyin每次呼叫 $0.021429JSON
Douyin每次呼叫 $0.021429JSON
Douyin每次呼叫 $0.071429JSON
Douyin每次呼叫 $0.021429JSON

指南:Best Douyin API in 2026: Pricing Compared

問題

常見問題

我要如何使用 Douyin Xingtu Live Watch Distribution API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-live-watch-distribution。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Douyin Xingtu Live Watch Distribution API 的費用是多少?

每次 $0.021429,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Douyin Xingtu Live Watch Distribution API 接受哪些參數?

必要:oAuthorId (string)。 選填:liveCrowdType(AUDIENCE, FANS 之一) 和 liveType(ALL, GAME, ECOMMERCE, OTHER 之一)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Douyin Xingtu Live Watch Distribution API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Douyin 開發者帳號或 API 金鑰嗎?

不需要。Douyin Xingtu Live Watch Distribution 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Douyin API 存取權。