API Instagram

Instagram Publications d’un lieu API

Listez les publications Instagram publiques géolocalisées à un lieu, classées ou les plus récentes, avec pagination par curseur.

1,10 $US/1k req, paiement à la requête, sans abonnement.

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

Brooklyn Bridge Park

TOPRECENT
Ce que l’API a renvoyéposts[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 champs de plus
}
Disponibilité
96,60%
30d · 4 643 appels
Requêtes
4 653
30 j · par semaine, 12 dernières sem.
Réponse
4,7s
médiane · 30d

Tarifs et fournisseurs

Tarifs de l’API Instagram Publications d’un lieu : une API, 2 fournisseurs interchangeables

Le fournisseur le moins cher répond en premier. S’il échoue, le suivant prend le relais dans le même appel.

Vous payez
11,00 $US
1,10 $US/1k req, seulement pour ce que vous utilisez. Aucun forfait mensuel.
Vos 90 premières requêtes sont gratuites avec le solde de départ de 0,10 $US.

Essayer

Obtenez Instagram Publications d’un lieu en une requête

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.
Ouvrir dans
Obtenir une clé gratuite
Exemple de réponse
Les exécutions gratuites ne renvoient que les 3 premiers résultats. Alimentez une clé pour obtenir la réponse complète.

Cet exemple affiche 34 champs sur 46. Voir tous les champs

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

Référence complète des paramètres et de la réponse : chaque champ, type et exemple de cet endpoint.

Référence

Une requête, une seule forme de réponse.

Chaque champ que vous envoyez et chaque champ que vous recevez, avec un vrai exemple.

Dernière vérification : 2026-11-21 · disponibilité et latence mesurées sur 30d

Corps de la requête

JSON, envoyé à cet endpoint.

  • locationIdstring

    103912118089363

    ID de lieu Instagram, tel que renvoyé par instagram.search_locations.

  • cursorstring

    Curseur de pagination issu du nextCursor d’une réponse précédente.

  • 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

    Classe les publications par classement Instagram (top) ou des plus récentes aux plus anciennes. Classées par défaut.

Vous envoyez. Un petit corps JSON. Les valeurs affichées sont des exemples à remplacer par les vôtres.

Réponse

JSON, une valeur d’exemple par champ.

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.

  • captionEditedbooleanpeut exiger

    Whether the caption has been edited since posting.

  • carouselCountintegerpeut exiger

    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.

  • hasAudiobooleanpeut exiger

    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.

Vous recevez. Des champs nommés et typés, dans la même forme quelle que soit la source qui répond.

FAQ

À propos de l’API Instagram Publications d’un lieu

L’API Instagram Publications d’un lieu d’AnyAPI renvoie des données Instagram en JSON normalisé à partir d’un appel POST à /v1/run/instagram.location_posts. Listez les publications Instagram publiques géolocalisées à un lieu, classées ou les plus récentes, avec pagination par curseur. AnyAPI route chaque requête sur 2 sources et bascule automatiquement quand l’une échoue. Elle coûte à partir de 1,10 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Ces 30 derniers jours, 96,6% des appels Instagram Publications d’un lieu passés par AnyAPI ont réussi, avec un temps de réponse médian de 4,7 secondes, sur 4 643 appels mesurés.

Elle coûte à partir de 1,10 $US pour 1 000 requêtes, en dollars US, sans abonnement et sans minimum mensuel. Vous alimentez un portefeuille en USD et chaque appel le débite. Certaines requêtes échouées financées par le portefeuille entraînent des frais de traitement que nous répercutons au prix coûtant, sans marge ; la réponse d’erreur indique le montant facturé.

Listez les publications Instagram publiques géolocalisées à un lieu, classées ou les plus récentes, avec pagination par curseur. La réponse est du JSON normalisé avec la même enveloppe que celle de tous les endpoints AnyAPI, donc analyser un second endpoint revient à changer l’URL et rien d’autre.

Ces 30 derniers jours, 96,6% des appels Instagram Publications d’un lieu passés par AnyAPI ont réussi, avec un temps de réponse médian de 4,7 secondes, sur 4 643 appels mesurés. Ce sont les propres mesures d’AnyAPI du trafic passant par la passerelle, recalculées en continu, et non un objectif de niveau de service publié.

Oui. Un nouveau compte AnyAPI démarre avec 0,10 $US de solde gratuit, sans carte, ce qui couvre 90 appels Instagram Publications d’un lieu à 0,0011 $US chacun.

AnyAPI interroge la suivante de ses 2 sources dans la même requête, la moins chère d’abord, donc la panne d’une source ne fait pas échouer votre appel.

Envoyez une requête POST à https://api.getanyapi.com/v1/run/instagram.location_posts avec votre clé AnyAPI dans un en-tête « Authorization: Bearer » et l’entrée en corps JSON. La même clé et le même portefeuille fonctionnent sur tous les endpoints AnyAPI.

Non. Vous ajoutez des dollars US à un solde AnyAPI prépayé unique et chaque requête le débite. Il n’y a ni forfait mensuel ni minimum, et le même solde paie tous les endpoints AnyAPI.

Oui. Installez @getanyapi/sdk depuis npm pour TypeScript ou getanyapi depuis pip pour Python. Les deux appellent chaque endpoint AnyAPI avec la même clé, et n’importe quel client HTTP fonctionne aussi.

Oui. Un agent peut se connecter au serveur MCP d’AnyAPI à https://api.getanyapi.com/mcp, ou créer sa propre clé d’essai gratuit avec un seul POST non authentifié vers https://api.getanyapi.com/agent/signup et appeler cet endpoint en HTTP.
À appeler aussi

Autres endpoints Instagram

Profilà partir de 0,54 $US /1k reqPublications de l’utilisateurà partir de 0,68 $US /1k reqPublicationà partir de 0,38 $US /1k reqReels de l’utilisateurà partir de 0,68 $US /1k reqCommentaires de la publicationà partir de 0,72 $US /1k reqRecherche de hashtagà partir de 1,20 $US /1k reqAccount aboutà partir de 2,20 $US /1k reqReels audioà partir de 1,10 $US /1k reqProfil de baseà partir de 0,80 $US /1k reqComment likersà partir de 1,10 $US /1k reqRéponses aux commentairesà partir de 1,10 $US /1k reqIntégrationà partir de 1,20 $US /1k reqAbonnésà partir de 1,73 $US /1k reqAbonnementsà partir de 1,73 $US /1k reqStatistiques de hashtagà partir de 1,10 $US /1k reqPublications récentes d’un hashtagà partir de 1,88 $US /1k reqPublications les plus populaires d’un hashtagà partir de 1,88 $US /1k reqDétail de la story à la uneà partir de 1,10 $US /1k reqLocation detailsà partir de 1,10 $US /1k reqTranscription du médiaà partir de 1,20 $US /1k reqMentions J’aime de la publicationà partir de 1,10 $US /1k reqContact du profilà partir de 0,40 $US /1k reqTranscription du reelà partir de 5,94 $US /1k minutes audioRecherche de reelsà partir de 1,88 $US /1k reqRechercheà partir de 1,26 $US /1k reqSearch audioà partir de 1,10 $US /1k reqRecherche d’abonnésà partir de 2,20 $US /1k reqRecherche d’abonnementsà partir de 2,20 $US /1k reqRecherche de lieuxà partir de 1,10 $US /1k reqRecherche de profilsà partir de 1,20 $US /1k reqRecherche de profils (contact)à partir de 6,67 $US /1k profilsProfils similairesà partir de 1,75 $US /1k reqStories (version complète)à partir de 2,20 $US /1k reqStories (version légère)à partir de 1,88 $US /1k reqStoryà partir de 2,20 $US /1k reqSuggested profilesà partir de 2,20 $US /1k reqPublications identifiéesà partir de 1,88 $US /1k reqReels tendanceà partir de 1,20 $US /1k reqStories à la une de l’utilisateurà partir de 1,20 $US /1k reqUser reels logged inà partir de 1,73 $US /1k reqRepublications de l’utilisateurà partir de 1,10 $US /1k reqRecherche de reels sur le webà partir de 1,20 $US /1k req