oAuthorIdstringbắt buộc
Author's unique ID.
https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-spread-infoGet Douyin Creator Marketplace (Xingtu) spread metrics for a creator, with channel, period, video-type, assignment, and flow filters. Use it to compare creator spread performance during campaign planning.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
This API returns spread metrics for one creator on Douyin Creator Marketplace (Xingtu), such as median plays, average likes, comments and shares, and interaction rate. It needs the creator's oAuthorId. You can also filter by platform type, time range, video type, assigned-only videos, and flow type.
DAY_30 and DAY_90 results to see whether a creator's spread is steady over time.PERSONAL_VIDEO and XINTU_VIDEO results to see how a creator's own videos differ from Xingtu order videos.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-spread-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"oAuthorId": "6870161898013196295"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
oAuthorId | string | Yes | Author's unique ID. |
flowType | string | No | Flow type filter. |
onlyAssign | boolean | No | Whether to only include assigned videos. |
platform | string | No | Platform type. |
range | string | No | Time range. |
type | string | No | Video type. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"avg_duration": "9700",
"base_resp": {
"status_code": 0,
"status_message": ""
},
"comment_avg": "25722",
"expect_cpe": {},
"expect_cpm": {},
"interact_rate": {
"overtake": 8248,
"value": 248
},
"item_num": "420",
"item_rate": {
"interact_rate": {},
"item_num": {
"label": "",
"value": 420
},
"play_mid": {
"label": "",
"overtake": 9996,
"value": 16933169
}
},
"like_avg": "516411",
"play_mid": "16933169",
"play_over_rate": {
"overtake": 7112,
"value": 2316
},
"play_stability": {}
}
| Field | Meaning |
|---|---|
play_mid | Median play count of the creator's videos in the selected range. It is returned as a string. |
like_avg / comment_avg / share_avg | Average likes, comments and shares per video. Each value is returned as a string. |
item_num | Number of videos counted in the selected range. It is returned as a string. |
avg_duration | Average video duration. The response does not show the unit. |
interact_rate.value | The creator's interaction rate value. |
interact_rate.overtake | Overtake value that goes with the interaction rate. The response does not show how it is scaled. |
play_over_rate.value / play_over_rate.overtake | Play completion style metric and its overtake value. Both are raw numbers, so the scale is not shown. |
item_rate.play_mid.value / item_rate.play_mid.overtake | Median plays and its overtake value, grouped under item_rate. |
item_rate.item_num.value | Video count as a number, grouped under item_rate. |
base_resp.status_code | Status of the call. 0 means the request succeeded. |
oAuthorId is required. Other parameters default to platform SHORT_VIDEO, range DAY_30, type PERSONAL_VIDEO, onlyAssign false, and flowType EXCLUDE.expect_cpe, expect_cpm, play_stability, and sales_expect_cpm. Check for empty objects before reading them.$0.071429 per successful call. Failed calls are not charged.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-author-spread-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"type": "PERSONAL_VIDEO",
"range": "DAY_30",
"flowType": "EXCLUDE",
"platform": "SHORT_VIDEO",
"oAuthorId": "6870161898013196295",
"onlyAssign": false
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
oAuthorIdstringbắt buộcAuthor's unique ID.
platformstringPlatform type.
Mặc định: "SHORT_VIDEO"
Giá trị có thể dùng: SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT, SHORT_DRAMA
rangestringTime range.
Mặc định: "DAY_30"
Giá trị có thể dùng: DAY_30, DAY_90
typestringVideo type.
Mặc định: "PERSONAL_VIDEO"
Giá trị có thể dùng: PERSONAL_VIDEO, XINTU_VIDEO
onlyAssignbooleanWhether to only include assigned videos.
Mặc định: false
flowTypestringFlow type filter.
Mặc định: "EXCLUDE"
Giá trị có thể dùng: EXCLUDE, INCLUDE
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Douyin Xingtu Spread MetricsAPI này Douyin | $0.071429 mỗi lần gọi | JSON |
Douyin | $0.021429 mỗi lần gọi | JSON |
Douyin | $0.021429 mỗi lần gọi | JSON |
Douyin | $0.021429 mỗi lần gọi | JSON |
Douyin | $0.071429 mỗi lần gọi | JSON |
Douyin | $0.021429 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/douyin/xingtu-v3/data-sp-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.
$0.071429 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ý.
Bắt buộc: oAuthorId (string). Tùy chọn: platform (một trong số SHORT_VIDEO, LIVE_STREAMING, PICTURE_TEXT, SHORT_DRAMA), range (một trong số DAY_30, DAY_90), type (một trong số PERSONAL_VIDEO, XINTU_VIDEO), onlyAssign (boolean) và flowType (một trong số EXCLUDE, INCLUDE). Bảng Parameters và Playground trên trang này liệt kê mọi trường.
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.
Không. Douyin Xingtu Spread Metrics 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.