keywordstring
Search keyword, e.g., school name "Peking University" or city "Beijing"
Domyślnie: "北京"
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
}
}
]Wybierz przykład, aby wczytać jego dane wejściowe i wynik do playgroundu.
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.
Zacznij tworzyć
Punkt końcowy API platformy z jednolitym uwierzytelnianiem i śledzeniem użycia.
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": "北京"
}'Ustaw klucz API SandBase w środowisku serwera. Żądania używają uwierzytelniania Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Przechowuj klucz na serwerze. Nie ujawniaj go w kodzie przeglądarkowym.
keywordstringSearch keyword, e.g., school name "Peking University" or city "Beijing"
Domyślnie: "北京"
Zapisany przykładowy response dla tego API; podczas wyświetlania nie jest wykonywane żadne żądanie na żywo.
[
{
"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
}
}
]Odkryj więcej
| API | Cena | Odpowiedź |
|---|---|---|
Douyin School SearchTo API Douyin | $0.01 za wywołanie | JSON |
Douyin | $0.01 za wywołanie | JSON |
Douyin | $0.01 za wywołanie | JSON |
Douyin | $0.01 za wywołanie | JSON |
Douyin | $0.01 za wywołanie | JSON |
Douyin | $0.01 za wywołanie | JSON |
Przewodniki:Best Douyin API in 2026: Pricing Compared
Pytania
Wyślij żądanie POST do https://api.sandbase.ai/v1/api/douyin/search/school-search z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.
$0.01 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.
Nie są wymagane żadne parametry. Opcjonalne: keyword (string). Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.
Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.
Nie. Douyin School Search działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Douyin.