Part of 60+ Instagram endpoints

Instagram Location API

Resolve any Instagram location by id, pull the top public posts geotagged at a place, and search venues by latitude and longitude — with a single REST call. No Instagram login or access token required. Clean JSON, free tier.

No login or token < 1s responses Public data only Free plan available

What the Instagram Location API does

Every public post, reel or story can be tagged to a place, and Instagram maintains a rich database of those locations — venues, landmarks, cities and businesses. The InstaGapi Location API lets you resolve any location by its numeric id to get structured place details, pull the top public media geotagged there, and search for places by latitude and longitude.

Call /api/v1/location/by/id with a location id to get a single location object — its pk, name, category, full address (address, city, zip), phone, website, coordinates (lat, lng) and the external_id / external_id_source that link it to the underlying places database. Use /location/medias/top to fetch a JSON array of the top posts checked in at that place, or /location/search with lat and lng to return an array of nearby matching locations.

Place details

Name, address, category and coordinates

Geotagged media

Top public posts checked in at a place

Coordinate search

Find locations by lat and lng

Quick example

Just send your key in the X-Api-Key header:

curl -H "X-Api-Key: sk_live_your_key_here" \
  "https://api.instagapi.com/api/v1/location/by/id?id=212988663"

Example response

Simplified for readability — see the docs for the full schema.

{
  "pk": "212988663",
  "name": "Empire State Building",
  "phone": "+1 212-736-3100",
  "website": "http://www.esbnyc.com/",
  "category": "Landmark & Historical Place",
  "hours": {},                     // opening hours, when the place lists them
  "address": "350 5th Ave",
  "city": "New York, New York",
  "zip": "10118",
  "lng": -73.985428,
  "lat": 40.748817,
  "external_id": "212988663",
  "external_id_source": "facebook_places"
}

Endpoints

GET
/api/v1/location/by/id

Get location info

id
GET
/api/v1/location/medias/top

Get top media at a location

id
GET
/api/v1/location/search

Search locations by coordinates

lat, lng

What you can build with it

Location-based discovery

Find the most popular public posts geotagged at a venue, neighborhood or landmark to see what people share there.

Store & venue monitoring

Track public media checked in at your stores or event spaces to gauge foot-traffic buzz and customer content.

Travel & hospitality research

Surface real visitor photos and reels for hotels, restaurants and attractions to power guides, listings or reviews.

Geo market research

Search places by coordinates and compare geotagged activity across areas to inform expansion or ad targeting.

Related endpoints

One of 60+ endpoints. Explore more in the full documentation:

Frequently asked questions

What does the Instagram Location API return?

GET /api/v1/location/by/id returns a single location object — pk, name, phone, website, category, hours, address, city, zip, lng, lat, external_id and external_id_source. The medias/top and search endpoints each return a raw JSON array.

How do I find a location's id?

Use /api/v1/location/search with lat and lng coordinates to get an array of matching places, each with its pk — then pass that pk as the id to /location/by/id or /location/medias/top.

Can I get posts taken at a specific place?

Yes. Call /api/v1/location/medias/top with the location id to get a JSON array of the top public media geotagged at that place.

Do I need an Instagram login or access token?

No. Requests are authenticated with your InstaGapi key in the X-Api-Key header — there is no Instagram login, OAuth or access token involved.

Is pulling Instagram location data allowed?

InstaGapi is an independent service, not affiliated with Instagram or Meta, and returns publicly available data only. You are responsible for using it in line with Instagram's terms and the laws that apply where you operate.

What are external_id and external_id_source?

They link the Instagram place to the underlying places database it comes from — external_id_source names the source (for example facebook_places) and external_id is that record’s identifier.

Start working with Instagram location data in minutes

Create a free account, grab your API key, and make your first request today. No credit card required.