Instagram data API

Instagram Location Details & Posts API

Look up any Instagram place by its numeric location ID to get its address, GPS coordinates, category, contact details and post count, or pull paginated top (ranked) and latest (recent) posts tagged there.

Request

GET /v1/locations/{location_id} · 1 credit per successful call

cURL
curl "https://api.igramapi.com/v1/locations/212988663" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

200 OK · application/json
{
  "location": {
    "id": "212988663",
    "name": "Example Landmark",
    "slug": "example-landmark",
    "address": "Midtown",
    "city": "New York",
    "zip": "10036",
    "lat": 40.758,
    "lng": -73.9855,
    "category": "Landmark",
    "post_count": 987654,
    "canonical_url": "https://www.instagram.com/explore/locations/212988663/"
  },
  "cached": false
}

All values above are made-up examples. Media links are temporary Instagram CDN addresses.

Parameters

NameInDescription
location_idrequired path Numeric location ID (from /v1/search places or /v1/resolve).

Response fields

FieldTypeDescription
location.id / name / categorystringPlace identifier, title and category.
location.address / city / lat / lngstring / number | nullStreet details and coordinates.
location.post_countinteger | nullTotal tagged posts reported for the place.

Place details (1 credit)

Address, city, zip, coordinates, category, phone, website and total tagged post count.

Ranked and recent feeds (2 credits)

Call /v1/locations/{location_id}/posts?tab=ranked|recent with cursor pagination.

Pairs with Search & Resolve

Extract location IDs from /v1/search places, post payloads or /v1/resolve.

Local discovery, travel and venue analytics

Track what visitors are posting at hotels, restaurants, events and landmarks. Switch tab=recent to monitor newly tagged posts and reels in chronological order.

Frequently asked questions

Where do I get a location_id?

From places[].pk in /v1/search, from location.id on a post, or from /v1/resolve on an Instagram location URL.

How do I fetch posts at a location?

Call GET /v1/locations/{location_id}/posts (2 credits per page) with tab=ranked or tab=recent.

Our errors cost nothing. Failures on our side (status 500 or above) and invalid requests (400, 422) are refunded, and every error has the same shape. See error handling and credits and rate limits.

Try the Location API free

Create a key and make your first request in minutes. 100 free credits every month.