o_author_idstringจำเป็น
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.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก 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.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
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"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
o_author_idstringจำเป็นCreator ID
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Douyin | $0.003 ต่อการเรียก | JSON |
Douyin | $0.002 ต่อการเรียก | JSON |
Douyin | $0.002 ต่อการเรียก | JSON |
Douyin | $0.01 ต่อการเรียก | JSON |
Douyin | $0.001 ต่อการเรียก | JSON |
Douyin | $0.002 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-commerce-spread-info โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.003 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: o_author_id (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Douyin Author Commerce Spread Info ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก