TikTok Photos API
Obtenez chaque image d’une publication TikTok en mode photo (diaporama) par URL, dans l’ordre, avec les dimensions en pixels et les variantes propre et avec filigrane de chacune. Les vidéos ne contiennent aucune image - utilisez tiktok.video_download pour celles-ci.
1,20 $US/1k req, paiement à la requête, sans abonnement.
@foodbyfranchi
sunday meal prep, swipe for the full spread #foodphotos
{"image": "https://p16-sign-va.tiktokcdn.com/tos-maliva-p-0068/photo1-clean~tplv-obj.jpeg?x-signature=Aq1wE2r","watermarkedImage": "https://p16-sign-va.tiktokcdn.com/tos-maliva-p-0068/photo1-wm~tplv-obj.jpeg?x-signature=Bs2xF3t","width": 1080,"height": 1440}
Tarifs et fournisseurs
Tarifs de l’API TikTok Photos : une API, 2 fournisseurs interchangeables
Le fournisseur le moins cher répond en premier. S’il échoue, le suivant prend le relais dans le même appel.
Essayer
Obtenez TikTok Photos en une requête
Cet exemple affiche 21 champs sur 27. Voir tous les champs
{
"found": true,
"data": {
"id": "7479916555602513174",
"images": [
{
"image": "https://p16-sign-va.tiktokcdn.com/tos-maliva-p-0068/photo1-clean~tplv-obj.jpeg?x-signature=Aq1wE2r",
"watermarkedImage": "https://p16-sign-va.tiktokcdn.com/tos-maliva-p-0068/photo1-wm~tplv-obj.jpeg?x-signature=Bs2xF3t",
"width": 1080,
"height": 1440
},
{
"image": "https://p16-sign-va.tiktokcdn.com/tos-maliva-p-0068/photo2-clean~tplv-obj.jpeg?x-signature=Ct3yG4u",
"watermarkedImage": "https://p16-sign-va.tiktokcdn.com/tos-maliva-p-0068/photo2-wm~tplv-obj.jpeg?x-signature=Du4zH5v",
"width": 1080,
"height": 1440
},
{
"image": "https://p16-sign-va.tiktokcdn.com/tos-maliva-p-0068/photo3-clean~tplv-obj.jpeg?x-signature=Ev5aI6w",
"watermarkedImage": "https://p16-sign-va.tiktokcdn.com/tos-maliva-p-0068/photo3-wm~tplv-obj.jpeg?x-signature=Fw6bJ7x",
"width": 1080,
"height": 1440
}
],
"caption": "sunday meal prep, swipe for the full spread #foodphotos",
"url": "https://www.tiktok.com/@foodbyfranchi/video/7479916555602513174",
"createdUtc": 1758499200,
"region": "US",
"views": 612000,
"likes": 84200,
"comments": 1340,
"shares": 5620,
"saves": 22800,
"authorHandle": "foodbyfranchi",
"authorName": "Francesca Ricci",
"authorUserId": "6698123409812734650",
"authorImage": "https://p16-sign-va.tiktokcdn.com/tos-useast5-avt-0068/foodbyfranchi-avatar~tplv-obj.jpeg?x-signature=Gx7cK8y"
}
}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.
- urlstring
https://www.tiktok.com/@foodbyfranchi/video/7479916555602513174
URL complète d’une publication TikTok en mode photo. TikTok sert les diaporamas sous le même chemin /video/<id> que les vidéos, donc le lien de partage habituel fonctionne.
- requireFieldsarray
Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `authorFollowers`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a post that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.
Réponse
JSON, une valeur d’exemple par champ.
- authorFollowersintegerpeut exiger
The author's follower count at the time of the request. Null when the serving source does not report it.
- authorHandlestring
foodbyfranchi
Author's TikTok handle, without the leading @.
- authorImagestring
https://p16-sign-va.tiktokcdn.com/tos-useast5-avt-0068/foodbyfranchi-avatar~tplv-obj.jpeg?x-signature=Gx7cK8y
Author's avatar image URL. Signed and short-lived, so the query string is load-bearing and kept intact.
- authorNamestring
Francesca Ricci
Author's display name.
- authorUserIdstring
6698123409812734650
Author's numeric TikTok user id.
- captionstring
sunday meal prep, swipe for the full spread #foodphotos
Post caption.
- commentsinteger
1340
Comment count.
- createdUtcnumber
1758499200
UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
- hashtagsstring[]
Hashtags carried in the caption, without the leading #. Empty when the post uses none; @-mentions are excluded.
- idstring
7479916555602513174
TikTok post id. Populated whenever the provider has data for the entity.
- likesinteger
84200
Like count.
- regionstring
US
Two-letter region code the post was published from.
- savesinteger
22800
Save count.
- sharesinteger
5620
Share count.
- soundAuthorstring
Credited author of the sound. Populated whenever the provider has data for the entity.
- soundClipIdstring
Id of the sound the post 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
https://www.tiktok.com/@foodbyfranchi/video/7479916555602513174
Canonical TikTok URL of the photo post.
- viewsinteger
612000
View count.
Every image in the post, in the order the creator arranged them. Populated whenever the provider has data for the entity.
- heightinteger
1440
Pixel height of the image.
- imagestring
https://p16-sign-va.tiktokcdn.com/tos-maliva-p-0068/photo1-clean~tplv-obj.jpeg?x-signature=Aq1wE2r
The image without TikTok's watermark or the creator's handle. A signed, short-lived TikTok CDN URL, so fetch it promptly; the query params are the signature and must be kept intact. Despite the .jpeg in the path this is often served as HEIC, so transcode if you need broad browser support. Populated whenever the provider has data for the entity.
- watermarkedImagestring
https://p16-sign-va.tiktokcdn.com/tos-maliva-p-0068/photo1-wm~tplv-obj.jpeg?x-signature=Bs2xF3t
The same image carrying TikTok's watermark and the creator's handle. Signed and short-lived on the same terms as image.
- widthinteger
1080
Pixel width of the image.
- foundboolean
true
False when the post carries no photo-mode images: a plain video (use tiktok.video_download), or a deleted or private post.
- 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.
FAQ
À propos de l’API TikTok Photos
L’API TikTok Photos d’AnyAPI renvoie des données TikTok en JSON normalisé à partir d’un appel POST à /v1/run/tiktok.photos. Obtenez chaque image d’une publication TikTok en mode photo (diaporama) par URL, dans l’ordre, avec les dimensions en pixels et les variantes propre et avec filigrane de chacune. Les vidéos ne contiennent aucune image - utilisez tiktok.video_download pour celles-ci. AnyAPI route chaque requête sur 2 sources et bascule automatiquement quand l’une échoue. Elle coûte à partir de 1,20 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Ces 30 derniers jours, 100,0% des appels TikTok Photos passés par AnyAPI ont réussi, avec un temps de réponse médian de 3,7 secondes, sur 9 992 appels mesurés.