TikTok Recherche par mot-clé API
Cherchez sur TikTok par mot-clé et obtenez les vidéos correspondantes avec légendes et engagement (vues, mentions J’aime, commentaires, partages).
0,60 $US/1k req, paiement à la requête, sans abonnement.
My marathon training routine 🏃
{"id": "7268287584244124971","caption": "My marathon training routine 🏃","region": "US","views": 1282645,"likes": 481608,"comments": 187,"shares": 2721,"author": string,... 17 champs de plus}
Tarifs et fournisseurs
Tarifs de l’API TikTok Recherche par mot-clé : une API, 3 fournisseurs interchangeables
Le fournisseur le moins cher répond en premier. S’il échoue, le suivant prend le relais dans le même appel.
Un fournisseur marqué Hors service a cessé de répondre de façon fiable et a été retiré de la rotation, donc vos appels vont aux autres. Il est remis en service de lui-même dès qu’il répond de nouveau de façon fiable.
Essayer
Obtenez TikTok Recherche par mot-clé en une requête
Cet exemple affiche 10 champs sur 30. Voir tous les champs
{
"found": true,
"data": {
"videos": [
{
"id": "7268287584244124971",
"caption": "My marathon training routine 🏃",
"region": "US",
"views": 1282645,
"likes": 481608,
"comments": 187,
"shares": 2721
}
]
}
}Référence complète des paramètres et de la réponse : chaque champ, type et exemple de cet endpoint.
Référence
Une requête, une seule forme de réponse.
Chaque champ que vous envoyez et chaque champ que vous recevez, avec un vrai exemple.
Dernière vérification : 2026-11-21 · disponibilité et latence mesurées sur 30d
Corps de la requête
JSON, envoyé à cet endpoint.
- querystring
marathon training
Mot-clé pour chercher sur TikTok.
- cursorstring
Curseur de pagination issu d’une réponse précédente.
- datePostedinteger
Filtre de période, en jours à partir de maintenant. Utilisez un entier JSON canonique non négatif : 0 pour toute période, 1 pour les dernières 24 heures, 7 pour la dernière semaine, 30 pour le dernier mois, 90 pour les trois derniers mois ou 180 pour les six derniers mois. Tout autre nombre n’est pas garanti de filtrer quoi que ce soit. Les anciennes chaînes numériques restent acceptées.
- requireCursorboolean
Obsolète : nommez plutôt `nextCursor` dans `requireFields`, qui est le champ en lequel cet indicateur est traduit. Il reste accepté pour que les appelants qui l’envoient déjà continuent de fonctionner. L’envoyer vous route vers une source qui renvoie un curseur de pagination, ce qui peut augmenter votre prix quand la source la moins chère ne sait pas paginer.
- requireFieldsarray
Facultatif ; omettez-le et le routage est inchangé, la source la moins chère répondant. Nommez les champs de sortie que cette requête doit pouvoir renvoyer, par exemple `nextCursor`, et elle n’est servie que par une source qui les renvoie tous. Les champs que vous ne nommez pas sont quand même renvoyés chaque fois que la source qui répond les possède. Cela peut augmenter votre prix : quand la source la moins chère ne peut pas renvoyer un champ nommé, une source plus chère répond, et vous êtes facturé à son prix. Un champ nommé peut quand même être absent sur une fiche qui en est réellement dépourvue. Nommer une combinaison qu’aucune source unique ne renvoie ensemble est refusé comme entrée invalide, sans frais.
- sortByenum
Ordre de tri : relevance, most-liked, date-posted.
Réponse
JSON, une valeur d’exemple par champ.
- nextCursorstringpeut exiger
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.
- authorFollowersintegerpeut exiger
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.
- authorVerifiedbooleanpeut exiger
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
- locationNamestringpeut exiger
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.
Vous vendez cette API ? Consultez le schéma complet que votre endpoint doit renvoyer.
FAQ
À propos de l’API TikTok Recherche par mot-clé
L’API TikTok Recherche par mot-clé d’AnyAPI renvoie des données TikTok en JSON normalisé à partir d’un appel POST à /v1/run/tiktok.search_keyword. Cherchez sur TikTok par mot-clé et obtenez les vidéos correspondantes avec légendes et engagement (vues, mentions J’aime, commentaires, partages). AnyAPI route chaque requête sur 3 sources et bascule automatiquement quand l’une échoue. Elle coûte à partir de 0,60 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Ces 30 derniers jours, 99,9% des appels TikTok Recherche par mot-clé passés par AnyAPI ont réussi, avec un temps de réponse médian de 2,8 secondes, sur 303 657 appels mesurés.