o_author_idstringจำเป็น
Creator ID
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-cp-infoReturns Douyin Xingtu creator cooperation details for a specified author ID. Query profile and partnership data using creator IDs alongside optional platform channel filters.
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"expect_cpe": {
"cpe_21_60": "124",
"cpe_60": "227"
},
"expect_cpm": {
"cpm_21_60": "5786",
"cpm_60": "10609"
},
"expect_vv": {
"value": 3110548
},
"hot_item": {
"value": 0
}
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns expected performance numbers for one Douyin Xingtu creator: expected cost per engagement (CPE), expected cost per thousand views (CPM), expected video views, and a hot item value. It needs a creator ID in o_author_id.
expect_vv.value.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-cp-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"o_author_id": "7029342444797820939"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
o_author_id | string | Yes | Creator ID |
platform_channel | integer | No | Platform channel, default 1 |
platform_source | integer | No | Platform source, default 1 |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
},
"expect_cpe": {
"cpe_21_60": "100",
"cpe_60": "377"
},
"expect_cpm": {
"cpm_21_60": "1923",
"cpm_60": "7211"
},
"expect_vv": {
"value": 4160093
},
"hot_item": {
"value": 1000
}
}
| Field | Meaning |
|---|---|
expect_cpe.cpe_21_60 / expect_cpe.cpe_60 | Expected cost per engagement (CPE) for two video length groups. The key names suggest cpe_21_60 covers videos of 21 to 60 seconds and cpe_60 covers videos over 60 seconds. Values are strings. |
expect_cpm.cpm_21_60 / expect_cpm.cpm_60 | Expected cost per thousand views (CPM) for the same two video length groups. Values are strings. |
expect_vv.value | Expected video views (VV) for the creator, as a number. |
hot_item.value | A numeric value for the creator's hot item metric. The response does not show what unit it uses. |
base_resp.status_code | Status code of the call. 0 means the call succeeded. |
base_resp.status_message | Status message. It is an empty string when the call succeeds. |
o_author_id. If you only have a Douyin ID, call Douyin XingTu kolId by Douyin ID first to get it.platform_source and platform_channel are optional integers. Both default to 1.$0.004 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-cp-info" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"o_author_id": "6677767167234015243"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
o_author_idstringจำเป็นCreator ID
platform_channelintegerPlatform channel, default 1
platform_sourceintegerPlatform source, default 1
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"expect_cpe": {
"cpe_21_60": "124",
"cpe_60": "227"
},
"expect_cpm": {
"cpm_21_60": "5786",
"cpm_60": "10609"
},
"expect_vv": {
"value": 3110548
},
"hot_item": {
"value": 0
}
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Douyin | $0.004 ต่อการเรียก | JSON |
Douyin | $0.002 ต่อการเรียก | JSON |
Douyin | $0.002 ต่อการเรียก | JSON |
Douyin | $0.01 ต่อการเรียก | JSON |
Douyin | $0.003 ต่อการเรียก | JSON |
Douyin | $0.001 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/douyin/xingtu-v2/author-cp-info โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.004 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: o_author_id (string). ตัวเลือก: platform_channel (integer) และ platform_source (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Douyin Xingtu Author Cooperation Info ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก