keywordstringobbligatorio
Keyword
https://api.sandbase.ai/v1/api/douyin/app-v3/open-app-to-keyword-searchReturns a Douyin short share link that launches the Douyin application directly to search results for a specified query term.
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
Returns a Douyin short share link that opens the Douyin app directly on the search results for a keyword. It needs one input, the keyword to search for.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/app-v3/open-app-to-keyword-search" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "人工智能"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | Yes | Keyword |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"keyword": "人工智能",
"short_url": "https://v.douyin.com/VLzKnPXaPKo/",
"status": "success"
}
| Field | Meaning |
|---|---|
short_url | The Douyin short link. Opening it on a device with the Douyin app launches the search results for the keyword. |
keyword | The search term the link was built for. It echoes the keyword you sent. |
status | Result of the call. The value success means the link was created. |
keyword parameter. Chinese text such as 人工智能 works as shown in the example.short_url value is in the form https://v.douyin.com/<code>/.$0.001 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/app-v3/open-app-to-keyword-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.
keywordstringobbligatorioKeyword
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
Nessuna risposta salvata è stata pubblicata. Esegui l'API in Playground per ispezionarne la risposta.
Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
Douyin Keyword Search Share LinkQuesta API Douyin | $0.001 per chiamata | JSON |
Douyin | $0.001 per chiamata | JSON |
Douyin | $0.001 per chiamata | JSON |
Douyin | $0.001 per chiamata | JSON |
Douyin | $0.001 per chiamata | JSON |
Douyin | $0.001 per chiamata | JSON |
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/douyin/app-v3/open-app-to-keyword-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.001 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Richiesti: 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 Keyword Search Share Link 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.