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.

  • images lists the images in the post's order, with width and height in 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
Normal

Last 24 hours

Last 30 days

  1. 1Request

    POST /api/v1/social
    {
      "platform": "tiktok",
      "action": "photos",
      "params": {
        "url": "https://www.tiktok.com/@tiktok/photo/7701866987609197837"
      }
    }
  2. 2JSON response

    {
      "results": [
        {
          "images": …,
          "posted_at": string,
          "text": string,
          "language": string
        },
        …
      ]
    }
  3. 3Fields

    imagesposted_attextlanguage
    …stringstringstring
  4. 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

A request with 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.

FieldTypeMeaning
idstringThe record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms.
urlstringLink 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_urlsarrayLink 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_atstringPublish 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.
textstringBody 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).
languagestringContent 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_usernamestringAuthor's username (@handle), usually usable in URLs.
author_namestringAuthor's display name.
author_biostringThe 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_idstringAuthor'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_urlstringLink to the author's profile on the platform.
author_avatar_urlstringAuthor'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_countnumberViews or plays. null means not disclosed, not 0.
like_countnumberLikes. null means the platform or this capability does not disclose it; it is not 0.
comment_countnumberComments. null means not disclosed, not 0.
share_countnumberShares. null means not disclosed, not 0.
bookmark_count—Number of bookmarks (photos).
repost_countnumberReposts (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_secnumberDuration 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_secondsnumberDuration 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_verifiedbooleanWhether the author has a verified badge; not returned on some requests.
author_is_privatebooleanWhether 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_adbooleanWhether the video is an ad. Usually absent in search results; may be absent in user_videos results.
is_privatebooleanWhether 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).
hashtagsarrayHashtags 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).
platformstringSource platform identifier, the same as platform in the request (for example xiaohongshu, tiktok).

Use cases

  • Save every image of a post

    Read images or image_urls and download the images in order. Image links expire, so download the ones you keep soon.

  • Count and size the images

    image_count gives the number of images, and width and height give 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 its url to video.

Limits and gotchas

  • url is 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 video for 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_estimated and author_follower_count_estimated fields, among others, are true.

Pricing

You pay $0.000556 per call. One call reads one result. Failed calls and empty results are not charged.

CallsCost
10,000$5.56
100,000$55.56
1,000,000$555.56

Totals use the list price per call.

Code samples

#
bash
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.

POST

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

#
NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
platformbodystringYestiktokPlatform identifier, fixed value.
actionbodystringYesphotosCapability identifier, fixed value.
urlbody.paramsstringYes-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

#
No sample response is available for these parameters yet. This preview shows the response shape and fields from the API definition, with … as placeholders; it is not the result of a live call.
json
{  "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.

FieldMeaning
idThe record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms.
urlLink to the record on the platform.
imagesEvery 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_urlsLink 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_atPublish 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.
textBody 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).
languageContent language code (for example zh, en) as judged by the platform; it can be wrong.
locationLocation description passed through as is; the format varies by platform.
media_typePost type (photos): always photo.
author_usernameAuthor's username (@handle), usually usable in URLs.
author_nameAuthor's display name.
author_bioThe author's profile bio; not returned on some requests and may be absent in user_videos results.
music_titleTitle of the background music (photos).
music_authorName of the background music's author (photos).
author_idAuthor's unique ID on the platform.
author_sec_uidThe 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_idID of the post's background music (photos).
author_urlLink to the author's profile on the platform.
author_avatar_urlAuthor's avatar image link (on most platforms signed and expires).
cover_urlLink to the post's cover image (photos).
music_urlLink to the background music (photos).
music_cover_urlLink to the background music's cover image (photos).
image_countNumber of images in the photo post (photos), the same as the length of images.
view_countViews or plays. null means not disclosed, not 0.
like_countLikes. null means the platform or this capability does not disclose it; it is not 0.
comment_countComments. null means not disclosed, not 0.
share_countShares. null means not disclosed, not 0.
bookmark_countNumber of bookmarks (photos).
repost_countReposts (as distinct from quote posts). null means not disclosed.
author_follower_countAuthor's follower count. null means not disclosed.
author_following_countHow many accounts the author follows; not returned on some requests.
author_like_countTotal likes the author's profile has received; not returned on some requests.
author_video_countTotal number of videos the author has posted; not returned on some requests.
duration_secDuration 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_secondsDuration in seconds. null for content that is not video or audio.
music_duration_secLength of the background music in seconds (photos).
category_typeThe post's category type (photos).
author_is_verifiedWhether the author has a verified badge; not returned on some requests.
author_is_privateWhether the author's account is private.
author_is_sellerWhether the author is a TikTok Shop seller. Usually absent in user_videos results.
music_is_originalWhether the background music is an original sound, the creator's own audio (photos).
share_enabledWhether the post can be shared (photos).
view_count_estimatedWhether 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_estimatedWhether like_count is an approximate figure (photos), by the same rule as view_count_estimated.
comment_count_estimatedWhether comment_count is an approximate figure (photos), by the same rule as view_count_estimated.
share_count_estimatedWhether share_count is an approximate figure (photos), by the same rule as view_count_estimated.
author_follower_count_estimatedWhether author_follower_count is an approximate figure (photos), by the same rule as view_count_estimated.
author_following_count_estimatedWhether author_following_count is an approximate figure (photos), by the same rule as view_count_estimated.
author_like_count_estimatedWhether author_like_count is an approximate figure (photos), by the same rule as view_count_estimated.
author_video_count_estimatedWhether author_video_count is an approximate figure (photos), by the same rule as view_count_estimated.
is_adWhether the video is an ad. Usually absent in search results; may be absent in user_videos results.
is_privateWhether the account is private.
is_aigcWhether the post is AI-generated content (photos).
comments_disabledWhether comments are turned off on the post (photos).
duet_enabledWhether Duet is allowed on the post (photos).
stitch_enabledWhether Stitch is allowed on the post (photos).
hashtagsHashtags in the text, in order of appearance; absent when there are none.
mentionsAccounts mentioned with @ in the post (photos).
suggested_wordsSuggested words on the post (photos).
platformSource 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.

Errors

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.

You can call the other TikTok endpoints with the same EveryInfra API key, for example video.

Google Analytics needs consent. Privacy