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
Last 24 hours
Last 30 days
1Request
POST /api/v1/social { "platform": "instagram", "action": "location_info", "params": { "location_id": "212988663" } }2JSON response
{ "results": { "location_id": "212988663", "name": "New York, New York", "category": "City", "lat": 40.7142, … } }3Fields
location_id name category lat 212988663 New York, New York City 40.7142 4CSV
instagram-location_info-sample.csv location_id,name,category,lat,lng,address,city,zip,phone,website,post_count,url,platform
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_id | name | category | lat | lng | address | city | zip | phone | website | post_count | url | platform |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 212988663 | New York, New York | City | 40.7142 | -74.0064 | null | null | null | null | null | 84324691 | https://www.instagram.com/explore/locations/212988663/ |
Use cases
Build a place record
Store
location_id,nameandcategoryas a basic record for each place.Put places on a map
Use
latandlngto place the point andnameto label it.Compare how active places are
Read
post_countto compare the total posts at several places.Check the address and website
Read
address,cityandwebsitewhen 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.
| Compared | Instagram Graph API | EveryInfra |
|---|---|---|
| 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_idis required. Use theidin a post'slocation_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.
latandlngare the coordinates.post_countis the total number of posts at the place.zipis absent when the place has none, andwebsiteis given only when present.address,cityandphonecan 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_postsfor those.
Pricing
You pay $0.000556 per call, not per field. One call reads one place. Failed calls and empty results are not charged.
| Calls | Cost |
|---|---|
| 10,000 | $5.56 |
| 100,000 | $55.56 |
| 1,000,000 | $555.56 |
Totals use the list price per call.
Code samples
#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.
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
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | instagram | Platform identifier, fixed value. |
action | body | string | Yes | location_info | Capability identifier, fixed value. |
location_id | body.params | string | Yes | - | 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
#{ "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.
| Field | Meaning |
|---|---|
location_id | Location ID. Pass it to location_info, location_nearby or location_posts. |
name | Name of the object itself, for account, product and business capabilities. |
category | Category name in the platform's own taxonomy, not normalized across platforms. |
lat | Latitude. |
lng | Longitude. |
address | Full address, passed through as is. |
city | City name in the platform's language, not normalized. |
zip | (location_info) Postal code; absent when the location has none. |
phone | Contact phone number, passed through without format normalization. |
website | External website entered by the account or business. |
post_count | Total posts. null means not disclosed, not 0. |
url | Link to the record on the platform. |
platform | Source 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.
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.
Related Instagram endpoints
You can call the other Instagram endpoints with the same key, such as location_nearby to list the places near this one.
- Post details
post$0.56 per 1,000 callsFetch one or more Instagram posts or Reels from the links inurls. - Details
profile$0.56 per 1,000 callsLook up an Instagram account by handle or profile URL. - Account insights
persona$0.56 per 1,000 callsGet an account overview for an Instagram handle, built from its public profile. - Posts by user
user_posts$0.56 per 1,000 callsList posts from an Instagram account byusername, each with caption, media type, likes, comments, views, location, hashtags and top comments. - Content discovery
discover$0.56 per 1,000 callsTrack posts under an Instagram hashtag passed inkeyword. - Comments
comments$0.79 per 1,000 callsRead comments on one Instagram post or Reel aturl. - Reels
reels$1.19 per 1,000 callsPull an Instagram account's Reels byusername, with caption, play count, duration in seconds, likes, comments, hashtags, music and video link. - Hashtag
hashtag$0.56 per 1,000 callsCollect posts for an Instagram hashtag inhashtag, without the # sign. - Followers
followers$0.56 per 1,000 callsSee the follower and following counts of an Instagram account byusername. - Follower list
followers_list$0.56 per 1,000 callsList the accounts that follow an Instagram user, byusername, with handle, name, avatar, private and verified flags and relation type. - Following list
following_list$0.56 per 1,000 callsList the accounts an Instagram user follows, byusername, with handle, name, avatar, private and verified flags and relation type. - Account search
user_search$4.81 per 1,000 callsSearch Instagram accounts bykeyword, in the order Instagram search ranks them for that word. - Reels search
reels_search$7.19 per 1,000 callsSearch Instagram Reels bykeyword, such as coffee. - Similar accounts
similar_profiles$8.81 per 1,000 callsFind accounts Instagram suggests as similar to one account, byusernamesuch as nasa. - Tagged posts
tagged_posts$7.44 per 1,000 callsList public posts by other accounts that tag one Instagram account, given asusername, profile URL or numeric user ID. - Stories
stories$1.5 per 1,000 callsGet the stories an Instagram account has live right now, from its username. - Story highlights
highlights$1.6 per 1,000 callsList the story highlights on an Instagram profile. - Comment replies
comment_replies$0.88 per 1,000 callsRead the replies under one comment on an Instagram post or Reel, from the post link and the comment'sidreturned bycomments. - Post likers
likers$1.32 per 1,000 callsList the accounts that liked one Instagram post or Reel, from itsurl. - Posts at a location
location_posts$0.56 per 1,000 callsList the posts tagged at one Instagram location, fromlocation_id(theidin a post'slocation_detail, or a location page link). - Reels using a music track
audio_posts$0.56 per 1,000 callsList the Instagram Reels that use one piece of music, fromaudio_id(theaudio_idin a post'smusic, or an audio page link). - Explore
explore$0.56 per 1,000 callsRead one page of the posts Instagram recommends on Explore; no input is needed. - Engagement statistics
engagement$0.56 per 1,000 callsWork out an Instagram account's engagement from its latest posts, byusername. - Profile by numeric ID
profile_by_id$0.56 per 1,000 callsLook up an Instagram account from its numericuser_id. - About this account
user_about$0.56 per 1,000 callsRead the About this account panel of an Instagram profile byusername: the month it joined (joined_at), itscountry, how many times it changed its username (former_usernames_count) and when it was verified. - Link recognition
resolve_links$0.56 per 1,000 callsConvert one Instagram post reference intext(a post link, a shortcode or a numeric post ID) into all three:shortcode,media_idandurl. - Post embed code
oembed$0.56 per 1,000 callsGet the oEmbed data and embed code for one Instagram post or Reel from itsurl: the same fields as Instagram's official oEmbed, withhtmlready to paste into a web page. - Post caption translation
post_translation$6.39 per 1,000 callsTranslate the caption of one Instagram post intotarget_language(defaulten), from itsurlormedia_id. - Nearby locations
location_nearby$0.56 per 1,000 callsList the locations Instagram shows near one location, from itslocation_id: about 20 rows in one call, no next page. - Hashtag search
hashtag_search$0.56 per 1,000 callsFind Instagram hashtags for akeyword: the hashtags Instagram's search box suggests, withpost_countfor each. - Stories in a highlight
highlight_stories$0.56 per 1,000 callsRead every story in one Instagram highlight fromhighlight_id(theidfromhighlights, or a highlight link): up to 100 stories in one call, with media links,posted_atandduration_seconds. - Comment translations
comment_translations$6.39 per 1,000 callsTranslate up to 10 comments on one Instagram post, from the posturlandcomment_ids, intotarget_language(defaulten). - Recommended Reels
recommended_reels$1.18 per 1,000 callsRead the Reels Instagram recommends on its Reels page, 10 per page; no input is needed. - User reposts
user_reposts$0.56 per 1,000 callsList the posts and Reels an Instagram account reposted to its profile, byusername, 12 per page. - Cities in a country
location_cities$0.56 per 1,000 callsList the cities Instagram's location directory has for onecountry_code, 96 per page. - Locations in a city
city_locations$0.56 per 1,000 callsList the locations Instagram's location directory has for one city, fromcity_id, 96 per page. - Profiles in bulk
profiles_batch$0.56 per 1,000 callsLook up as many as 20 Instagram accounts at once fromusernames, each given as a username such asnatgeoor a profile link.