TikTok Ricerca per parola chiave API
Cerca su TikTok per parola chiave e ottieni i video corrispondenti con didascalie e coinvolgimento (visualizzazioni, mi piace, commenti, condivisioni).
0,60 USD/1k richieste, paghi a richiesta, nessun abbonamento.
My marathon training routine 🏃
{"id": "7268287584244124971","caption": "My marathon training routine 🏃","region": "US","views": 1282645,"likes": 481608,"comments": 187,"shares": 2721,"author": string,... 17 campi in più}
Prezzi e provider
Prezzi dell'API TikTok Ricerca per parola chiave: una sola API, 3 provider intercambiabili
Serve per primo il provider più economico. Se fallisce, subentra il successivo nella stessa chiamata.
Un provider contrassegnato come Non attivo ha smesso di rispondere in modo affidabile ed è stato tolto dalla rotazione, quindi le tue chiamate vanno agli altri. Viene rimesso da solo quando torna a rispondere in modo affidabile.
Provalo
Ottieni TikTok Ricerca per parola chiave in una sola richiesta
Questo esempio mostra 10 campi su 30. Vedi tutti i campi
{
"found": true,
"data": {
"videos": [
{
"id": "7268287584244124971",
"caption": "My marathon training routine 🏃",
"region": "US",
"views": 1282645,
"likes": 481608,
"comments": 187,
"shares": 2721
}
]
}
}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.
- querystring
marathon training
Parola chiave con cui cercare su TikTok.
- cursorstring
Cursore di paginazione da una risposta precedente.
- datePostedinteger
Filtro per intervallo di tempo, in giorni a ritroso da adesso. Usa un intero JSON canonico non negativo: 0 per qualsiasi periodo, 1 per le ultime 24 ore, 7 per l'ultima settimana, 30 per l'ultimo mese, 90 per gli ultimi tre mesi o 180 per gli ultimi sei mesi. Qualsiasi altro numero non garantisce di filtrare nulla. Le stringhe numeriche legacy restano accettate.
- requireCursorboolean
Deprecato: indica invece `nextCursor` in `requireFields`, che è il campo in cui questo flag viene tradotto. Resta accettato perché i chiamanti che già lo inviano continuino a funzionare. Inviarlo ti instrada a una fonte che restituisce un cursore di paginazione, il che può far salire il prezzo quando la fonte più economica non può paginare.
- 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 `nextCursor`, 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 record che davvero non lo ha. Indicare una combinazione che nessuna singola fonte restituisce insieme viene rifiutato come input non valido, senza addebito.
- sortByenum
Ordinamento: relevance, most-liked, date-posted.
Risposta
JSON, un valore di esempio per campo.
- nextCursorstringpuò richiedere
Opaque cursor for the next page of videos, or null when this lane has no more. Pass it back as cursor to continue.
Populated whenever the provider has data for the entity.
- authorstring
Username (handle) of the account that posted, without the @ prefix.
- authorFollowersintegerpuò richiedere
The author's follower count at the time of the request. Null when the serving source does not report it.
- authorImagestring
Author's avatar image URL. Signed and short-lived, so the query string is load-bearing and kept intact. Populated whenever the provider has data for the entity.
- authorNamestring
Author's display name. Populated whenever the provider has data for the entity.
- authorUserIdstring
Author's numeric TikTok user id. Populated whenever the provider has data for the entity.
- authorVerifiedbooleanpuò richiedere
Whether the author's account carries a TikTok verification badge. Null when the serving source does not report it.
- captionstring
My marathon training routine 🏃
Populated whenever the provider has data for the entity.
- commentsinteger
187
- 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. Populated whenever the provider has data for the entity.
- idstring
7268287584244124971
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. Populated whenever the provider has data for the entity.
- likesinteger
481608
- locationNamestringpuò richiedere
Name of the place the video is tagged at. Absent when the video has no location tag. Null when the serving source does not report it.
- paidPartnershipboolean
Whether the video is labeled as a paid partnership. Null when the serving source does not report it.
- regionstring
US
- savesinteger
- sharesinteger
2721
- soundAuthorstring
Credited author of the sound. Null when the serving source does not report it.
- 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. Null when the serving source does not report it.
- urlstring
Canonical TikTok URL of the video. Populated whenever the provider has data for the entity.
- videoUrlstring
Playable video URL. Signed and short-lived, so the query string is load-bearing and kept intact.
- viewsinteger
1282645
- 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.
Vendi questa API? Consulta lo schema completo che il tuo endpoint deve restituire.
FAQ
Sull'API TikTok Ricerca per parola chiave
L'API TikTok Ricerca per parola chiave di AnyAPI restituisce dati TikTok come JSON normalizzato da una sola chiamata POST a /v1/run/tiktok.search_keyword. Cerca su TikTok per parola chiave e ottieni i video corrispondenti con didascalie e coinvolgimento (visualizzazioni, mi piace, commenti, condivisioni). AnyAPI instrada ogni richiesta su 3 fonti e passa automaticamente a un'altra quando una fallisce. Costa da 0,60 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 99,9% delle chiamate TikTok Ricerca per parola chiave tramite AnyAPI è riuscito, con un tempo di risposta mediano di 2,8 secondi su 303.657 chiamate misurate.