API de TikTok

API de TikTok: Fotos

Obtén todas las imágenes de una publicación de TikTok en modo foto (presentación de diapositivas) por URL, en orden, con sus dimensiones en píxeles y las variantes limpia y con marca de agua de cada una. Los videos no tienen imágenes: para ellos usa tiktok.video_download.

US$1.20/1k solic., pagas por solicitud, sin suscripción.

sunday meal prep, swipe for the full spread #foodphotos | TikTok
tiktok.com/@foodbyfranchi/video/7479916555602513174
1/3
84.2K1,34022.8K5,620

@foodbyfranchi

Follow

sunday meal prep, swipe for the full spread #foodphotos

Lo que devolvió la APIimages[0]
{
"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
}
Disponibilidad
99.99%
30d · 7,167 llamadas
Solicitudes
7,169
30d · semanal, últimas 12 sem.
Respuesta
3.4s
mediana · 30d

Precios y proveedores

Precios del endpoint Fotos de la API de TikTok: una API, 2 proveedores intercambiables

El proveedor más barato responde primero. Si falla, el siguiente toma el relevo en la misma llamada.

Pagas
US$12.00
US$1.20/1k solic., solo por lo que usas. Sin plan mensual.
Tus primeras 83 solicitudes son gratis con el saldo inicial de US$0.10.

Pruébalo

Obtén Fotos de TikTok en una sola solicitud

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.
Abrir en
Respuesta de ejemplo
Las ejecuciones gratis devuelven solo los primeros 3 resultados. Agrega fondos a una clave para obtener la respuesta completa.

Este ejemplo muestra 21 de 27 campos. Ver todos los campos

{
  "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"
  }
}

Referencia completa de parámetros y respuesta: cada campo, tipo y ejemplo de este endpoint.

Referencia

Una solicitud, un formato de respuesta.

Cada campo que envías y cada campo que recibes, cada uno con un ejemplo real.

Verificado por última vez el 2026-11-14 · disponibilidad y latencia medidas en 30d

Cuerpo de la solicitud

JSON, enviado por POST a este endpoint.

  • urlstring

    https://www.tiktok.com/@foodbyfranchi/video/7479916555602513174

    URL completa de la publicación de TikTok en modo foto. TikTok sirve las presentaciones de diapositivas bajo la misma ruta /video/<id> que los videos, así que el enlace normal para compartir funciona.

  • 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.

Envías. Un cuerpo JSON pequeño. Los valores que se muestran son ejemplos para reemplazar por los tuyos.

Respuesta

JSON, un valor de ejemplo por campo.

datadata
  • authorFollowersintegerse puede exigir

    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.

each imagedata.images[]

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.

top level
  • 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.

Recibes. Campos con nombre y tipo, con el mismo formato sin importar qué fuente responda.

Preguntas frecuentes

Acerca del endpoint Fotos de la API de TikTok

El endpoint Fotos de AnyAPI para TikTok devuelve datos de TikTok como JSON normalizado con una sola llamada POST a /v1/run/tiktok.photos. Obtén todas las imágenes de una publicación de TikTok en modo foto (presentación de diapositivas) por URL, en orden, con sus dimensiones en píxeles y las variantes limpia y con marca de agua de cada una. Los videos no tienen imágenes: para ellos usa tiktok.video_download. AnyAPI enruta cada solicitud entre 2 fuentes y recurre automáticamente a otra cuando una falla. Cuesta desde US$1.20 por cada 1,000 solicitudes, en dólares estadounidenses, sin suscripción y sin mínimo mensual. En los últimos 30 días, el 100.0% de las llamadas al endpoint Fotos de la API de TikTok a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 3.4 segundos en 7167 llamadas medidas.

Cuesta desde US$1.20 por cada 1,000 solicitudes, en dólares estadounidenses, sin suscripción y sin mínimo mensual. Agregas fondos a una billetera en dólares y cada llamada descuenta de ella. Algunas solicitudes fallidas pagadas con la billetera generan cargos de procesamiento que trasladamos al costo, sin margen; la respuesta de error muestra el monto cobrado.

Obtén todas las imágenes de una publicación de TikTok en modo foto (presentación de diapositivas) por URL, en orden, con sus dimensiones en píxeles y las variantes limpia y con marca de agua de cada una. Los videos no tienen imágenes: para ellos usa tiktok.video_download. La respuesta es JSON normalizado con el mismo envoltorio que devuelve cada endpoint de AnyAPI, así que procesar un segundo endpoint es solo cambiar la URL.

En los últimos 30 días, el 100.0% de las llamadas al endpoint Fotos de la API de TikTok a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 3.4 segundos en 7167 llamadas medidas. Estas son mediciones propias de AnyAPI sobre el tráfico que pasa por el gateway, recalculadas continuamente, no un objetivo de nivel de servicio publicado.

Sí. Una cuenta nueva de AnyAPI empieza con US$0.10 de saldo gratis, sin tarjeta, que alcanza para 83 llamadas a Fotos de TikTok a US$0.0012 cada una.

AnyAPI consulta la siguiente de sus 2 fuentes en la misma solicitud, empezando por la más barata, así que la caída de una fuente no hace fallar tu llamada.

Envía una solicitud POST a https://api.getanyapi.com/v1/run/tiktok.photos con tu clave de AnyAPI en un encabezado "Authorization: Bearer" y la entrada como cuerpo JSON. La misma clave y la misma billetera sirven para todos los endpoints de AnyAPI.

No. Agregas dólares a un solo saldo prepagado de AnyAPI y cada solicitud descuenta de él. No hay plan mensual ni mínimo, y el mismo saldo paga todos los endpoints de AnyAPI.

Sí. Instala @getanyapi/sdk desde npm para TypeScript o getanyapi desde pip para Python. Ambos llaman a todos los endpoints de AnyAPI con la misma clave, y también sirve cualquier cliente HTTP.

Sí. Un agente puede conectarse al servidor MCP de AnyAPI en https://api.getanyapi.com/mcp, o crear su propia clave de prueba gratis con un solo POST sin autenticar a https://api.getanyapi.com/agent/signup y llamar a este endpoint por HTTP.
Más para llamar

Otros endpoints de TikTok