API de Instagram

API de Instagram: Publicaciones del usuario

Cuadrícula paginada de las publicaciones y Reels de un perfil con descripciones, URLs de medios e interacción. Pagina con el campo cursor.

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

nasa (@nasa) • Instagram photos and videos
instagram.com/nasa/
nasaFollow
POSTS REELS TAGGED
1.8M9,200
Lo que devolvió la APIposts[0]
{
"id": "3401000000000000000",
"url": "https://www.instagram.com/p/C8aBcDeFgHi/",
"caption": "A new view of the Pillars of Creation.",
"likes": 1840000,
"comments": 9200,
"createdUtc": 1717945200,
"username": "nasa",
"verified": true,
... 23 campos más
}
Disponibilidad
99.89%
30d · 346,642 llamadas
Solicitudes
348,776
30d · semanal, últimas 12 sem.
Respuesta
2.6s
mediana · 30d

Precios y proveedores

Precios del endpoint Publicaciones del usuario de la API de Instagram: una API, 7 proveedores intercambiables

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

Un proveedor marcado como Fuera de servicio dejó de responder de forma confiable y se sacó de la rotación, así que tus llamadas van a los demás. Vuelve a entrar por sí solo cuando responde de forma confiable otra vez.

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

Pruébalo

Obtén Publicaciones del usuario de Instagram 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 `userId`, 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 12 de 48 campos. Ver todos los campos

{
  "found": true,
  "data": {
    "nextCursor": "QVFEX2Z",
    "posts": [
      {
        "id": "3401000000000000000",
        "url": "https://www.instagram.com/p/C8aBcDeFgHi/",
        "caption": "A new view of the Pillars of Creation.",
        "likes": 1840000,
        "comments": 9200,
        "createdUtc": 1717945200,
        "username": "nasa",
        "verified": true
      }
    ]
  }
}

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.

  • handlestring

    nasa

    Nombre de usuario de Instagram sin la @ inicial.

  • cursorstring

    0

    Cursor de paginación del nextCursor de una respuesta anterior.

  • 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 `userId`, 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
  • nextCursorstring

    QVFEX2Z

    Opaque cursor for the next page of posts, or null when this lane has no more. Pass it back as cursor to continue.

each postdata.posts[]

Populated whenever the provider has data for the entity.

  • audioIdstringse puede exigir

    Instagram audio id of the post's sound, licensed track or original audio, the audioId instagram.audio_reels takes to list other reels using it. Absent when the post has no sound. Null when the serving source does not report it.

  • avatarUrlstring

    Profile picture URL of the posting account.

  • captionstring

    A new view of the Pillars of Creation.

    Populated whenever the provider has data for the entity.

  • carouselCountintegerse puede exigir

    Number of slides, present on carousel posts only. Null when the serving source does not report it.

  • commentsinteger

    9200

  • countsHiddenbooleanse puede exigir

    Whether the author has hidden the like and view counts. Null when the serving source does not report it.

  • createdUtcnumber

    1717945200

    UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.

  • displayNamestring

    Display name of the posting account.

  • durationSecondsnumber

    Video duration in seconds. Absent on photo posts.

  • hashtagsstring[]

    Hashtags carried in the caption, each including its leading #. Populated whenever the provider has data for the entity.

  • idstring

    3401000000000000000

    Instagram media id. Populated whenever the provider has data for the entity.

  • isPinnedbooleanse puede exigir

    Whether the post is pinned to the top of a profile grid. On a collaboration post this can be true because a coauthor pinned it to their own profile. Null when the serving source does not report it.

  • likesinteger

    1840000

  • locationIdstringse puede exigir

    Instagram location id the post is tagged at. Absent when the post has no location. Null when the serving source does not report it.

  • locationLatnumberse puede exigir

    Latitude of the tagged location, in decimal degrees. Null when the serving source does not report it.

  • locationLngnumberse puede exigir

    Longitude of the tagged location, in decimal degrees. Null when the serving source does not report it.

  • locationNamestringse puede exigir

    Name of the location the post is tagged at. Null when the serving source does not report it.

  • mentionsstring[]

    Accounts @mentioned in the caption, each including its leading @. Populated whenever the provider has data for the entity.

  • paidPartnershipbooleanse puede exigir

    Whether the post is tagged as a paid partnership. Null when the serving source does not report it.

  • productTypestringse puede exigir

    Instagram's own surface label for the post, such as feed, clips or carousel_container. Null when the serving source does not report it.

  • resharesintegerse puede exigir

    Number of times the post has been reshared, when Instagram reports it. Null when the serving source does not report it.

  • soundAuthorstringse puede exigir

    Credited artist of a licensed track, or the username of the account whose original audio it is. Absent when the post has no sound. Null when the serving source does not report it.

  • soundTitlestringse puede exigir

    Name of the sound on a reel or a post with music. "Original audio" means the creator's own audio rather than a licensed track. Absent when the post has no sound. Null when the serving source does not report it.

  • urlstring

    https://www.instagram.com/p/C8aBcDeFgHi/

    Populated whenever the provider has data for the entity.

  • userIdstringse puede exigir

    Instagram user id of the posting account. Null when the serving source does not report it.

  • usernamestring

    nasa

    Username of the account that posted. A profile feed includes collaborator posts, so this is not always the requested handle. Populated whenever the provider has data for the entity.

  • verifiedboolean

    true

    True when the posting account is verified.

  • viewsinteger

    Play count, present on video posts and reels only.

each coauthordata.posts[].coauthors[]

Accounts listed as coauthors of the post. Null when the serving source does not report it.

  • displayNamestring

    Account display name.

  • userIdstringse puede exigir

    Instagram's numeric account id, as a string.

  • usernamestring

    Instagram username without the leading @.

  • verifiedboolean

    Whether the account carries Instagram's verified badge.

each mediadata.posts[].media[]

Photo, video, and GIF attachments on the post. Empty when the post has none.

  • heightinteger

    Pixel height of the media item, when the lane reports it.

  • typestring

    One of photo, video, or gif.

  • urlstring

    Image URL. For a video or GIF this is the poster/thumbnail frame.

  • videoUrlstring

    Playable video file URL. Present only for video and gif items.

  • widthinteger

    Pixel width of the media item, when the lane reports it.

each taggedUserdata.posts[].taggedUsers[]

Accounts tagged in the media. Null when the serving source does not report it.

  • displayNamestring

    Account display name.

  • userIdstringse puede exigir

    Instagram's numeric account id, as a string.

  • usernamestring

    Instagram username without the leading @.

top level
  • foundboolean

    true

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

¿Vendes esta API? Consulta el esquema completo que debe devolver tu endpoint.

Preguntas frecuentes

Acerca del endpoint Publicaciones del usuario de la API de Instagram

El endpoint Publicaciones del usuario de AnyAPI para Instagram devuelve datos de Instagram como JSON normalizado con una sola llamada POST a /v1/run/instagram.user_posts. Cuadrícula paginada de las publicaciones y Reels de un perfil con descripciones, URLs de medios e interacción. Pagina con el campo cursor. AnyAPI enruta cada solicitud entre 7 fuentes y recurre automáticamente a otra cuando una falla. Cuesta desde US$0.80 por cada 1,000 solicitudes, en dólares estadounidenses, sin suscripción y sin mínimo mensual. En los últimos 30 días, el 99.9% de las llamadas al endpoint Publicaciones del usuario de la API de Instagram a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 2.6 segundos en 346.642 llamadas medidas.

Cuesta desde US$0.80 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.

Cuadrícula paginada de las publicaciones y Reels de un perfil con descripciones, URLs de medios e interacción. Pagina con el campo cursor. 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 99.9% de las llamadas al endpoint Publicaciones del usuario de la API de Instagram a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 2.6 segundos en 346.642 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 125 llamadas a Publicaciones del usuario de Instagram a US$0.0008 cada una.

AnyAPI consulta la siguiente de sus 7 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/instagram.user_posts 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 Instagram

Perfildesde US$0.90 /1k solic.Publicacióndesde US$0.50 /1k solic.Reels del usuariodesde US$0.80 /1k solic.Comentarios de la publicacióndesde US$0.80 /1k solic.Búsqueda por hashtagdesde US$1.20 /1k solic.Reels con un audiodesde US$1.10 /1k solic.Perfil básicodesde US$1.00 /1k solic.Comment likersdesde US$1.10 /1k solic.Respuestas a comentariosdesde US$1.10 /1k solic.Código de insercióndesde US$1.20 /1k solic.Seguidoresdesde US$1.73 /1k solic.Seguidosdesde US$1.73 /1k solic.Analítica de hashtagdesde US$1.10 /1k solic.Publicaciones recientes de un hashtagdesde US$1.88 /1k solic.Publicaciones destacadas de un hashtagdesde US$1.88 /1k solic.Detalle de historia destacadadesde US$1.10 /1k solic.Location detailsdesde US$1.10 /1k solic.Publicaciones de una ubicacióndesde US$1.10 /1k solic.Transcripción de contenidodesde US$1.20 /1k solic.Cuentas que dieron me gustadesde US$1.10 /1k solic.Contacto del perfildesde US$1.75 /1k solic.Transcripción de reeldesde US$5.94 /1k minutos de audioBúsqueda de Reelsdesde US$1.88 /1k solic.Buscardesde US$1.26 /1k solic.Buscar seguidoresdesde US$2.20 /1k solic.Buscar seguidosdesde US$2.20 /1k solic.Buscar ubicacionesdesde US$1.10 /1k solic.Buscar perfilesdesde US$1.20 /1k solic.Buscar perfiles con contactodesde US$6.67 /1k perfilesPerfiles similaresdesde US$1.75 /1k solic.Historias (completo)desde US$2.20 /1k solic.Historias (resumido)desde US$1.88 /1k solic.Suggested profilesdesde US$2.20 /1k solic.Publicaciones etiquetadasdesde US$1.88 /1k solic.Reels en tendenciadesde US$1.20 /1k solic.Historias destacadasdesde US$1.20 /1k solic.User reels logged indesde US$1.73 /1k solic.Publicaciones compartidasdesde US$1.10 /1k solic.Búsqueda de Reels en la webdesde US$1.20 /1k solic.