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 Audience Distribution

Tài liệu API
https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-audience-distribution

Get Douyin Creator Marketplace (Xingtu) audience-distribution data for a creator, content channel, and selected relationship stage. Use it to assess audience fit for campaign targeting.

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.
Platform type.
Link 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 Audience Distribution API

Returns Douyin Xingtu audience-distribution data for one creator. It needs the creator's oAuthorId, and you can also pick a content channel with platform and a relationship stage with linkType.

Use cases

  • Check whether a creator's audience leans toward the interests your campaign targets, such as parenting or anime.
  • Compare the city-tier mix of two creators before you pick one for a regional campaign.
  • Match a creator's audience segments, such as small-town middle-aged or urban silver-age users, to your product's buyer profile.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-audience-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.
linkTypestringNoLink type filter.
platformstringNoPlatform type.

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": "分布最多的3个兴趣随拍(61%),亲子(7%),二次元(7%)",
      "distribution_list": [
        {
          "distribution_key": "随拍",
          "distribution_value": "266514601"
        }
      ],
      "image": [
        "随拍,亲子,二次元居多"
      ],
      "origin_type": 6,
      "type": 64,
      "type_display": "兴趣分布"
    }
  ],
  "last_update_time": "1793691173"
}

Response fields

FieldMeaning
distributions[]One audience breakdown per entry. The response shows interest, eight-segment audience and city-tier breakdowns.
distributions[].type_displayName of the breakdown, for example 兴趣分布 (interest) or 城市等级分布 (city tier).
distributions[].descriptionShort text summary of the top groups in this breakdown, with percentages.
distributions[].distribution_list[].distribution_keyLabel of one group in the breakdown, such as an interest or a city tier.
distributions[].distribution_list[].distribution_valueValue for that group, returned as a string of digits. Convert it to a number before you compare groups.
distributions[].image[]Short text label that names the leading group in this breakdown.
distributions[].type / origin_typeNumeric codes that identify the breakdown type.
last_update_timeTimestamp of the data as a string of digits. The value looks like a Unix timestamp in seconds.
base_resp.status_code0 in the sample response. status_message is empty.

Notes

  • Get oAuthorId from Douyin Xingtu Creator Search.
  • platform accepts SHORT_VIDEO (default), LIVE_STREAMING, PICTURE_TEXT and SHORT_DRAMA. linkType accepts CONNECTED (default), AWARE, INTERESTED, LIKE and FOLLOW.
  • For the follower side of the audience, call Douyin Xingtu Follower Distribution.
  • Text values such as distribution_key and description are in Chinese.

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 Audience Distribution?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-audience-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 Audience 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 Audience Distribution chấp nhận những tham số nào?

Bắt buộc: oAuthorId (string). Tùy chọn: platform (một trong số SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT, SHORT_DRAMA) và linkType (một trong số CONNECTED, AWARE, INTERESTED, LIKE, FOLLOW). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Douyin Xingtu Audience 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 Audience 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.