Platforms/Instagram/Location posts

Instagram Location Posts API

GET ยท 1 credit

Send a place's id or link, and get the top posts tagged there: the 12 to 15 its page shows logged out.

GET /v1/instagram/locations/posts

What people use it for

  • Venue monitoring: see the top posts tagged at your restaurant, store or event space.
  • Local influencer discovery: find the accounts whose posts lead a place's page.

How it works with other endpoints

Get a place's details from Location. Each post's code goes to Post and Post comments.

Limits

  • The 12 to 15 top posts; no next page.
  • Image and video links are signed by Instagram and expire after a while: save the files you need soon after the call.

Example request

const url = `${process.env.API_URL}/v1/instagram/locations/posts?location_id=212988663`;

const response = await fetch(url, {
  headers: { "x-api-key": process.env.API_KEY },
});

const { data } = await response.json();
console.log(data);

Parameters

ParameterRequiredDescription
location_idNoA place's id: the digits after /explore/locations/ in its link. Give location_id or url.
urlNoA place's link: instagram.com/explore/locations/<id>. Give location_id or url.

Example response

{
  "data": [
    {
      "id": "3509876543210987654",
      "code": "DdW3kLmQp8z",
      "url": "https://www.instagram.com/p/DdW3kLmQp8z/",
      "type": "image",
      "is_reel": false,
      "caption": "Golden hour over the skyline",
      "created_at": "2026-11-26T21:40:00Z",
      "likes": 42000,
      "comment_count": 310,
      "plays": null,
      "thumbnail": "https://scontent.cdninstagram.com/v/t51.29350-15/location-post.jpg?oe=6750A1B2",
      "video_url": null,
      "width": 1080,
      "height": 1350,
      "author": "cityscapes.daily",
      "author_id": "5500000000",
      "author_name": "City Scapes",
      "author_verified": false
    }
  ],
  "page": null,
  "meta": {
    "platform": "instagram",
    "endpoint": "location_posts",
    "params": {
      "location_id": "212988663"
    },
    "request_id": "sp_req_1f8c2d3e4a5b6c7d",
    "api_version": "v1",
    "fetched_at": "2026-11-30T09:30:00Z",
    "cached": false
  }
}

An illustrative answer: live answers have the same shape, with the page's current data.

Every field, with its type, is in the API reference, and every error code in Errors.

Price

Each call costs 1 credit, a not-found answer too. Cached answers and other errors cost nothing, and credits never expire. New accounts start with 100 free credits. See pricing for the packs.

FAQ

How many posts can I get?

The 12 to 15 top posts the place's page shows a logged-out visitor; there is no next page.

Are these the newest posts?

No. They're the top posts Instagram shows for the place.

How do I get a post's comments?

Send its code to Post comments.

Works with

Start free

Your first 100 credits are on us

Sign up, create a key and make your first call in a few minutes.

No credit card required