keywordstring
Search keyword, e.g., school name "Peking University" or city "Beijing"
ค่าเริ่มต้น: "北京"
https://api.sandbase.ai/v1/api/douyin/search/school-searchReturns school information search results from Douyin matching search queries. Filter schools by entering a specific school name or city query via the keyword parameter.
[
{
"data": {
"extra": {
"fatal_item_ids": [],
"logid": "202608201746471BAEC3C62FEFB32425EB",
"now": 1787219207000
},
"log_pb": {
"impr_id": "202608201746471BAEC3C62FEFB32425EB"
},
"schools": [
{
"name": "北京大学"
},
{
"name": "北京八中"
},
{
"name": "北京中学"
},
"… 297 more items in the full response"
],
"status_code": 0
}
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns a list of Douyin schools whose names match a search keyword. The input is a keyword string, such as a school name or a city name.
北京 to build a school picker.curl -X POST "https://api.sandbase.ai/v1/api/douyin/search/school-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | No | Search keyword, e.g., school name "Peking University" or city "Beijing" |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"extra": {
"fatal_item_ids": [],
"logid": "2026110315322051AE9BB2F3DCC44F33AD",
"now": 1793691140000
},
"log_pb": {
"impr_id": "2026110315322051AE9BB2F3DCC44F33AD"
},
"schools": [
{
"name": "北京中学"
}
],
"status_code": 0
}
| Field | Meaning |
|---|---|
schools[] | List of schools that match keyword. |
schools[].name | School name as shown on Douyin, for example 北京大学. |
status_code | Status of the request. 0 in the sample response. |
log_pb.impr_id / extra.logid | Request identifiers. Both hold the same value in the sample response. |
extra.now | Timestamp in the response, a 13-digit number that looks like milliseconds. |
name. It has no school ID, so you cannot pass a result to another API directly.keyword is the only input. The schema shows no pagination parameter.name to Douyin General Search or Douyin Video Search.$0.01 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/search/school-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyword": "北京"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
keywordstringSearch keyword, e.g., school name "Peking University" or city "Beijing"
ค่าเริ่มต้น: "北京"
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"data": {
"extra": {
"fatal_item_ids": [],
"logid": "202608201746471BAEC3C62FEFB32425EB",
"now": 1787219207000
},
"log_pb": {
"impr_id": "202608201746471BAEC3C62FEFB32425EB"
},
"schools": [
{
"name": "北京大学"
},
{
"name": "北京八中"
},
{
"name": "北京中学"
},
"… 297 more items in the full response"
],
"status_code": 0
}
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
Douyin School SearchAPI นี้ Douyin | $0.01 ต่อการเรียก | JSON |
Douyin | $0.01 ต่อการเรียก | JSON |
Douyin | $0.01 ต่อการเรียก | JSON |
Douyin | $0.01 ต่อการเรียก | JSON |
Douyin | $0.01 ต่อการเรียก | JSON |
Douyin | $0.01 ต่อการเรียก | JSON |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/douyin/search/school-search โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.01 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: keyword (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Douyin School Search ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Douyin API แยกต่างหาก