o_author_idstringbắt buộc
Creator ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-commerce-spread-infoGet Author Commerce Spread Info on Douyin. Returns the platform data as structured JSON.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
Returns commerce spread metrics for one Douyin creator on Xingtu, such as cost per thousand views (CPM), cost per engagement (CPE) and view counts. It needs the creator ID in o_author_id.
cpm_60 and cpe_60 against other creators before you shortlist them for a campaign.cpm_20_60_rank_percent when you build a pricing benchmark.sn_ values to see how they differ for the same metric.vv for a set of creators to estimate their view volume in commerce content.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-commerce-spread-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"o_author_id": "7112600044674482187"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
o_author_id | string | Yes | Creator ID |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"cpe_20_60": "0.3849",
"cpe_60": "0.4812",
"cpm_20_60": "10.2661",
"cpm_20_60_rank_percent": "0.04531789206117616",
"cpm_60": "12.8326",
"modify_time": "1793675684",
"platform_hot_rate": "1",
"sn_cpe_20_60": "1.5187",
"sn_cpe_60": "1.8984",
"sn_cpm_20_60": "27.0499",
"sn_cpm_60": "33.8124"
}
| Field | Meaning |
|---|---|
cpm_20_60 / cpm_60 | CPM values for the creator. The 20_60 name suggests a 20 to 60 range and 60 suggests a 60 threshold, but the response does not define it. Values are strings. |
cpe_20_60 / cpe_60 | CPE values for the creator, with the same 20_60 and 60 naming as the CPM fields. |
cpm_20_60_rank_percent | Rank value for cpm_20_60, returned as a decimal string between 0 and 1. |
sn_cpm_20_60 / sn_cpm_60 | CPM values with an sn_ prefix. They are higher than the matching cpm_ values in this response. |
sn_cpe_20_60 / sn_cpe_60 | CPE values with an sn_ prefix. They are higher than the matching cpe_ values in this response. |
vv / sn_vv | View counts as numeric strings. sn_vv is lower than vv in this response. |
platform_hot_rate | Hot rate value for the platform, returned as a string. It is 1 in this response. |
modify_time | Unix timestamp in seconds, returned as a string. It most likely marks the last update of this record. |
base_resp.status_code | Status code of the call. 0 means success. |
o_author_id from Douyin Xingtu Creator Search or from Douyin Xingtu Author Base Info.$0.003 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-v2/author-commerce-spread-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"o_author_id": "7112600044674482187"
}'Đặ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.
o_author_idstringbắt buộcCreator ID
Đâ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 | $0.003 mỗi lần gọi | JSON |
Douyin | $0.002 mỗi lần gọi | JSON |
Douyin | $0.002 mỗi lần gọi | JSON |
Douyin | $0.01 mỗi lần gọi | JSON |
Douyin | $0.001 mỗi lần gọi | JSON |
Douyin | $0.002 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-v2/author-commerce-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.003 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: o_author_id (string). 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 Author Commerce 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.