POST

TikTok Photos API

/v1/run/tiktok.photos

Get every image in a TikTok photo-mode (slideshow) post by URL, in order, with pixel dimensions and both the clean and watermarked variant of each. Videos carry no images - use tiktok.video_download for those.

Category SocialRequests / mo 2Routing 2 lanes · auto failover
Get ~100 free requests

Provider network

Providers ranked by traffic

click a provider for traffic and endpoints · routing stays automatic
Request
Gateway request
discovered operation
Router
↳ Calls hit the first lane first; on timeout or 5xx we retry down the ladder. Fallback order: Tiger → Giraffe

Try it

Make your first request

run it free, no key · same shape for every API
Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
  "data": {
    "id": "a1b2c3d4",
    "images": [
      {
        "height": 42,
        "image": "https://example.com/image.jpg",
        "watermarkedImage": "https://example.com/image.jpg",
        "width": 1024
      }
    ]
  },
  "found": true
}
Response interface
interface TiktokPhotosResponse {
  data: {
    id: string;
    images: {
      height?: number;
      image: string;
      watermarkedImage?: string;
      width?: number;
    }[];
  } | null;
  found: boolean;
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

Request, response, and price

Last verified 2026-09-03 · uptime and latency measured over 30d
POST /v1/run/tiktok.photos
curl -X POST https://api.getanyapi.com/v1/run/tiktok.photos \
  -H "Authorization: Bearer $ANYAPI_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url":"https://www.tiktok.com/@foodbyfranchi/video/7479916555602513174"}'
FieldTypeExample value
Request body
urlstring"https://www.tiktok.com/@foodbyfranchi/video/7479916555602513174"Full TikTok photo-mode post URL. TikTok serves slideshow posts under the same /video/<id> path as videos, so the normal share link works.
Response
dataobject
data.idstringTikTok post id. Populated whenever the provider has data for the entity.
data.imagesobject[]Every image in the post, in the order the creator arranged them. Populated whenever the provider has data for the entity.
data.images[].heightintegerPixel height of the image.
data.images[].imagestringThe 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.
data.images[].watermarkedImagestringThe same image carrying TikTok's watermark and the creator's handle. Signed and short-lived on the same terms as image.
data.images[].widthintegerPixel width of the image.
foundbooleanFalse when the post carries no photo-mode images: a plain video (use tiktok.video_download), or a deleted or private post.
Price
Price per requestUSD$0.0012
Price /1k reqUSD$1.20

FAQ

About the TikTok Photos API

The AnyAPI TikTok Photos API returns TikTok photos data as normalized JSON from one POST call to /v1/run/tiktok.photos. Get every image in a TikTok photo-mode (slideshow) post by URL, in order, with pixel dimensions and both the clean and watermarked variant of each. Videos carry no images - use tiktok.video_download for those. AnyAPI routes each request across 2 sources and falls back automatically when one fails. It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 100.0% of TikTok photos calls through AnyAPI succeeded, with a median response time of 0.8 seconds across 2 measured calls.

It costs from $1.20 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet, each call draws it down, and a failed request costs $0.

Get every image in a TikTok photo-mode (slideshow) post by URL, in order, with pixel dimensions and both the clean and watermarked variant of each. Videos carry no images - use tiktok.video_download for those. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 100.0% of TikTok photos calls through AnyAPI succeeded, with a median response time of 0.8 seconds across 2 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.

Get started

Two ways to start on AnyAPI

Humans fund a USD wallet and pay per request. Agents point a coding agent at one URL and onboard themselves.

Get ~100 free requests
Works with
Terminal agentsClaude CodeCursorCodexMCP clients