API de Instagram

API de Instagram: Publicaciones de una ubicación

Lista publicaciones públicas de Instagram etiquetadas en una ubicación, por clasificación o más recientes, con paginación por cursor.

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

Brooklyn Bridge Park • Instagram photos and videos
instagram.com/explore/locations/103912118089363/

Brooklyn Bridge Park

TOPRECENT
Lo que devolvió la APIposts[0]
{
"id": "3495710238412098765",
"shortcode": "C9zQ1kRoXaB",
"url": "https://www.instagram.com/p/C9zQ1kRoXaB/",
"author": "marcus.eats.nyc",
"authorVerified": false,
"avatarUrl": "https://cdninstagram.com/marcus-profile.jpg",
"caption": "Sunday brunch with a view of the water, best table in the city",
"likes": 812,
... 27 campos más
}
Disponibilidad
94.21%
30d · 2,986 llamadas
Solicitudes
2,987
30d · semanal, últimas 12 sem.
Respuesta
4.6s
mediana · 30d

Precios y proveedores

Precios del endpoint Publicaciones de una ubicación de la API de Instagram: 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$11.00
US$1.10/1k solic., solo por lo que usas. Sin plan mensual.
Tus primeras 90 solicitudes son gratis con el saldo inicial de US$0.10.

Pruébalo

Obtén Publicaciones de una ubicación 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 `carouselCount`, 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 34 de 46 campos. Ver todos los campos

{
  "found": true,
  "data": {
    "nextCursor": "QVFDcXlkbG9jYXRpb25GZWVkQ3Vyc29y",
    "posts": [
      {
        "id": "3495710238412098765",
        "shortcode": "C9zQ1kRoXaB",
        "url": "https://www.instagram.com/p/C9zQ1kRoXaB/",
        "author": "marcus.eats.nyc",
        "authorVerified": false,
        "avatarUrl": "https://cdninstagram.com/marcus-profile.jpg",
        "caption": "Sunday brunch with a view of the water, best table in the city",
        "likes": 812,
        "comments": 24,
        "createdUtc": 1727654400,
        "image": "https://cdninstagram.com/bk-bridge-park.jpg",
        "mediaType": "photo",
        "locationName": "Brooklyn Bridge Park"
      },
      {
        "id": "3495710238412098912",
        "shortcode": "C9zQ2mVoYcD",
        "url": "https://www.instagram.com/p/C9zQ2mVoYcD/",
        "author": "the.wandering.lens",
        "authorId": "60293841284",
        "authorVerified": true,
        "authorPrivate": false,
        "avatarUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/wandering-lens-profile.jpg",
        "caption": "Golden hour never disappoints at this spot",
        "captionEdited": false,
        "likes": 5340,
        "comments": 112,
        "createdUtc": 1727568000,
        "image": "https://scontent.cdninstagram.com/v/t51.29350-15/brooklyn-bridge-park-golden-hour.jpg",
        "videoUrl": "https://scontent.cdninstagram.com/v/t50.16885-16/brooklyn-bridge-park-golden-hour.mp4",
        "mediaType": "video",
        "productType": "clips",
        "width": 1080,
        "height": 1920,
        "hasAudio": true,
        "paidPartnership": false,
        "countsHidden": false,
        "locationId": "103912118089363",
        "locationName": "Brooklyn Bridge Park",
        "locationLat": 40.7024,
        "locationLng": -73.9967,
        "coauthors": [
          {
            "username": "nyc.skylines",
            "userId": "60293841390",
            "avatarUrl": "https://scontent.cdninstagram.com/v/t51.2885-19/nyc-skylines-profile.jpg"
          }
        ]
      }
    ]
  }
}

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.

  • locationIdstring

    103912118089363

    Id de ubicación de Instagram, tal como lo devuelve instagram.search_locations.

  • cursorstring

    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 `carouselCount`, 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.

  • sortenum

    recent

    Ordena las publicaciones según la clasificación destacada de Instagram o de la más nueva a la más antigua. Por defecto, por clasificación.

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

    QVFDcXlkbG9jYXRpb25GZWVkQ3Vyc29y

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

each postdata.posts[]

Public posts tagged at the location. Populated whenever the provider has data for the entity.

  • altTextstring

    Instagram's generated accessibility description of the media.

  • audioIdstring

    Instagram audio id of the sound; pass it to instagram.audio_reels as audioId to list reels that use it. Absent when the post has no sound.

  • authorstring

    marcus.eats.nyc

    Username of the account that posted it, without the leading @. Populated whenever the provider has data for the entity.

  • authorIdstring

    The author's numeric Instagram account id, as a string.

  • authorPrivateboolean

    Whether the author's account is private.

  • authorVerifiedboolean

    false

    Whether the author carries Instagram's verified badge.

  • avatarUrlstring

    https://cdninstagram.com/marcus-profile.jpg

    Author's profile picture URL, as Instagram's CDN serves it.

  • captionstring

    Sunday brunch with a view of the water, best table in the city

    Post caption text.

  • captionEditedbooleanse puede exigir

    Whether the caption has been edited since posting.

  • carouselCountintegerse puede exigir

    Number of slides, present on carousel posts only.

  • commentsinteger

    24

    Number of comments on the post.

  • countsHiddenboolean

    Whether the author has hidden the like and view counts.

  • createdUtcnumber

    1727654400

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

  • hasAudiobooleanse puede exigir

    Whether the video carries an audio track.

  • hashtagsstring[]

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

  • heightinteger

    Media height in pixels.

  • idstring

    3495710238412098765

    The post's numeric Instagram media ID, as a string. Populated whenever the provider has data for the entity.

  • imagestring

    https://cdninstagram.com/bk-bridge-park.jpg

    Post image or video thumbnail URL, as Instagram's CDN serves it. Populated whenever the provider has data for the entity.

  • likesinteger

    812

    Number of likes on the post.

  • locationIdstring

    Instagram location id the post is tagged at.

  • locationLatnumber

    Latitude of the tagged location, in decimal degrees.

  • locationLngnumber

    Longitude of the tagged location, in decimal degrees.

  • locationNamestring

    Brooklyn Bridge Park

    Name of the location the post is tagged at.

  • mediaTypestring

    photo

    What the post is: photo, video or carousel.

  • mentionsstring[]

    Accounts @mentioned in the caption, each including its leading @.

  • paidPartnershipboolean

    Whether the post is tagged as a paid partnership.

  • productTypestring

    Instagram's own surface label for the post, such as feed, clips or carousel_container.

  • shortcodestring

    C9zQ1kRoXaB

    The post's short code, the segment Instagram puts in its URL.

  • soundAuthorstring

    Credited artist of a licensed track, or the username of the account whose original audio it is. Absent when the post has no sound.

  • soundTitlestring

    Name of the sound. "Original audio" means the creator's own audio rather than a licensed track. Absent when the post has no sound.

  • urlstring

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

    Canonical URL of the post. Populated whenever the provider has data for the entity.

  • videoUrlstring

    Direct video file URL, present on video posts and reels only.

  • widthinteger

    Media width in pixels.

each coauthordata.posts[].coauthors[]

Accounts listed as coauthors of the post.

  • avatarUrlstring

    Coauthor's profile picture URL, as Instagram's CDN serves it.

  • userIdstring

    Instagram's numeric account id, as a string.

  • usernamestring

    Instagram username without the leading @.

each taggedUserdata.posts[].taggedUsers[]

Accounts tagged in the media.

  • displayNamestring

    Account display name.

  • userIdstring

    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.

Preguntas frecuentes

Acerca del endpoint Publicaciones de una ubicación de la API de Instagram

El endpoint Publicaciones de una ubicación de AnyAPI para Instagram devuelve datos de Instagram como JSON normalizado con una sola llamada POST a /v1/run/instagram.location_posts. Lista publicaciones públicas de Instagram etiquetadas en una ubicación, por clasificación o más recientes, con paginación por cursor. AnyAPI enruta cada solicitud entre 2 fuentes y recurre automáticamente a otra cuando una falla. Cuesta desde US$1.10 por cada 1,000 solicitudes, en dólares estadounidenses, sin suscripción y sin mínimo mensual. En los últimos 30 días, el 94.2% de las llamadas al endpoint Publicaciones de una ubicación de la API de Instagram a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 4.6 segundos en 2986 llamadas medidas.

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

Lista publicaciones públicas de Instagram etiquetadas en una ubicación, por clasificación o más recientes, con paginación por 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 94.2% de las llamadas al endpoint Publicaciones de una ubicación de la API de Instagram a través de AnyAPI tuvo éxito, con un tiempo de respuesta mediano de 4.6 segundos en 2986 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 90 llamadas a Publicaciones de una ubicación de Instagram a US$0.0011 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/instagram.location_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.Publicaciones del usuariodesde US$0.80 /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.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.