Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Douyin Xingtu Live Watch Distribution

Tài liệu 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.

Giá
$0.021429USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 2 tùy chọn

Phòng thử nghiệm

Đầu vào
Author's unique ID.
Live audience profile type.
Live room type filter.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

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

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Douyin$0.021429 mỗi lần gọiJSON
Douyin$0.021429 mỗi lần gọiJSON
Douyin$0.021429 mỗi lần gọiJSON
Douyin$0.021429 mỗi lần gọiJSON
Douyin$0.071429 mỗi lần gọiJSON
Douyin$0.021429 mỗi lần gọiJSON

Hướng dẫn:Best Douyin API in 2026: Pricing Compared

Câu hỏi

FAQ

Làm thế nào để dùng API Douyin Xingtu Live Watch Distribution?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/xingtu-v3/aggregator-author-live-watch-distribution với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Douyin Xingtu Live Watch Distribution có giá bao nhiêu?

$0.021429 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Douyin Xingtu Live Watch Distribution chấp nhận những tham số nào?

Bắt buộc: oAuthorId (string). Tùy chọn: liveCrowdType (một trong số AUDIENCE, FANS) và liveType (một trong số ALL, GAME, ECOMMERCE, OTHER). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Douyin Xingtu Live Watch Distribution trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Douyin không?

Không. Douyin Xingtu Live Watch Distribution chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Douyin.