Instagram Location details API

Read the profile of one place from its location_id: name, category, lat, lng and post_count, for $0.56 per 1,000 calls.

  • One place per call
  • A place page link works as input
  • Failed calls and empty results are not charged

API health

24h health
Normal
  • Healthy / normal
  • Available
  • Limited
  • Mostly down
Normal

Last 24 hours

Last 30 days

  1. 1Request

    POST /api/v1/social
    {
      "platform": "instagram",
      "action": "location_info",
      "params": {
        "location_id": "212988663"
      }
    }
  2. 2JSON response

    {
      "results": {
        "location_id": "212988663",
        "name": "New York, New York",
        "category": "City",
        "lat": 40.7142,
        …
      }
    }
  3. 3Fields

    location_idnamecategorylat
    212988663New York, New YorkCity40.7142
  4. 4CSV

    instagram-location_info-sample.csv location_id,name,category,lat,lng,address,city,zip,phone,website,post_count,url,platform

A request with location_id goes in. One JSON object comes back with name, category, lat, lng, post_count and more. These become a field table and a CSV file.

What data you get

The table shows one real call for place 212988663, captured November 21, 2026 at 07:18 (UTC), that returned one object. Your own calls return these fields as listed in the field reference. Items the place does not have, such as zip and website, are absent.

location_idnamecategorylatlngaddresscityzipphonewebsitepost_counturlplatform
212988663New York, New YorkCity40.7142-74.0064nullnullnullnullnull84324691https://www.instagram.com/explore/locations/212988663/instagram

Use cases

  • Build a place record

    Store location_id, name and category as a basic record for each place.

  • Put places on a map

    Use lat and lng to place the point and name to label it.

  • Compare how active places are

    Read post_count to compare the total posts at several places.

  • Check the address and website

    Read address, city and website when they are given. Do not treat them as always present.

Instagram Graph API vs EveryInfra

Here is how the official Instagram Graph API and EveryInfra location_info compare on platform scope and on account requirement.

ComparedInstagram Graph APIEveryInfra
Platform scope"The Instagram Platform is a collection of APIs that allows your app to access data for Instagram professional accounts, including business and creator accounts."It reads the profile of an Instagram place, which is not the data of any professional account. You do not need to connect an Instagram account to your app first.
Account requirement"To use the APIs, your app users must have an Instagram professional account"The request carries location_id and one EveryInfra API key. You and your users do not need an Instagram professional account.

Quotes are from Meta's developer documentation, checked 2026-11-22. This table compares access conditions only. Official sources: Instagram Platform overview (updated 2026-10-29)

Limits and gotchas

  • location_id is required. Use the id in a post's location_detail, or the number in a place page link. You can also pass the link itself.
  • One call reads one place and returns one object. There is no paging.
  • lat and lng are the coordinates. post_count is the total number of posts at the place.
  • zip is absent when the place has none, and website is given only when present. address, city and phone can also be absent, so do not treat them as always present.
  • A place number that does not exist returns 503 and is not charged.
  • This capability does not return the posts at the place. Use location_posts for those.

Pricing

You pay $0.000556 per call, not per field. One call reads one place. Failed calls and empty results are not charged.

CallsCost
10,000$5.56
100,000$55.56
1,000,000$555.56

Totals use the list price per call.

Code samples

#
bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "instagram",
  "action": "location_info",
  "params": {
    "location_id": "212988663"
  }
}'

OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.

API reference

See the parameters, response fields, errors and billing for location_info, and copy the page or open it as Markdown for an AI assistant.

POST

AI prompt

#
Please help me write a data collection script with the EveryInfra Instagram Location details endpoint (instagram/location_info).

How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to instagram and action to location_info, and put the parameters inside params.
- Required parameters:
  - location_id: A numeric location ID: the id in a post's location_detail, or the number in a location page link such as https://www.instagram.com/explore/locations/212988663/. You can pass the link itself too.
- Returns one object. Main fields: location_id (Location ID), name, category, lat (Latitude), lng (Longitude), address, city, zip ((location_info) Postal code), phone, website, post_count, url.
- Example request body:
{
  "platform": "instagram",
  "action": "location_info",
  "params": {
    "location_id": "212988663"
  }
}
- Price: $0.56 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.

Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.

Request parameters

#
NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
platformbodystringYesinstagramPlatform identifier, fixed value.
actionbodystringYeslocation_infoCapability identifier, fixed value.
location_idbody.paramsstringYes-A numeric location ID: the id in a post's location_detail, or the number in a location page link such as https://www.instagram.com/explore/locations/212988663/. You can pass the link itself too.

Response example

#
Captured November 21, 2026 at 07:18 (UTC) by calling this API with the parameters in the code sample above. results and count are that call's real response with personal information (names, handles, avatars, profile links, contact details) removed. id, billing and quota differ on every call, so only their shape is shown.
json
{  "id": "req_…",  "platform": "instagram",  "action": "location_info",  "results": {    "location_id": "212988663",    "name": "New York, New York",    "category": "City",    "lat": 40.7142,    "lng": -74.0064,    "post_count": 84324691,    "url": "https://www.instagram.com/explore/locations/212988663/",    "platform": "instagram"  },  "billing": {    "charged": …,    "charged_usd": …,    "balance_after_usd": …,    …  },  "quota": { … }}

Response fields

#

Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.

FieldMeaning
location_idLocation ID. Pass it to location_info, location_nearby or location_posts.
nameName of the object itself, for account, product and business capabilities.
categoryCategory name in the platform's own taxonomy, not normalized across platforms.
latLatitude.
lngLongitude.
addressFull address, passed through as is.
cityCity name in the platform's language, not normalized.
zip(location_info) Postal code; absent when the location has none.
phoneContact phone number, passed through without format normalization.
websiteExternal website entered by the account or business.
post_countTotal posts. null means not disclosed, not 0.
urlLink to the record on the platform.
platformSource platform identifier, the same as platform in the request (for example xiaohongshu, tiktok).

Errors and billing

#
401
Missing or invalid key.
402
Insufficient balance. Top up first.
422
Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
429
Per-minute request limit reached. Wait for Retry-After, then try again.
503
Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
200 empty
No data. No charge.

Errors

FAQ

What fields does the Instagram place API return?

It returns one object: location_id, name, category, lat, lng, address, city, zip, phone, website, post_count and url. Items the place has not filled in are absent.

Where do I get location_id?

Use the id in a post's location_detail, or the number in a place page link. The results of city_locations also carry it.

What is post_count?

It is the total number of posts at the place. To read those posts, use location_posts.

How much does it cost to read a place?

It costs $0.000556 per call, or $0.56 per 1,000 calls, billed per call and not per field. Failed calls and empty results are not charged.

Do I need an Instagram login?

No. You send one EveryInfra API key in the Authorization: Bearer header, and the request carries only location_id. No Instagram login or access token is needed.

You can call the other Instagram endpoints with the same key, such as location_nearby to list the places near this one.

Google Analytics needs consent. Privacy