activity_idstringจำเป็น
Activity ID (obtained from activity list interface)
https://api.sandbase.ai/v1/api/douyin/creator/creator-activity-detailReturns detailed information for a specific Douyin creator activity. Queries campaign details using a designated activity identifier.
[
{
"data": {
"activity_description": "点击查看活动主页,发布视频带话题 #超能下蛋鸭,挂载《超能下蛋鸭》抖音小游戏摇杆,即可成功参与活动。",
"activity_info": {
"activity_id": "7545335931785450534",
"activity_level": 3,
"activity_name": "超能下蛋鸭视频激励活动",
"activity_status": 2,
"activity_type": 1,
"challenge": null,
"challenge_ids": [
7507489617000532000
],
"collect_id": 2522,
"collect_status": false,
"cover_image": "https://lf-gaia-dy.douyinstatic.com/obj/gaia-dy/1708322328af3a8a9d54f9ce683d1e1d.jpg",
"game_id": "",
"hot_score": 1125,
"if_well_chosen": false,
"jump_link": "sslocal://microapp?app_id=tt977ee1c308541d59&bdp_log=%7B%22enter_from_merge%22%3A%22game_h5%22%2C%22enter_position%22%3A%22distributor_mp%22%2C%22entrance_form%22%3A%226022%22%2C%22launch_from%22%3A%22game_h5%22%2C%22location%22%3A%22distributor_mp%22%7D&scene=026022&start_page=pages%2Factivity-detail%2Findex%3Factivity_id%3D7366765087961110&version=v2&version_type=current&bdpsum=054b43f",
"jump_type": 2,
"post_url": "",
"query_tag": 302,
"reward_type": 2,
"show_end_time": "2025.10.14",
"show_start_time": "2025.09.02"
},
"demo_videos": null,
"my_publish_videos": null,
"other_publish_videos": null,
"publish_end_time": "2025.10.14",
"publish_start_time": "2025.09.02",
"reward_rules": "{\"text\":\"按投稿贡献排名,奖励详情请点击参与查看。\",\"anchorText\":\"\",\"anchorUri\":\"\"}",
"status_code": 0,
"topics": [
"超能下蛋鸭"
],
"topics_ids": [
"7507489617000532018"
]
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
This API returns the details of one Douyin creator activity, such as its name, status, topic tags, run dates and reward rules. It needs one input, the activity_id of the activity.
publish_start_time and publish_end_time with today's date.curl -X POST "https://api.sandbase.ai/v1/api/douyin/creator/creator-activity-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"activity_id": "7545335931785450534"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
activity_id | string | Yes | Activity ID (obtained from activity list interface) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"activity_description": "点击查看活动主页,发布视频带话题 #超能下蛋鸭,挂载《超能下蛋鸭》抖音小游戏摇杆,即可成功参与活动。",
"activity_info": {
"activity_id": "7545335931785450534",
"activity_level": 3,
"activity_name": "超能下蛋鸭视频激励活动",
"activity_status": 2,
"activity_type": 1,
"challenge": null,
"challenge_ids": [
7507489617000532000
],
"collect_id": 2522,
"collect_status": false,
"cover_image": "https://lf-gaia-dy.douyinstatic.com/obj/gaia-dy/1708322328af3a8a9d54f9ce683d1e1d…",
"game_id": "",
"hot_score": 1125
},
"demo_videos": null,
"my_publish_videos": null,
"other_publish_videos": null,
"publish_end_time": "2025.10.14",
"publish_start_time": "2025.09.02",
"reward_rules": "{\"text\":\"按投稿贡献排名,奖励详情请点击参与查看。\",\"anchorText\":\"\",\"anchorUri\":\"\"}",
"status_code": 0,
"topics": [
"超能下蛋鸭"
],
"topics_ids": [
"7507489617000532018"
]
}
| Field | Meaning |
|---|---|
activity_info.activity_name | Name of the activity. |
activity_info.activity_id | ID of the activity. It matches the activity_id you sent. |
activity_description | Text that explains how to join the activity, including the topic tag and the item to attach to the video. |
activity_info.activity_status / activity_info.activity_type / activity_info.activity_level / activity_info.reward_type | Numeric codes for the status, type, level and reward type of the activity. The response does not include a label for each code. |
publish_start_time / publish_end_time | First and last day of the activity period, in YYYY.MM.DD format. |
activity_info.show_start_time / activity_info.show_end_time | Dates between which the activity is shown, in YYYY.MM.DD format. |
reward_rules | A JSON string. Its text key holds the reward rule in plain text. Parse the string before you read it. |
topics[] / topics_ids[] | Names and IDs of the topics linked to the activity. Both lists are in the same order. |
activity_info.hot_score | Numeric score for the activity's popularity. |
activity_info.cover_image | URL of the activity cover image. |
activity_id from Douyin Activity List.activity_info.challenge_ids[] holds large numbers, while topics_ids[] holds IDs as strings. Treat IDs as strings to avoid rounding.demo_videos, my_publish_videos and other_publish_videos came back as null for this activity.status_code is 0 in the sample response.$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/creator/creator-activity-detail" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"activity_id": "7545335931785450534"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
activity_idstringจำเป็นActivity ID (obtained from activity list interface)
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"activity_description": "点击查看活动主页,发布视频带话题 #超能下蛋鸭,挂载《超能下蛋鸭》抖音小游戏摇杆,即可成功参与活动。",
"activity_info": {
"activity_id": "7545335931785450534",
"activity_level": 3,
"activity_name": "超能下蛋鸭视频激励活动",
"activity_status": 2,
"activity_type": 1,
"challenge": null,
"challenge_ids": [
7507489617000532000
],
"collect_id": 2522,
"collect_status": false,
"cover_image": "https://lf-gaia-dy.douyinstatic.com/obj/gaia-dy/1708322328af3a8a9d54f9ce683d1e1d.jpg",
"game_id": "",
"hot_score": 1125,
"if_well_chosen": false,
"jump_link": "sslocal://microapp?app_id=tt977ee1c308541d59&bdp_log=%7B%22enter_from_merge%22%3A%22game_h5%22%2C%22enter_position%22%3A%22distributor_mp%22%2C%22entrance_form%22%3A%226022%22%2C%22launch_from%22%3A%22game_h5%22%2C%22location%22%3A%22distributor_mp%22%7D&scene=026022&start_page=pages%2Factivity-detail%2Findex%3Factivity_id%3D7366765087961110&version=v2&version_type=current&bdpsum=054b43f",
"jump_type": 2,
"post_url": "",
"query_tag": 302,
"reward_type": 2,
"show_end_time": "2025.10.14",
"show_start_time": "2025.09.02"
},
"demo_videos": null,
"my_publish_videos": null,
"other_publish_videos": null,
"publish_end_time": "2025.10.14",
"publish_start_time": "2025.09.02",
"reward_rules": "{\"text\":\"按投稿贡献排名,奖励详情请点击参与查看。\",\"anchorText\":\"\",\"anchorUri\":\"\"}",
"status_code": 0,
"topics": [
"超能下蛋鸭"
],
"topics_ids": [
"7507489617000532018"
]
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Douyin | $0.001 ต่อการเรียก | JSON |
Douyin | $0.001 ต่อการเรียก | JSON |
Douyin | $0.001 ต่อการเรียก | JSON |
Douyin | $0.001 ต่อการเรียก | JSON |
Douyin | $0.001 ต่อการเรียก | JSON |
Douyin | $0.001 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/douyin/creator/creator-activity-detail โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: activity_id (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Douyin Creator Activity Details ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก