end_timeintegerจำเป็น
End timestamp
https://api.sandbase.ai/v1/api/douyin/creator/creator-activity-listReturns activity and campaign records for Douyin accounts within a specified timestamp window between start_time and end_time.
[
{
"data": {
"status_code": 0
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns a list of Douyin creator activity and campaign records that fall inside a time window. You send start_time and end_time as integer Unix timestamps in seconds.
hot_score to decide which campaign to join.activity_id values and fetch full details for each activity.curl -X POST "https://api.sandbase.ai/v1/api/douyin/creator/creator-activity-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"end_time": 1759247999, "start_time": 1756656000}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
end_time | integer | Yes | End timestamp |
start_time | integer | Yes | Start timestamp |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"list": [
{
"activity_id": "7555852683250996270",
"activity_level": 3,
"activity_type": 1,
"challenge_ids": [
0
],
"creator_id": 2600,
"crowd_id": "7555781468044364553",
"game_id": "",
"head_image": "https://lf-gaia-zb.douyinstatic.com/obj/gaia-zb/0add5e4217e2b0e0f4550bcfa026073e…",
"highlight_tag": 0,
"hot_score": 100,
"jump_link": "https://webcast.amemv.com/magic/eco/runtime/release/68d678defa986f07272121e4?sho…",
"jump_type": 2
}
],
"status_code": 0
}
| Field | Meaning |
|---|---|
list[] | One activity or campaign record. The list holds every activity found in the time window. |
list[].activity_id | ID of the activity, returned as a string. Use it to look up the activity in the detail API. |
list[].show_name | Display title of the activity, such as a campaign or hashtag name. |
list[].show_start_time / list[].show_end_time | Start and end of the period when the activity is shown, as Unix timestamps in seconds. |
list[].hot_score | Popularity score of the activity. All three sample records show 100. |
list[].head_image | URL of the cover image for the activity. |
list[].jump_link | Link that opens the activity. It can be a web URL, an aweme:// app link, or an empty string. |
list[].challenge_ids[] | IDs of the challenges (hashtags) linked to the activity. The value 0 appears when none is linked. |
list[].activity_type / list[].activity_level / list[].jump_type | Numeric codes that classify the activity and how its link opens. The response gives no labels for these codes. |
status_code | Status of the call. 0 appears in the sample response. |
start_time and end_time are both required. They are integer Unix timestamps in seconds, for example 1756656000 and 1759247999.list[].activity_id to Douyin Creator Activity Details to get more information on one activity.list.tag_start_time and tag_end_time, can be 0 when the activity has no tag period.$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-list" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"end_time": 1,
"start_time": 1
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
end_timeintegerจำเป็นEnd timestamp
start_timeintegerจำเป็นStart timestamp
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"status_code": 0
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Douyin Activity ListAPI นี้ 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-list โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: end_time (integer) และ start_time (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Douyin Activity List ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก