TikTok 照片 API
按 URL 获取 TikTok 图文(幻灯片)帖子中的每张图片,按顺序返回,附像素尺寸,以及每张图片的无水印和带水印版本。视频不含图片,视频请用 tiktok.video_download。
US$1.20/千次请求,按请求付费,无需订阅。
@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}
价格与服务商
TikTok 照片 API 价格:一个 API,2 个可互换的服务商
最便宜的服务商优先响应。如果它失败,下一个会在同一次调用中接手。
试一试
一个请求获取 TikTok 照片
这个示例展示了 27 个字段中的 21 个。查看全部字段
{
"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"
}
}完整的参数与响应参考:这个接口的每个字段、类型和示例。
参考
一个请求,一种响应结构。
你发送的每个字段和收到的每个字段,都附有真实示例。
最近验证于 2026-11-14 · 可用率和延迟按 30d 统计
请求体
JSON,POST 到这个接口。
- urlstring
https://www.tiktok.com/@foodbyfranchi/video/7479916555602513174
TikTok 图文帖子的完整 URL。TikTok 的幻灯片帖子与视频使用同一个 /video/<id> 路径,所以普通分享链接即可使用。
- 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.
响应
JSON,每个字段一个示例值。
- authorFollowersinteger可设为必填
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.
常见问题
关于 TikTok 照片 API
AnyAPI 的 TikTok 照片 API 只需一次 POST 请求 /v1/run/tiktok.photos,就以统一格式的 JSON 返回 TikTok 数据。按 URL 获取 TikTok 图文(幻灯片)帖子中的每张图片,按顺序返回,附像素尺寸,以及每张图片的无水印和带水印版本。视频不含图片,视频请用 tiktok.video_download。AnyAPI 会在 2 个数据源之间路由每个请求,某个数据源失败时自动切换。费用:每千次请求 US$1.20 起,以美元计价,无需订阅,也没有每月最低消费。过去 30 天,通过 AnyAPI 发起的 TikTok 照片 API 调用中有 100.0% 成功,响应时间中位数为 3.4 秒,共测量 7,167 次调用。