Instagram API

Instagram Location posts API

List public Instagram posts tagged at a location, ranked or most recent, with cursor pagination.

$1.20/1k req, pay per request, no subscription.

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

Brooklyn Bridge Park

TOPRECENT
What the API returnedposts[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,
+5 more fields
}
Uptime
100.00%
30d · 171 calls
Requests
172
30d · weekly, last 12 wks
Response
3.5s
median · 30d

Pricing

Instagram Location posts API pricing

Providers
Tiger171 served100.00% uptime3376ms p50$1.20/1k reqflat
You pay
$12.00
$1.20/1k req, only for what you use. No monthly plan.
Your first 83 requests are free with the $0.10 starting balance.

Try it

Get Instagram location posts in one request

Open in
Get a free key
Sample response
Free runs return only the first 3 results. Fund a key to get the full response.
{
  "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"
          }
        ]
      }
    ]
  }
}

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

Reference

One request, one response shape.

Every field you send and every field you get back, each with a real example.

Last verified 2026-10-09 · uptime and latency measured over 30d

Request body

JSON, posted to this endpoint.

  • locationIdstring

    103912118089363

    Instagram location id, as returned by instagram.search_locations.

  • cursorstring

    Pagination cursor from a previous response's nextCursor.

  • sortenum

    recent

    Order the posts by Instagram's top ranking or by newest first. Defaults to ranked.

You send. A small JSON body. The values shown are examples to replace with your own.

Response

JSON, one example value per field.

  • foundboolean

    true

datadata
  • nextCursorstring

    QVFDcXlkbG9jYXRpb25GZWVkQ3Vyc29y

each postdata.posts[]
  • idstring

    3495710238412098765

  • shortcodestring

    C9zQ1kRoXaB

  • urlstring

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

  • authorstring

    marcus.eats.nyc

  • authorVerifiedboolean

    false

  • avatarUrlstring

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

  • captionstring

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

  • likesnumber

    812

  • commentsnumber

    24

  • createdUtcnumber

    1727654400

  • imagestring

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

  • mediaTypestring

    photo

  • locationNamestring

    Brooklyn Bridge Park

You get back. Named, typed fields in the same shape whichever source answers.

FAQ

About the Instagram Location posts API

The AnyAPI Instagram Location posts API returns Instagram location posts data as normalized JSON from one POST call to /v1/run/instagram.location_posts. List public Instagram posts tagged at a location, ranked or most recent, with cursor pagination. AnyAPI returns one normalized schema whichever source serves it. 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 Instagram location posts calls through AnyAPI succeeded, with a median response time of 3.5 seconds across 171 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 and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

List public Instagram posts tagged at a location, ranked or most recent, with cursor pagination. 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 Instagram location posts calls through AnyAPI succeeded, with a median response time of 3.5 seconds across 171 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.

Yes. A new AnyAPI account starts with $0.10 of free balance and no card required, which covers 83 Instagram Location posts calls at $0.0012 each.

Send a POST request to https://api.getanyapi.com/v1/run/instagram.location_posts with your AnyAPI key in an "Authorization: Bearer" header and the input as a JSON body. The same key and the same wallet work on every AnyAPI endpoint.

No. You add US dollars to one prepaid AnyAPI balance and each request draws it down. There is no monthly plan and no minimum, and the same balance pays for every AnyAPI endpoint.

Yes. Install @getanyapi/sdk from npm for TypeScript or getanyapi from pip for Python. Both call every AnyAPI endpoint with the same key, and any HTTP client works too.

Yes. An agent can connect to the AnyAPI MCP server at https://api.getanyapi.com/mcp, or create its own free-trial key with one unauthenticated POST to https://api.getanyapi.com/agent/signup and call this endpoint over HTTP.