idintegerจำเป็น
Activity ID, from `get_ip_activity_list`
https://api.sandbase.ai/v1/api/douyin/xingtu-v2/ip-activity-detailReturns detailed information for a specific Xingtu IP calendar activity on Douyin. Queries activity data using the unique activity identifier.
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"ip_activity_detail": {
"create_time": "1711963800",
"description": "IDOR_WRITE_TEST",
"hero_image": "",
"id": "1",
"invest_end_time": "1729047854",
"invest_start_time": "1729047854",
"ip_category": 0,
"ip_end_time": "1729047854",
"ip_industry": "",
"ip_start_time": "1729047854",
"name": "���Ի1",
"pr_link": "",
"sponsor": "",
"status": 10
}
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns the detail record for one Xingtu IP calendar activity on Douyin. You send the activity id as an integer. The sample response for id 1224 contains only the base_resp status object.
id returns a detail record before you show it in a marketing dashboard.curl -X POST "https://api.sandbase.ai/v1/api/douyin/xingtu-v2/ip-activity-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"id": 1224}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
id | integer | Yes | Activity ID, from get_ip_activity_list |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"base_resp": {
"status_code": 0,
"status_message": ""
}
}
| Field | Meaning |
|---|---|
base_resp | Status object that wraps the result of the call. |
base_resp.status_code | Numeric result code. It is 0 in the sample response. |
base_resp.status_message | Text message that goes with the status code. It is an empty string in the sample response. |
id value from the Douyin Xingtu IP Activity List API.id is an integer, for example 1224.id 1224 holds no activity fields beyond base_resp, so check base_resp.status_code before you read any other data.$0.001 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/ip-activity-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"id": 1
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
idintegerจำเป็นActivity ID, from `get_ip_activity_list`
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"base_resp": {
"status_code": 0,
"status_message": ""
},
"ip_activity_detail": {
"create_time": "1711963800",
"description": "IDOR_WRITE_TEST",
"hero_image": "",
"id": "1",
"invest_end_time": "1729047854",
"invest_start_time": "1729047854",
"ip_category": 0,
"ip_end_time": "1729047854",
"ip_industry": "",
"ip_start_time": "1729047854",
"name": "���Ի1",
"pr_link": "",
"sponsor": "",
"status": 10
}
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Douyin | $0.001 ต่อการเรียก | 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/ip-activity-detail โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: id (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Douyin Xingtu IP Activity Detail ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก