Instagram Location Scraper API
Get a public Instagram location from its ID: name, category, coordinates and how many posts are tagged there.
- 1 credit per call
- Failed calls are free
- Updated
- instagram.location.get
{ "data": { "name": "London, United Kingdom", "category": "City", "lat": 51.5141, "lng": -0.1094, "location_address": "", "location_city": "", "location_id": "213385402", "location_zip": "", "media_count": 106157871, "price_range": 2, "slug": "london-united-kingdom", "hours": { "status": "" }, "ig_business": { "profile": null } }}
What you send
The input
object of the request, with every field the endpoint accepts.
| Field | Type | Required | What it does | Example |
|---|---|---|---|---|
| location_id | string | yes | Numeric Instagram location ID | 213385402 |
Fields it returns
What each record in the response holds, with the values from the sample above.
| Field | Type | What it is | Example |
|---|---|---|---|
| data | object | The place. | 13 fields |
| data.category | string | The kind of place, such as City. | City |
| data.hours | object | Opening hours, when Instagram shows them. | 1 fields |
| data.hours.status | string | Opening status, when Instagram shows it. | |
| data.ig_business | object | The place's business account, when it has one. | 1 fields |
| data.ig_business.profile | null | The business account's profile, when there is one. | null |
| data.lat | number | Latitude. | 51.51 |
| data.lng | number | Longitude. | -0.11 |
| data.location_address | string | Street address, when listed. | |
| data.location_city | string | City, when listed. | |
| data.location_id | string | Instagram's ID for the place. | 213385402 |
| data.location_zip | string | Postcode, when listed. | |
| data.media_count | integer | How many posts Instagram reports for this place. | 106,157,871 |
| data.name | string | The place's name. | London, United Kingdom |
| data.price_range | integer | The price level Instagram shows for the place. | 2 |
| data.slug | string | The place's name as it appears in its link. | london-united-kingdom |
Call it from your code, or ask your agent
Set UPSCRAPE_API_KEY to your key and copy a working request.
curl --request POST \ --url https://data.upscrape.com/execute \ --header "Authorization: Bearer $UPSCRAPE_API_KEY" \ --header "Content-Type: application/json" \ --header "Prefer: wait=30" \ --data '{ "capability": "instagram.location.get", "input": { "location_id": "213385402" }}'
import jsonimport osimport requestspayload = json.loads(r'''{ "capability": "instagram.location.get", "input": { "location_id": "213385402" }}''')response = requests.post( "https://data.upscrape.com/execute", headers={ "Authorization": f"Bearer {os.environ['UPSCRAPE_API_KEY']}", "Content-Type": "application/json", "Prefer": "wait=30", }, json=payload,)response.raise_for_status()print(json.dumps(response.json(), indent=2))
const response = await fetch("https://data.upscrape.com/execute", { method: "POST", headers: { "Authorization": `Bearer ${process.env.UPSCRAPE_API_KEY}`, "Content-Type": "application/json", "Prefer": "wait=30", }, body: JSON.stringify({ "capability": "instagram.location.get", "input": { "location_id": "213385402" }}),});if (!response.ok) { throw new Error(`Upscrape request failed: ${response.status}`);}console.log(JSON.stringify(await response.json(), null, 2));
https://data.upscrape.com/mcp
With Upscrape, get the Instagram location for location id "213385402". Tell me what it costs before you run it, then show the results as a table.
More from the Instagram API
- Instagram Profile Scraper API1–1.5 credits
- Instagram Profile Posts Scraper API3–10 credits
- Instagram Reels Scraper API3–10 credits
- Instagram Post Scraper API0.75 credits
- Instagram Comments Scraper API0.75–25 credits
- Instagram Hashtag Posts Search Scraper API4–25 credits
- Instagram Hashtag Keyword Search Scraper API5–25 credits
- Instagram Popular Search Scraper API5–25 credits
- Instagram Topic Search Scraper API5–25 credits
- Instagram Topics Scraper API0.75 credits
- Instagram Profiles Search Scraper API1–25 credits
- Instagram Reels Search Scraper API1–10 credits
- Instagram Explore Scraper API0.75–1 credits
- Instagram Reels by Audio Scraper API2–10 credits
- Instagram Highlights Scraper API1 credit
- Instagram Saved Highlight Items Scraper API1.5 credits
- Instagram Basic Profile by ID Scraper API0.75 credits
- Instagram Embed Scraper API0.75 credits
The same data from other platforms
Instagram Location Scraper API FAQ
The short answers. The docs have the long ones.
How much does the Instagram Location Scraper API cost?
1 credit per successful call, shown before it runs. You buy credits once, and paid credits never expire.
What do I send?
Send location_id. The input fields below list every option with its type and limits.
Do I need an Instagram login?
No. It reads public Instagram data; nothing runs on your account.
Can my AI agent call it?
Yes, over MCP: the agent finds instagram.location.get, checks its price and runs it with the same credits as the REST API.
Your first Instagram call is free.
Up to 100 free credits to start, no card needed.