TikTok Photo post images API
Get every image of a TikTok photo post (photo mode or carousel) from its link or post ID: each image's url, width and height, for $0.56 per 1,000 calls.
imageslists the images in the post's order, withwidthandheightin pixels- The same row carries the post's
text, counts, author and background music fields - Failed calls and empty results are not charged.
API health
- 24h health
- Normal
- Healthy / normal
- Available
Last 24 hours
Last 30 days
1Request
POST /api/v1/social { "platform": "tiktok", "action": "photos", "params": { "url": "https://www.tiktok.com/@tiktok/photo/7701866987609197837" } }2JSON response
{ "results": [ { "images": …, "posted_at": string, "text": string, "language": string }, … ] }3Fields
images posted_at text language … string string string 4CSV
tiktok-photos-sample.csv id,url,images,image_urls,posted_at,text,language,location,media_type,author_username,author_name,author_bio,music_title,music_author,author_id,author_sec_uid,music_id,author_url,author_avatar_url,cover_url,music_url,music_cover_url,image_count,view_count,like_count,comment_count,share_count,bookmark_count,repost_count,author_follower_count,author_following_count,author_like_count,author_video_count,duration_sec,duration_seconds,music_duration_sec,category_type,author_is_verified,author_is_private,author_is_seller,music_is_original,share_enabled,view_count_estimated,like_count_estimated,comment_count_estimated,share_count_estimated,author_follower_count_estimated,author_following_count_estimated,author_like_count_estimated,author_video_count_estimated,is_ad,is_private,is_aigc,comments_disabled,duet_enabled,stitch_enabled,hashtags,mentions,suggested_words,platform
url goes in, and one JSON object comes back: images with every image's url, width and height, plus the post's own fields, listed as a field table and a CSV file.What data you get
The response is one photo post. This endpoint has no public real sample yet. The table lists the fields, types and meanings that the response returns, with no values.
| Field | Type | Meaning |
|---|---|---|
| id | string | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
| url | string | Link to the record on the platform. |
| images | — | Every image of a photo post (photos), in the post's order: [{url, width, height}], with width and height in pixels. Image links expire, so download the ones you keep soon. |
| image_urls | array | Link to each image in a photo (carousel) post (video_download, photos; in photos the same images as images, in the post's order); links to all of a product's main images (shop_search, shop_category_products, shop_products); on shop_search the first is the same as cover_url. |
| posted_at | string | Publish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it. |
| text | string | Body text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so). |
| language | string | Content language code (for example zh, en) as judged by the platform; it can be wrong. |
| location | — | Location description passed through as is; the format varies by platform. |
| media_type | — | Post type (photos): always photo. |
| author_username | string | Author's username (@handle), usually usable in URLs. |
| author_name | string | Author's display name. |
| author_bio | string | The author's profile bio; not returned on some requests and may be absent in user_videos results. |
| music_title | — | Title of the background music (photos). |
| music_author | — | Name of the background music's author (photos). |
| author_id | string | Author's unique ID on the platform. |
| author_sec_uid | — | The account's secUid: in live_room, the streamer's account, starting with MS4w; in music_detail, the music author's account, present only for original sounds; in photos, the post author's account. |
| music_id | — | ID of the post's background music (photos). |
| author_url | string | Link to the author's profile on the platform. |
| author_avatar_url | string | Author's avatar image link (on most platforms signed and expires). |
| cover_url | — | Link to the post's cover image (photos). |
| music_url | — | Link to the background music (photos). |
| music_cover_url | — | Link to the background music's cover image (photos). |
| image_count | — | Number of images in the photo post (photos), the same as the length of images. |
| view_count | number | Views or plays. null means not disclosed, not 0. |
| like_count | number | Likes. null means the platform or this capability does not disclose it; it is not 0. |
| comment_count | number | Comments. null means not disclosed, not 0. |
| share_count | number | Shares. null means not disclosed, not 0. |
| bookmark_count | — | Number of bookmarks (photos). |
| repost_count | number | Reposts (as distinct from quote posts). null means not disclosed. |
| author_follower_count | — | Author's follower count. null means not disclosed. |
| author_following_count | — | How many accounts the author follows; not returned on some requests. |
| author_like_count | — | Total likes the author's profile has received; not returned on some requests. |
| author_video_count | — | Total number of videos the author has posted; not returned on some requests. |
| duration_sec | number | Duration in seconds, the same value as duration_seconds (both names are returned): the video's length on video rows, the sound's length on music_search, music_chart and music_detail. |
| duration_seconds | number | Duration in seconds. null for content that is not video or audio. |
| music_duration_sec | — | Length of the background music in seconds (photos). |
| category_type | — | The post's category type (photos). |
| author_is_verified | boolean | Whether the author has a verified badge; not returned on some requests. |
| author_is_private | boolean | Whether the author's account is private. |
| author_is_seller | — | Whether the author is a TikTok Shop seller. Usually absent in user_videos results. |
| music_is_original | — | Whether the background music is an original sound, the creator's own audio (photos). |
| share_enabled | — | Whether the post can be shared (photos). |
| view_count_estimated | — | Whether view_count is an approximate figure (photos): from 10,000 up, TikTok's page shows a rounded count (35.2K is stored as 35200) and this is true. |
| like_count_estimated | — | Whether like_count is an approximate figure (photos), by the same rule as view_count_estimated. |
| comment_count_estimated | — | Whether comment_count is an approximate figure (photos), by the same rule as view_count_estimated. |
| share_count_estimated | — | Whether share_count is an approximate figure (photos), by the same rule as view_count_estimated. |
| author_follower_count_estimated | — | Whether author_follower_count is an approximate figure (photos), by the same rule as view_count_estimated. |
| author_following_count_estimated | — | Whether author_following_count is an approximate figure (photos), by the same rule as view_count_estimated. |
| author_like_count_estimated | — | Whether author_like_count is an approximate figure (photos), by the same rule as view_count_estimated. |
| author_video_count_estimated | — | Whether author_video_count is an approximate figure (photos), by the same rule as view_count_estimated. |
| is_ad | boolean | Whether the video is an ad. Usually absent in search results; may be absent in user_videos results. |
| is_private | boolean | Whether the account is private. |
| is_aigc | — | Whether the post is AI-generated content (photos). |
| comments_disabled | — | Whether comments are turned off on the post (photos). |
| duet_enabled | — | Whether Duet is allowed on the post (photos). |
| stitch_enabled | — | Whether Stitch is allowed on the post (photos). |
| hashtags | array | Hashtags in the text, in order of appearance; absent when there are none. |
| mentions | — | Accounts mentioned with @ in the post (photos). |
| suggested_words | — | Suggested words on the post (photos). |
| platform | string | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
Use cases
Save every image of a post
Read
imagesorimage_urlsand download the images in order. Image links expire, so download the ones you keep soon.Count and size the images
image_countgives the number of images, andwidthandheightgive the size of each one in pixels.Read the post around the images
The same call returns the post's
text,hashtags,posted_at, counts, author fields and background music.Use `video` for video posts
A photo post is read with
photos. For a video post, pass itsurltovideo.
Limits and gotchas
urlis required: a link with the post ID, such as https://www.tiktok.com/@<user>/photo/<ID> (the /video/<ID> form works too), or the 15 to 21 digit post ID. Short links such as vm.tiktok.com are not recognized.- One call reads one post and returns one object. A link in the wrong form is rejected (422) before you are charged.
- A video post, a missing post or a deleted post returns 503 and is not charged. Use
videofor videos. - Counts of 10,000 or more are the rounded figures TikTok's page shows (35.2K is stored as 35200), and the matching
view_count_estimated,like_count_estimatedandauthor_follower_count_estimatedfields, among others, are true.
Pricing
You pay $0.000556 per call. One call reads one result. Failed calls and empty results are not charged.
| Calls | Cost |
|---|---|
| 10,000 | $5.56 |
| 100,000 | $55.56 |
| 1,000,000 | $555.56 |
Totals use the list price per call.
Code samples
#curl -X POST 'https://api.everyinfra.com/api/v1/social' \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"platform": "tiktok",
"action": "photos",
"params": {
"url": "https://www.tiktok.com/@tiktok/photo/7701866987609197837"
}
}'OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
API reference
See the parameters, response fields, errors and billing for photos, and copy the page or open it as Markdown for an AI assistant.
AI prompt
#Please help me write a data collection script with the EveryInfra TikTok Photo post images endpoint (tiktok/photos).
How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to tiktok and action to photos, and put the parameters inside params.
- Required parameters:
- url: A TikTok photo post link with the post ID, such as https://www.tiktok.com/@<user>/photo/<ID> (the /video/<ID> form works too), or the 15 to 21 digit post ID.
- Returns one object. Main fields: id, url, images (Every image of a photo post (photos), i…), image_urls (Link to each image in a photo (carousel…), posted_at, text, language, location, media_type (Post type (photos): always photo), author_username, author_name, author_bio (The author's profile bio); 59 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=tiktok.
- Example request body:
{
"platform": "tiktok",
"action": "photos",
"params": {
"url": "https://www.tiktok.com/@tiktok/photo/7701866987609197837"
}
}
- Price: $0.56 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.
Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.Request parameters
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | tiktok | Platform identifier, fixed value. |
action | body | string | Yes | photos | Capability identifier, fixed value. |
url | body.params | string | Yes | - | A TikTok photo post link with the post ID, such as https://www.tiktok.com/@<user>/photo/<ID> (the /video/<ID> form works too), or the 15 to 21 digit post ID. Short links such as vm.tiktok.com are not recognized, and a value in the wrong form is rejected (422) before you are charged. |
Response example
#{ "id": "req_…", "platform": "tiktok", "action": "photos", "results": { "id": …, "url": …, "images": …, "image_urls": …, "posted_at": …, "text": …, "language": …, "location": …, "media_type": …, "author_username": …, "author_name": …, "author_bio": …, "music_title": …, "music_author": …, "author_id": …, "author_sec_uid": …, "music_id": …, "author_url": …, "author_avatar_url": …, "cover_url": …, "music_url": …, "music_cover_url": …, "image_count": …, "view_count": …, "like_count": …, "comment_count": …, "share_count": …, "bookmark_count": …, "repost_count": …, "author_follower_count": …, "author_following_count": …, "author_like_count": …, "author_video_count": …, "duration_sec": …, "duration_seconds": …, "music_duration_sec": …, "category_type": …, "author_is_verified": …, "author_is_private": …, "author_is_seller": …, "music_is_original": …, "share_enabled": …, "view_count_estimated": …, "like_count_estimated": …, "comment_count_estimated": …, "share_count_estimated": …, "author_follower_count_estimated": …, "author_following_count_estimated": …, "author_like_count_estimated": …, "author_video_count_estimated": …, "is_ad": …, "is_private": …, "is_aigc": …, "comments_disabled": …, "duet_enabled": …, "stitch_enabled": …, "hashtags": …, "mentions": …, "suggested_words": …, "platform": … }, "billing": { "charged": …, "charged_usd": …, "balance_after_usd": …, … }, "quota": { … }}
Response fields
#Business data is in results. The table lists the fields a record can contain. Values the platform does not show are never made up.
| Field | Meaning |
|---|---|
id | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
url | Link to the record on the platform. |
images | Every image of a photo post (photos), in the post's order: [{url, width, height}], with width and height in pixels. Image links expire, so download the ones you keep soon. |
image_urls | Link to each image in a photo (carousel) post (video_download, photos; in photos the same images as images, in the post's order); links to all of a product's main images (shop_search, shop_category_products, shop_products); on shop_search the first is the same as cover_url. |
posted_at | Publish time in ISO 8601, UTC (for example 2026-08-07T12:34:56+00:00). Non-standard strings from the platform are passed through as is, so parse defensively. null means the platform does not disclose it. |
text | Body text with HTML removed, returned in full and never cut short (on a few platforms the list results themselves carry only an excerpt; the platform's field notes say so). |
language | Content language code (for example zh, en) as judged by the platform; it can be wrong. |
location | Location description passed through as is; the format varies by platform. |
media_type | Post type (photos): always photo. |
author_username | Author's username (@handle), usually usable in URLs. |
author_name | Author's display name. |
author_bio | The author's profile bio; not returned on some requests and may be absent in user_videos results. |
music_title | Title of the background music (photos). |
music_author | Name of the background music's author (photos). |
author_id | Author's unique ID on the platform. |
author_sec_uid | The account's secUid: in live_room, the streamer's account, starting with MS4w; in music_detail, the music author's account, present only for original sounds; in photos, the post author's account. |
music_id | ID of the post's background music (photos). |
author_url | Link to the author's profile on the platform. |
author_avatar_url | Author's avatar image link (on most platforms signed and expires). |
cover_url | Link to the post's cover image (photos). |
music_url | Link to the background music (photos). |
music_cover_url | Link to the background music's cover image (photos). |
image_count | Number of images in the photo post (photos), the same as the length of images. |
view_count | Views or plays. null means not disclosed, not 0. |
like_count | Likes. null means the platform or this capability does not disclose it; it is not 0. |
comment_count | Comments. null means not disclosed, not 0. |
share_count | Shares. null means not disclosed, not 0. |
bookmark_count | Number of bookmarks (photos). |
repost_count | Reposts (as distinct from quote posts). null means not disclosed. |
author_follower_count | Author's follower count. null means not disclosed. |
author_following_count | How many accounts the author follows; not returned on some requests. |
author_like_count | Total likes the author's profile has received; not returned on some requests. |
author_video_count | Total number of videos the author has posted; not returned on some requests. |
duration_sec | Duration in seconds, the same value as duration_seconds (both names are returned): the video's length on video rows, the sound's length on music_search, music_chart and music_detail. |
duration_seconds | Duration in seconds. null for content that is not video or audio. |
music_duration_sec | Length of the background music in seconds (photos). |
category_type | The post's category type (photos). |
author_is_verified | Whether the author has a verified badge; not returned on some requests. |
author_is_private | Whether the author's account is private. |
author_is_seller | Whether the author is a TikTok Shop seller. Usually absent in user_videos results. |
music_is_original | Whether the background music is an original sound, the creator's own audio (photos). |
share_enabled | Whether the post can be shared (photos). |
view_count_estimated | Whether view_count is an approximate figure (photos): from 10,000 up, TikTok's page shows a rounded count (35.2K is stored as 35200) and this is true. |
like_count_estimated | Whether like_count is an approximate figure (photos), by the same rule as view_count_estimated. |
comment_count_estimated | Whether comment_count is an approximate figure (photos), by the same rule as view_count_estimated. |
share_count_estimated | Whether share_count is an approximate figure (photos), by the same rule as view_count_estimated. |
author_follower_count_estimated | Whether author_follower_count is an approximate figure (photos), by the same rule as view_count_estimated. |
author_following_count_estimated | Whether author_following_count is an approximate figure (photos), by the same rule as view_count_estimated. |
author_like_count_estimated | Whether author_like_count is an approximate figure (photos), by the same rule as view_count_estimated. |
author_video_count_estimated | Whether author_video_count is an approximate figure (photos), by the same rule as view_count_estimated. |
is_ad | Whether the video is an ad. Usually absent in search results; may be absent in user_videos results. |
is_private | Whether the account is private. |
is_aigc | Whether the post is AI-generated content (photos). |
comments_disabled | Whether comments are turned off on the post (photos). |
duet_enabled | Whether Duet is allowed on the post (photos). |
stitch_enabled | Whether Stitch is allowed on the post (photos). |
hashtags | Hashtags in the text, in order of appearance; absent when there are none. |
mentions | Accounts mentioned with @ in the post (photos). |
suggested_words | Suggested words on the post (photos). |
platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
Errors and billing
#- 401
- Missing or invalid key.
- 402
- Insufficient balance. Top up first.
- 422
- Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
- 429
- Per-minute request limit reached. Wait for Retry-After, then try again.
- 503
- Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
- 200 empty
- No data. No charge.
FAQ
What does the TikTok photo post API return?
One object: images (each image's url, width and height, in the post's order), image_urls, image_count, media_type (always photo), and the post's text, counts, author and background music fields.
What happens if I send a video link?
The call returns 503 and is not charged. Use video to read a video post.
How long do the image links last?
They expire, so download the images you keep soon.
How much does it cost to read one photo post?
It costs $0.000556 per call, or $0.56 per 1,000 calls. One call reads one result. Failed calls and empty results are not charged.
Related TikTok endpoints
You can call the other TikTok endpoints with the same EveryInfra API key, for example video.
- Search
search$0.56 per 1,000 callsSearch TikTok by keyword across the video, account or top tab. - Details
profile$0.56 per 1,000 callsLook up a TikTok account by handle. - Videos by user
user_videos$0.56 per 1,000 callsList a TikTok creator's videos with caption, publish time and like, comment, share and view counts. - Video details
video$0.56 per 1,000 callsFetch one TikTok video's caption, author, publish time and like, comment, share and view counts from its URL. - Comments
comments$0.56 per 1,000 callsRead the comments on a TikTok video. - Hashtag
hashtag$0.56 per 1,000 callsBrowse TikTok videos posted under a hashtag. - Followers
followers$0.56 per 1,000 callsCheck a TikTok account's follower, following, post and like totals by handle, with a precision flag for rounded numbers. - Transcript
transcript$0.56 per 1,000 callsExtract the transcript of a TikTok video from its URL. - Shop product search
shop_search$0.56 per 1,000 callsFind TikTok Shop products by keyword. - Shop creator details
shop_creator$0.56 per 1,000 callsSize up a TikTok Shop creator by handle. - Hashtag search
hashtag_search$0.81 per 1,000 callsSearch TikTok hashtags bykeyword. - Music search
music_search$0.81 per 1,000 callsSearch TikTok's sound library bykeyword, such as a song or artist. - Music chart
music_chart$0.81 per 1,000 callsRead a TikTok music chart:top50(default) orviral50. - Account search
user_search$0.56 per 1,000 callsSearch TikTok accounts bykeyword, in the order TikTok search ranks them. - Videos using a sound
sound_videos$0.56 per 1,000 callsList the TikTok videos that use one sound, from itsmusic_idor sound page link. - Comment replies
comment_replies$0.56 per 1,000 callsRead the replies under one comment on a TikTok video, from the videourland the comment'sidreturned bycomments. - Shop best sellers
shop_hot_products$0.81 per 1,000 callsRead the TikTok Shop best-seller list for one market: ID, JP, MX, MY (default), PH, SG, TH or VN. - Shop products by category
shop_category_products$0.81 per 1,000 callsList TikTok Shop products in one category bycategory_id, such as 601450 for beauty and personal care, in a chosen market. - Following
following$0.64 per 1,000 callsList the accounts a TikTok user follows, by handle. - Video download links
video_download$0.64 per 1,000 callsGet the download links for one TikTok video from itsurl, without the watermark. - Live room
live_room$0.81 per 1,000 callsCheck whether a TikTok account is live right now, by handle. - Shop store products
shop_products$0.81 per 1,000 callsList the products of one TikTok Shop store from itsshop_idor store link, in a chosen market. - Shop product reviews
shop_product_reviews$0.76 per 1,000 callsRead buyer reviews of one TikTok Shop product from itsproduct_idor product link. - Trending hashtags
trending_hashtags$0.81 per 1,000 callsRead the trending hashtags on TikTok for one market over the last 7, 30 or 90 days. - Username to user ID
resolve_user$0.56 per 1,000 callsTurn a TikTokusername(with or without @), a profile link or asec_uidinto the account's numericuser_id, itssec_uid, currentusernameand profileurl. - Link recognition
resolve_links$0.56 per 1,000 callsRead the video ID from one TikTok link inurl, including vm.tiktok.com and vt.tiktok.com share links. - Hashtag detail
hashtag_detail$0.56 per 1,000 callsRead one TikTok hashtag fromhashtag(its name, with or without #, a tag link or the numeric ID):hashtag_id,hashtag_name,url, exactvideo_countandview_count, andis_commercial. - Music detail
music_detail$0.56 per 1,000 callsRead one TikTok sound bymusic_idor music link:title,author_name,album,duration_seconds, how many videos use it (use_count),is_original,is_copyrighted, a cover link and a preview audio link that expires. - Profile contact
profile_contact$0.56 per 1,000 callsRead the bio text an account wrote on its own TikTok profile, and the link in it, fromusername(a handle with or without @, a profile link or asec_uid):user_id,sec_uid,username,display_name,url,bioandexternal_url, as written, not reworded or guessed. - Search suggestions
search_suggest$0.56 per 1,000 callsRead the related searches TikTok shows for a search termkeyword(1 to 100 characters).