urlstringobbligatorio
User homepage link
https://api.sandbase.ai/v1/api/tiktok/web/user-idResolves a TikTok profile URL to extract and return the corresponding user ID. Input the profile homepage link to retrieve account identifiers.
[
{
"data": "7237863613087990790"
}
]Seleziona un esempio per caricare i suoi input e il risultato nel playground.
Look up a TikTok user identifier from a profile link provided in url.
curl -X POST "https://api.sandbase.ai/v1/api/tiktok/web/user-id" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"url": "https://www.tiktok.com/@tiktok"}'
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | User homepage link |
url.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/tiktok/web/user-id" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"url": "https://static.sandbase.ai/examples/e0e8276f-b86b-4299-81d4-e769cc020a8b/input/c01fe486-11a3-4caf-bf06-2347828e1b40.bin"
}'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.
urlstringobbligatorioUser homepage link
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
[
{
"data": "7237863613087990790"
}
]Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
TikTok User ID from Profile LinkQuesta API TikTok | $0.001 per chiamata | JSON |
TikTok | $0.001 per chiamata | JSON |
TikTok | $0.001 per chiamata | JSON |
TikTok | $0.001 per chiamata | JSON |
TikTok | $0.001 per chiamata | JSON |
TikTok | $0.05 per chiamata | JSON |
Guide:TikTok API pricing: official access vs per-call dataBest TikTok API in 2026: Pricing Compared
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/tiktok/web/user-id 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: url (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. TikTok User ID from Profile 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 TikTok.