API di TikTok

TikTok Video API

Dettaglio completo di un singolo video TikTok tramite URL: didascalia, regione e dati di coinvolgimento (visualizzazioni, mi piace, commenti, condivisioni, salvataggi).

0,40 USD/1k richieste, paghi a richiesta, nessun abbonamento.

Matchday 🔥 | TikTok
tiktok.com/@cristiano/video/7375000000000000000
1.2M18.4K41.2K64K

@cristiano

Follow

Matchday 🔥

Add comment...
Cosa ha restituito l'API
{
"id": "7375000000000000000",
"caption": "Matchday 🔥",
"region": "US",
"views": 9400000,
"likes": 1200000,
"comments": 18400,
"shares": 64000,
"saves": 41200,
... 16 campi in più
}
Disponibilità
100,00%
30d · 112.390 chiamate
Richieste
115.077
30 g · settimanale, ultime 12 sett.
Risposta
1,7s
mediana · 30d

Prezzi e provider

Prezzi dell'API TikTok Video: una sola API, 6 provider intercambiabili

Serve per primo il provider più economico. Se fallisce, subentra il successivo nella stessa chiamata.

Paghi
4,00 USD
0,40 USD/1k richieste, solo per ciò che usi. Nessun piano mensile.
Le tue prime 250 richieste sono gratuite con il saldo iniziale di 0,10 USD.

Provalo

Ottieni TikTok Video in una sola richiesta

requireFieldsarray
Facoltativo; se lo ometti l'instradamento resta invariato, e serve la fonte più economica. Indica i campi di output che questa richiesta deve poter restituire, per esempio `views`, e verrà servita solo da una fonte che li restituisce tutti. I campi che non indichi vengono comunque restituiti ogni volta che la fonte che serve li ha. Può far salire il prezzo: quando la fonte più economica non può restituire un campo indicato, serve una fonte più cara, e ti viene quotato e addebitato il suo prezzo. Un campo indicato può comunque mancare su un video che davvero non lo ha. Indicare una combinazione che nessuna singola fonte restituisce insieme viene rifiutato come input non valido, senza addebito. Una fonte che restituisce solo un valore arrotondato o abbreviato per un campo non conta come se lo restituisse.
Apri in
Risposta di esempio
Le esecuzioni gratuite restituiscono solo i primi 3 risultati. Ricarica una chiave per ottenere la risposta completa.

Questo esempio mostra 10 campi su 27. Vedi tutti i campi

{
  "found": true,
  "data": {
    "id": "7375000000000000000",
    "caption": "Matchday 🔥",
    "region": "US",
    "views": 9400000,
    "likes": 1200000,
    "comments": 18400,
    "shares": 64000,
    "saves": 41200
  }
}

Riferimento completo di parametri e risposta - ogni campo, tipo ed esempio per questo endpoint.

Riferimento

Una richiesta, una sola forma di risposta.

Ogni campo che invii e ogni campo che ricevi, ciascuno con un esempio reale.

Ultima verifica 2026-11-21 · disponibilità e latenza misurate su 30d

Corpo della richiesta

JSON, inviato a questo endpoint.

  • idstring

    ID del video TikTok, la sequenza numerica alla fine dell'URL di un video. Usalo quando uno SKU di elenco ti ha dato un id e nessun URL.

  • requireFieldsarray

    Facoltativo; se lo ometti l'instradamento resta invariato, e serve la fonte più economica. Indica i campi di output che questa richiesta deve poter restituire, per esempio `views`, e verrà servita solo da una fonte che li restituisce tutti. I campi che non indichi vengono comunque restituiti ogni volta che la fonte che serve li ha. Può far salire il prezzo: quando la fonte più economica non può restituire un campo indicato, serve una fonte più cara, e ti viene quotato e addebitato il suo prezzo. Un campo indicato può comunque mancare su un video che davvero non lo ha. Indicare una combinazione che nessuna singola fonte restituisce insieme viene rifiutato come input non valido, senza addebito. Una fonte che restituisce solo un valore arrotondato o abbreviato per un campo non conta come se lo restituisse.

  • urlstring

    https://www.tiktok.com/@cristiano/video/7375000000000000000

    URL completo del video TikTok.

Tu invii. Un piccolo corpo JSON. I valori mostrati sono esempi da sostituire con i tuoi.

Risposta

JSON, un valore di esempio per campo.

datadata
  • authorFollowersintegerpuò richiedere

    The author's follower count at the time of the request. Some sources round large counts; name `authorFollowers` in requireFields to be served only by a source that returns the exact count. Null when the serving source does not report it.

  • authorHandlestring

    Author's TikTok handle, without the leading @.

  • authorImagestring

    Author's avatar image URL. Signed and short-lived, so the query string is load-bearing and kept intact.

  • authorNamestring

    Author's display name.

  • authorUserIdstring

    Author's numeric TikTok user id.

  • authorVerifiedbooleanpuò richiedere

    Whether the author's account carries a TikTok verification badge. Null when the serving source does not report it.

  • captionstring

    Matchday 🔥

    Populated whenever the provider has data for the entity.

  • commentsintegerpuò richiedere

    18400

    Number of comments. Some sources round large counts (48.5K instead of 48,536); name `comments` in requireFields to be served only by a source that returns the exact count.

  • createdUtcnumber

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • durationSecondsnumber

    Video duration in seconds.

  • hashtagsstring[]

    Hashtags carried in the caption, without the leading #. Empty when the post uses none; @-mentions are excluded.

  • idstring

    7375000000000000000

    Populated whenever the provider has data for the entity.

  • imagestring

    URL of the video's cover/thumbnail image. A signed, short-lived TikTok CDN URL (typically expires within about a day; query params are load-bearing and kept intact), often served as HEIC rather than JPEG, so fetch it promptly and transcode if you need broad browser support. Absent when the upstream provides no cover.

  • likesintegerpuò richiedere

    1200000

    Number of likes. Some sources round large counts (2.9M instead of 2,884,604); name `likes` in requireFields to be served only by a source that returns the exact count.

  • regionstring

    US

  • savesinteger

    41200

  • sdVideoUrlstringpuò richiedere

    Standard-resolution H.264 video URL without the watermark (often 720p), playable in every browser; the same file as videoUrl when the source has no higher-resolution file. Signed and short-lived, so the query string is load-bearing and kept intact.

  • sharesintegerpuò richiedere

    64000

    Number of shares. Some sources round large counts (35.9K instead of 35,923); name `shares` in requireFields to be served only by a source that returns the exact count.

  • soundAuthorstring

    Credited author of the sound. Populated whenever the provider has data for the entity.

  • soundClipIdstring

    Id of the sound the video uses. Pass it to tiktok.song or tiktok.song_videos as clipId. Populated whenever the provider has data for the entity.

  • soundTitlestring

    Name of the sound. "original sound" means the creator's own audio rather than a licensed track. Populated whenever the provider has data for the entity.

  • urlstring

    Canonical TikTok URL of the video.

  • videoUrlstringpuò richiedere

    Playable video URL without the watermark, at the highest resolution the source has: often 1080p and often encoded as H.265 (HEVC), which some browsers such as Firefox cannot play; use sdVideoUrl for those. Signed and short-lived, so the query string is load-bearing and kept intact.

  • viewsintegerpuò richiedere

    9400000

    Number of plays. Some sources round large counts (32.7M instead of 32,736,400); name `views` in requireFields to be served only by a source that returns the exact count.

top level
  • foundboolean

    true

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

Tu ricevi. Campi con nome e tipo nella stessa struttura, qualunque fonte risponda.

Vendi questa API? Consulta lo schema completo che il tuo endpoint deve restituire.

FAQ

Sull'API TikTok Video

L'API TikTok Video di AnyAPI restituisce dati TikTok come JSON normalizzato da una sola chiamata POST a /v1/run/tiktok.video. Dettaglio completo di un singolo video TikTok tramite URL: didascalia, regione e dati di coinvolgimento (visualizzazioni, mi piace, commenti, condivisioni, salvataggi). AnyAPI instrada ogni richiesta su 6 fonti e passa automaticamente a un'altra quando una fallisce. Costa da 0,40 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 100,0% delle chiamate TikTok Video tramite AnyAPI è riuscito, con un tempo di risposta mediano di 1,7 secondi su 112.390 chiamate misurate.

Costa da 0,40 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Ricarichi un portafoglio in USD e ogni chiamata lo scala. Alcune richieste fallite finanziate dal portafoglio comportano costi di elaborazione che trasferiamo al costo, senza ricarico; la risposta di errore mostra l'importo addebitato.

Dettaglio completo di un singolo video TikTok tramite URL: didascalia, regione e dati di coinvolgimento (visualizzazioni, mi piace, commenti, condivisioni, salvataggi). La risposta è JSON normalizzato con la stessa busta che restituisce ogni endpoint AnyAPI, quindi analizzare un secondo endpoint significa cambiare l'URL e nient'altro.

Negli ultimi 30 giorni, il 100,0% delle chiamate TikTok Video tramite AnyAPI è riuscito, con un tempo di risposta mediano di 1,7 secondi su 112.390 chiamate misurate. Sono misurazioni di AnyAPI sul traffico che passa dal gateway, ricalcolate di continuo, non un obiettivo di livello di servizio pubblicato.

Sì. Un nuovo account AnyAPI parte con 0,10 USD di saldo gratuito e senza bisogno di carta, che copre 250 chiamate TikTok Video a 0,0004 USD ciascuna.

AnyAPI interroga la successiva delle sue 6 fonti nella stessa richiesta, partendo dalla più economica, quindi una fonte che cade non fa fallire la tua chiamata.

Invia una richiesta POST a https://api.getanyapi.com/v1/run/tiktok.video con la tua chiave AnyAPI in un header "Authorization: Bearer" e l'input come corpo JSON. La stessa chiave e lo stesso portafoglio funzionano su ogni endpoint AnyAPI.

No. Aggiungi dollari statunitensi a un unico saldo prepagato AnyAPI e ogni richiesta lo scala. Non c'è un piano mensile né un minimo, e lo stesso saldo paga ogni endpoint AnyAPI.

Sì. Installa @getanyapi/sdk da npm per TypeScript o getanyapi da pip per Python. Entrambi chiamano ogni endpoint AnyAPI con la stessa chiave, e funziona anche qualsiasi client HTTP.

Sì. Un agente può collegarsi al server MCP di AnyAPI su https://api.getanyapi.com/mcp, oppure creare da solo la propria chiave di prova gratuita con un POST non autenticato a https://api.getanyapi.com/agent/signup e chiamare questo endpoint via HTTP.
Altro da chiamare

Altri endpoint di TikTok