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 Author Spread Info

Tài liệu API
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-spread-info

Retrieves commercial spread and reach capability data for a specific creator. Accepts filtering by time range, video type, flow type, and assignment status.

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

Phòng thử nghiệm

Đầu vào
Creator/author ID
Flow type, default 0
Only assigned videos, default False
Platform channel, default 1
Platform source, default 1
Time range, 2=last 30 days, 3=last 90 days
Video type, 1=personal video
Đầu raVí dụ
Phản hồioutputs · 1.1 KB · 54 dòng
[
  {
    "data": {
      "avg_duration": "20100",
      "base_resp": {
        "status_code": 0,
        "status_message": ""
      },
      "comment_avg": "1825",
      "expect_cpe": {
        "cpe_21_60": "124",
        "cpe_60": "227"
      },
      "expect_cpm": {
        "cpm_21_60": "5786",
        "cpm_60": "10609"
      },
      "interact_rate": {
        "label": "美食",
        "overtake": 6712,
        "value": 392
      },
      "item_num": "7",
      "item_rate": {
        "interact_rate": {},
        "item_num": {
          "label": "",
          "overtake": 6700,
          "value": 7
        },
        "play_mid": {
          "label": "",
          "overtake": 9998,
          "value": 4038696
        }
      },
      "like_avg": "111069",
      "play_mid": "4038696",
      "play_over_rate": {
        "label": "美食",
        "overtake": 3937,
        "value": 526
      },
      "play_stability": {
        "label": "美食"
      },
      "sales_expect_cpm": {
        "cpm_21_60": "7062",
        "cpm_60": "12947"
      },
      "share_avg": "60849"
    }
  }
]

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

Douyin Xingtu Author Spread Info API

Returns commercial spread metrics for one Douyin Xingtu creator, such as median plays, average likes, comments and shares, and expected CPM and CPE. It needs the creator's o_author_id. You can narrow the data by time range, video type, flow type and assigned-only videos.

Use cases

  • Compare the median play count of several creators before picking one for a campaign.
  • Estimate campaign cost from the expected CPM and CPE values for 21 to 60 second and 60 second plus videos.
  • Check how many videos back a creator's spread stats by reading item_num.
  • Screen creators on average likes, comments and shares per video.

Request

curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-spread-info" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"o_author_id": "7589271892177518598"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
o_author_idstringYesCreator/author ID
flow_typeintegerNoFlow type, default 0
only_assignbooleanNoOnly assigned videos, default False
platform_channelintegerNoPlatform channel, default 1
platform_sourceintegerNoPlatform source, default 1
rangeintegerNoTime range, 2=last 30 days, 3=last 90 days
typeintegerNoVideo type, 1=personal video

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "avg_duration": "5800",
  "base_resp": {
    "status_code": 0,
    "status_message": ""
  },
  "comment_avg": "35",
  "expect_cpe": {
    "cpe_21_60": "6153",
    "cpe_60": "7692"
  },
  "expect_cpm": {
    "cpm_21_60": "776699",
    "cpm_60": "970873"
  },
  "interact_rate": {
    "overtake": 1555,
    "value": 50
  },
  "item_num": "5",
  "item_rate": {
    "interact_rate": {},
    "item_num": {
      "label": "",
      "value": 5
    },
    "play_mid": {
      "label": "",
      "overtake": 7588,
      "value": 986
    }
  },
  "like_avg": "61",
  "play_mid": "986",
  "play_over_rate": {
    "overtake": 1701,
    "value": 185
  },
  "play_stability": {}
}

Response fields

FieldMeaning
play_midMedian play count of the creator's videos in the selected window.
like_avg / comment_avg / share_avgAverage likes, comments and shares per video. Values are returned as strings.
avg_durationAverage video duration. The response does not show the unit.
item_numNumber of videos counted in these stats.
expect_cpm.cpm_21_60 / expect_cpm.cpm_60Expected CPM for videos of 21 to 60 seconds and for videos over 60 seconds.
expect_cpe.cpe_21_60 / expect_cpe.cpe_60Expected CPE for the same two video length bands.
sales_expect_cpm.cpm_21_60 / sales_expect_cpm.cpm_60Expected CPM in the sales context for the same two video length bands.
interact_rate.value / interact_rate.overtakeThe creator's interaction rate value and an overtake figure that shows how the creator ranks against others.
play_over_rate.value / play_over_rate.overtakeThe creator's play-over rate value and its overtake ranking figure.
item_rate.play_mid.value / item_rate.play_mid.overtakeMedian plays with its overtake ranking figure, grouped under item_rate.

Notes

  • Only o_author_id is required. Add range (2 for 30 days, 3 for 90 days) to change the time window.
  • Numeric values such as play_mid and like_avg come back as strings, while overtake and value inside rate objects are numbers.
  • play_stability and item_rate.interact_rate can come back as empty objects.
  • For the individual videos behind these stats, call Douyin Author Spread Videos.

Pricing

$0.002 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Douyin$0.002 mỗi lần gọiJSON
Douyin$0.002 mỗi lần gọiJSON
Douyin$0.002 mỗi lần gọiJSON
Douyin$0.01 mỗi lần gọiJSON
Douyin$0.003 mỗi lần gọiJSON
Douyin$0.001 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 Author Spread Info?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-spread-info 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 Author Spread Info có giá bao nhiêu?

$0.002 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 Author Spread Info chấp nhận những tham số nào?

Bắt buộc: o_author_id (string). Tùy chọn: flow_type (integer), only_assign (boolean), platform_channel (integer), platform_source (integer), range (integer) và type (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Douyin Xingtu Author Spread Info 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 Author Spread Info 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.