category_idintegerจำเป็น
Category ID (for more category IDs, please refer to the content creation category interface)
https://api.sandbase.ai/v1/api/douyin/creator/creator-content-courseReturns content development courses from the Douyin creator platform for a specified category. Results can be sorted by recommendation, popularity, or upload date.
[
{
"data": {
"category_name": "",
"course_list": [],
"offset": 24,
"selected_topic_categories": null,
"status_code": 0,
"total": 0
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns a page of content creation courses from the Douyin creator platform for one category. The only required input is category_id. You can sort the list and page through it with order, limit and offset.
collected_count to find the tutorials creators save most.order set to 3 to track new course releases.curl -X POST "https://api.sandbase.ai/v1/api/douyin/creator/creator-content-course" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"category_id": 180}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
category_id | integer | Yes | Category ID (for more category IDs, please refer to the content creation category interface) |
limit | integer | No | Items per page (recommended 24, range 1-100) |
offset | integer | No | Offset (starting position) |
order | integer | No | Order type (1=recommended order, 2=most popular, 3=latest upload) |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"category_name": "",
"course_list": [
{
"collected_count": 8669,
"hot_order": 0,
"id": "7034444962406075679",
"is_collected": false,
"item": {
"Cover": {
"height": 960,
"uri": "tos-cn-i-dy/913a59dbc568443ead25ffa95e2c8cc6",
"url_list": [
"https://p26-sign.douyinpic.com/tos-cn-i-dy/913a59dbc568443ead25ffa95e2c8cc6~tplv…"
],
"width": 540
},
"author": {
"avatar_larger": {
"uri": "1080x1080/aweme-avatar/tos-cn-avt-0015_3beaaeb52d39e341205653ab779a6e5b",
"url_list": [
"https://p3.douyinpic.com/aweme/1080x1080/aweme-avatar/tos-cn-avt-0015_3beaaeb52d…"
]
},
"avatar_medium": {
"uri": "720x720/aweme-avatar/tos-cn-avt-0015_3beaaeb52d39e341205653ab779a6e5b",
"url_list": [
"https://p3.douyinpic.com/aweme/720x720/aweme-avatar/tos-cn-avt-0015_3beaaeb52d39…"
]
},
"avatar_thumb": {
"uri": "100x100/aweme-avatar/tos-cn-avt-0015_3beaaeb52d39e341205653ab779a6e5b",
"url_list": [
"https://p3.douyinpic.com/aweme/100x100/aweme-avatar/tos-cn-avt-0015_3beaaeb52d39…"
]
},
"birthday": "***",
"card_entries": null,
"followers_detail": null,
"geofencing": null,
"mix_info": null
},
"author_user_id": 92769419069,
"aweme_id": "7034444962406075679",
"aweme_type": 4,
"caption": "",
"category": 0,
"cha_list": [
{
"cha_name": "抖音创作者学习中心",
"cid": "1701253626367048",
"connect_music": null,
"cover_item": {
"uri": "douyin-admin-obj/9fcacc744a1287879b360c63a44a7792",
"url_list": [
"https://p26-sign.douyinpic.com/douyin-admin-obj/9fcacc744a1287879b360c63a44a7792…"
]
},
"desc": "",
"hash_tag_profile": "douyin-admin-obj/9fcacc744a1287879b360c63a44a7792",
"is_commerce": false,
"type": 2
}
]
},
"name": "抖音玩法之发光文字卡点教程#抖音创作者学习中心 #剪映模板 @吴莱",
"offset": 0,
"rank": 1
}
],
"has_more": 1,
"offset": 24,
"selected_topic_categories": null,
"status_code": 0,
"total": 319
}
| Field | Meaning |
|---|---|
course_list[].id / course_list[].item.aweme_id | ID of the course video. In the sample response both values are the same string. |
course_list[].name | Course title. |
course_list[].collected_count | Number of times users saved the course. is_collected shows whether the current account saved it. |
course_list[].rank / course_list[].hot_order | Position values for the course in the list. hot_order is 0 or 1 in the sample. |
course_list[].item.caption | Caption text of the course video. It can be empty. |
course_list[].item.Cover.url_list | Cover image URLs for the course video, with width and height of the image. |
course_list[].item.author_user_id | Numeric ID of the account that published the course. |
course_list[].item.cha_list[].cha_name | Name of a hashtag attached to the course, such as a learning center tag. |
has_more | Shows 1 when more results remain after this page. |
total | Total number of courses in the category. The sample shows 319. |
category_id values from Douyin Content Categories.offset value returned in the response. The sample returned 24. Keep going while has_more is 1.order accepts 1 (recommended), 2 (most popular) or 3 (latest upload). limit accepts 1 to 100.x-expires value in the query string, so fetch them soon after you call the API. For trending courses, see Douyin Creator Hot Courses.$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-content-course" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"category_id": 1
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
category_idintegerจำเป็นCategory ID (for more category IDs, please refer to the content creation category interface)
limitintegerItems per page (recommended 24, range 1-100)
offsetintegerOffset (starting position)
orderintegerOrder type (1=recommended order, 2=most popular, 3=latest upload)
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"category_name": "",
"course_list": [],
"offset": 24,
"selected_topic_categories": null,
"status_code": 0,
"total": 0
}
}
]สำรวจเพิ่มเติม
| 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-content-course โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.001 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ที่ต้องระบุ: category_id (integer). ตัวเลือก: limit (integer), offset (integer) และ order (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Douyin Creator Content Courses ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก