keywordstring
Search keyword, e.g., school name "Peking University" or city "Beijing"
Predefinito: "北京"
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
}
}
]Seleziona un esempio per caricare i suoi input e il risultato nel 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.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
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": "北京"
}'Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
keywordstringSearch keyword, e.g., school name "Peking University" or city "Beijing"
Predefinito: "北京"
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
[
{
"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
}
}
]Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
Douyin School SearchQuesta API Douyin | $0.01 per chiamata | JSON |
Douyin | $0.01 per chiamata | JSON |
Douyin | $0.01 per chiamata | JSON |
Douyin | $0.01 per chiamata | JSON |
Douyin | $0.01 per chiamata | JSON |
Douyin | $0.01 per chiamata | JSON |
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/douyin/search/school-search con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
$0.01 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Nessun parametro richiesto. Facoltativi: keyword (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.
No. Douyin School Search funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Douyin.