Platforms/Instagram/Location

Instagram Location API

GET · 1 credit

Send a place's id or link, and get its name, category, post count, coordinates and address.

GET /v1/instagram/locations

What people use it for

  • Local research: compare places by how many posts are tagged there.
  • Venue data: read a restaurant's or shop's address, phone and coordinates.
  • Geo analysis: map the places tagged in a brand's or creator's posts.

How it works with other endpoints

Place ids come from a place's link or from Post's location.id. The same id goes to Location posts for the top posts tagged there.

Limits

  • One place a call.
  • address, zip and phone are set only when the place's page lists them.

Example request

const url = `${process.env.API_URL}/v1/instagram/locations?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": "212988663",
    "url": "https://www.instagram.com/explore/locations/212988663/",
    "name": "New York, New York",
    "category": "City",
    "post_count": 92000000,
    "latitude": 40.7142,
    "longitude": -74.0064,
    "address": null,
    "city": "New York, New York",
    "zip": null,
    "phone": null
  },
  "page": null,
  "meta": {
    "platform": "instagram",
    "endpoint": "location",
    "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

Where do place ids come from?

From the digits after /explore/locations/ in a place's link, or from location.id on a post from Post.

Why are address and phone empty?

They're set only when the place's page lists them.

How do I get the posts tagged there?

Send the same id to Location posts.

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