bodystring
User ttwid cookie. Obtain it by calling `/api/v1/douyin/web/generate_ttwid`.
https://api.sandbase.ai/v1/api/douyin/web/query-userReturns basic profile information for a Douyin web user account. The endpoint accepts a ttwid cookie string in the request body to retrieve account details.
[
{
"data": {
"log_pb": {
"impr_id": "20260820174347586C0772EF05BA7CF852"
},
"status_code": 18,
"status_msg": "系统繁忙,请稍后再试"
}
}
]Seleziona un esempio per caricare i suoi input e il risultato nel playground.
Retrieve basic profile information for a Douyin account using web credentials. Supply the user ttwid cookie in the body parameter.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/query-user" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'
| Name | Type | Required | Description |
|---|---|---|---|
body | string | No | User ttwid cookie. |
body, which can be obtained by calling /api/v1/douyin/web/generate_ttwid.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
curl -X POST "https://api.sandbase.ai/v1/api/douyin/web/query-user" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'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.
bodystringUser ttwid cookie. Obtain it by calling `/api/v1/douyin/web/generate_ttwid`.
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
[
{
"data": {
"log_pb": {
"impr_id": "20260820174347586C0772EF05BA7CF852"
},
"status_code": 18,
"status_msg": "系统繁忙,请稍后再试"
}
}
]Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
Douyin Web User InformationQuesta 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.03 per chiamata | JSON |
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/douyin/web/query-user 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.
Nessun parametro richiesto. Facoltativi: body (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona).
No. Douyin Web User Information 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.