Instagram Location Scraper - Cheapest
Pricing
from $1.00 / 1,000 results
Instagram Location Scraper - Cheapest
Instagram Location Scraper — Extract Instagram location data, including place names, addresses, geotagged posts, captions, usernames, media URLs, and engagement metrics. Useful for local marketing, location-based research, competitor analysis, travel discovery, and social media insights.
Pricing
from $1.00 / 1,000 results
Rating
0.0
(0)
Developer
Social Data API
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
14 days ago
Last modified
Categories
Features
Share
Instagram Location Scraper — Posts, Owners and Place Details
Instagram Location Scraper collects posts tagged at a place on Instagram, starting from a location URL, a username, or a place keyword. Each result carries the caption, engagement counts, timestamps, the owner's profile, the tagged place with coordinates, and any attached video, image or audio. Every response is structured JSON — ready to pass directly to an LLM, index into a vector store, or feed a social-data pipeline. Results are saved as collection proceeds, so you can inspect the dataset before the run finishes. Start with one input, check the returned records, then add the other places or profiles you need.
What data can I extract with Instagram Location Scraper?
Using this Instagram location data scraper, you will be able to extract the following Instagram location post data:
| 📝 Post type & ID | 🔗 Permalink URL | 📅 Publish timestamp | ❤️ Like count |
|---|---|---|---|
| 💬 Comment count | 📄 Caption text | 🚦 Availability status | 🙈 Hidden-engagement flag |
| 📌 Pinned flag | 🤝 Paid-partnership flag | 🖼️ Carousel flag | 🎬 Video flag |
| 👤 Owner (id, username, name, avatar, verified) | 📍 Place (id, name, city, coordinates) | 🎞️ Video details (url, dimensions, duration) | 🖼️ Image details (url, dimensions) |
| 🔊 Audio details (title, artist, url) |
How to use Instagram Location Scraper
Anyone who needs to scrape Instagram location posts tied to a specific place — a city, venue, or landmark — can run this Actor with a location URL, username, or keyword and get a JSON dataset back.
Copy to your AI assistant:
`instagram-location-scraper` (discover it through Apify's Actor search) is an Apify Actor that returns Instagram location posts as structured JSON: caption, like count, comment count, publish timestamp, owner profile, tagged place with coordinates, and video, image or audio details. Use it whenever someone needs posts tied to a specific place without building their own pagination - venue monitoring, destination research, or comparing engagement across locations. Inputs: startUrls (array, location URLs, usernames, or place keywords, required), maxItems (integer, default 20, 0 means no requested cap), sessionId (string, secret, required, your logged-in Instagram sessionid cookie), dateFilterType ("absolute"|"relative", default "relative"), absoluteStartDate / absoluteEndDate (string, YYYY-MM-DD), relativeValue (integer, default 0), relativeUnit ("days"|"weeks"|"months"|"years", default "days"), sortOrder ("ranked"|"recent", default "ranked"), includeEngagement (boolean, default true), includeVideoMetadata (boolean, default true), proxyConfiguration (object). This Actor requires a valid Instagram session cookie; it does not have a logged-out mode.
Instagram Location Scraper MCP Server: use these Actors from ChatGPT, Claude or Cursor
Point your AI assistant at Apify's MCP server and it can read Instagram location data on its own. No glue code, no scraping logic in your prompts.
$claude mcp add --transport http apify "https://mcp.apify.com?tools=socialdataapi/instagram-location-scraper"
Your agent can then call this Actor directly through that server's own tools.
Step by step
- Create a free Apify account.
- Open Instagram Location Scraper in the Apify Store.
- Enter the location URL, username, or place keyword, and your Instagram session ID.
- Click Start (or send your API request).
- Download or stream your results in JSON, CSV, Excel or XML.
How to get your Instagram session ID
- Sign in to your Instagram account in a browser.
- Open Developer Tools and find Cookies under Application or Storage.
- Select Instagram and copy the
sessionidvalue. - Paste it into this Actor's secret Session ID field. Replace it when the session expires.
How to scale Instagram Location Scraper to bulk
startUrls is an array, so one run can queue many locations, usernames or keywords instead of one run per place. Every queued input shares the same maxItems budget fairly: pages from each input are collected in a round-robin, so one large location cannot drain the whole budget before the rest even start.
✨ Features
Instagram Location Scraper fetches clean, structured location posts from Instagram. It's ideal for venue monitoring, destination research, comparing engagement across nearby places, and feeding fresh location context to an AI agent instead of stale training data.
It extracts, per post:
- Like and comment counts – engagement numbers for the post.
- Caption text – the post's full caption.
- Owner profile – the posting account's id, username, name, avatar and verification status.
- Tagged place – place id, name, city and coordinates.
- Video, image or audio details – URLs, dimensions and duration for whichever media the post carries.
- Pinned, paid-partnership and carousel flags – so you can filter promotional or multi-media posts.
⚡ Proxy escalation runs automatically — direct, then datacenter, then residential — only when Instagram blocks the connection, so most runs never need it.
Use cases 💡
- Venue marketer — use an Instagram venue posts scraper to monitor what's being posted at a specific venue over time.
- Destination researcher — run this Instagram location posts API to export posts for a city or landmark for trend research.
- Social listening team — organize captions and place details with an Instagram geotagged posts scraper.
- Competitive analyst — scrape Instagram by location with an Instagram places scraper to compare engagement across venues.
- AI engineer — feed captions and place data into a RAG index as grounded, current location context.
Building an AI agent? Connect it over MCP and let it call the actor on its own.
Why choose this actor?
- 19 typed fields on every post. Each row returns the caption, engagement counts, the owner's profile, the tagged place with coordinates, and video, image or audio details — a recorded run returned a real post tagged at Berlin, Deutschland (52.50025°N, 13.34153°E) with an 83.6-second video attached.
- Three ways to start, one engine. A location URL, a username, or a place keyword all resolve through the same pagination and filtering engine, so you never have to look up a location ID yourself.
- No single input hogs the budget. When several inputs run together, result pages are collected in a round-robin — each input gets its fair share of the requested item cap instead of the first input draining it before the rest start.
⬇️ Input
This Actor accepts a list of location URLs, usernames, or place keywords, plus your Instagram session ID — both startUrls and sessionId are required.
| Parameter | Required | Type | Description | Example value |
|---|---|---|---|---|
startUrls | Yes | Array of String | Location URLs, usernames, or place keywords. | ["https://www.instagram.com/explore/locations/213131048/berlin-germany/"] |
sessionId | Yes | Secret String | Your logged-in Instagram sessionid cookie value. | "71234567%3AaBcDeFgHiJkLmN%3A..." |
maxItems | No | Integer (minimum 0) | Total posts across all inputs. 0 means no requested cap. Free plan: up to 20 per run and 200 per month. Default: 20 | 20 |
dateFilterType | No | String (enum: "absolute"|"relative") | Whether to filter posts by an absolute date range or a relative time window. Default: "relative" | "relative" |
absoluteStartDate | No | String (YYYY-MM-DD) | Start date when dateFilterType is "absolute". | "2026-01-01" |
absoluteEndDate | No | String (YYYY-MM-DD) | End date when dateFilterType is "absolute". Leave empty for today. | "2026-11-05" |
relativeValue | No | Integer (minimum 0) | Number of time units when dateFilterType is "relative". 0 disables relative filtering. Default: 0 | 30 |
relativeUnit | No | String (enum: "days"|"weeks"|"months"|"years") | Unit paired with relativeValue. Default: "days" | "days" |
sortOrder | No | String (enum: "ranked"|"recent") | ranked returns Instagram's top-posts tab; recent returns the most-recent-posts tab. Default: "ranked" | "ranked" |
includeEngagement | No | Boolean | Include like and comment counts on each post; turn off to null these fields. Default: true | true |
includeVideoMetadata | No | Boolean | Include video width/height/duration; turn off to keep only the video id and URL. Default: true | true |
proxyConfiguration | No | Object | Apify proxy settings. Residential proxies help when Instagram rejects the connection. | {"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]} |
Free plan limits
Users on the Apify free plan can fetch up to 20 items per run (all inputs together) and 200 items per month. When the limit is reached, the run finishes successfully with a status message explaining the limit. Upgrade to any paid Apify plan to remove these limits.
Example input
{"startUrls": ["https://www.instagram.com/explore/locations/213131048/berlin-germany/", "mrbeast", "paris"],"maxItems": 20,"sessionId": "71234567%3AaBcDeFgHiJkLmN%3A...","dateFilterType": "relative","absoluteStartDate": "","absoluteEndDate": "","relativeValue": 30,"relativeUnit": "days","sortOrder": "ranked","includeEngagement": true,"includeVideoMetadata": true,"proxyConfiguration": { "useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"] }}
⬆️ Output
Every post is one typed, normalized JSON item with the same 19-field schema on every run. Export formats: JSON (default), CSV, Excel or XML.
Example output
One actual recorded result from a live run:
{"type": "post","id": "4023509045408352318","code": "DfWYCjKIsg-","url": "https://www.instagram.com/p/DfWYCjKIsg-/","createdAt": "2026-11-05T06:22:21Z","likeCount": 0,"commentCount": 0,"caption": "Was mache ich als nächstes Lesechallenge?\n#booktok #bookstagram #booklover #readingchallenge #lesechallenge","isAvailable": true,"isLikeAndViewCountsDisabled": false,"isPinned": false,"isPaidPartnership": false,"isCarousel": false,"isVideo": true,"owner": {"id": "338853917","username": "celine_loves_books","fullName": "Celine loves 📚","profilePicUrl": "https://instagram.fdac178-1.fna.fbcdn.net/v/t51.82787-19/657690779_18578750554037918_8864302491293627808_n.jpg","isPrivate": false,"isVerified": false},"location": {"id": "803948879707908","name": "Berlin, Deutschland","city": null,"lat": 52.50025492,"lng": 13.34153048},"video": {"id": "video_4023509045408352318","url": "https://instagram.fdac178-1.fna.fbcdn.net/o1/v/t2/f2/m86/...mp4","width": 720,"height": 1280,"duration": 83.56800079345703},"image": {"url": "https://instagram.fdac8-1.fna.fbcdn.net/v/t51.82787-15/887032653_18651053827037918_2416457511081261179_n.jpg","width": 360,"height": 640},"audio": {"id": "audio_29904041245850483","title": "Original audio","artist": "","coverArt": "","duration": 83000,"audioUrl": "https://instagram.fdac178-1.fna.fbcdn.net/o1/v/t2/f2/m78/...mp4"}}
Missing source values retain their documented null or empty convention. No substitute records are generated when a location or feed is unavailable.
How does it work?
Instagram Location Scraper uses the session cookie you supply to call the same location-feed endpoints Instagram's own app uses, paginating through each location's post feed page by page. A location URL is used directly; a username or keyword is first resolved to a location through the same session-authenticated calls. If a connection is blocked, it escalates automatically from a direct connection to a datacenter proxy and then a residential proxy, and sticks with residential once that engages. It returns only what the supplied session can already see. The output schema (19 fields per post) stays the same shape run after run, so a change to Instagram's own app does not change your downstream schema.
How do you integrate Instagram Location Scraper into your stack?
This Actor works as an Instagram location scraper API, callable from any language, and fits what you already use: MCP for AI agents, and no-code tools.
MCP integration for AI agents
Point your AI assistant at Apify's MCP server and it can read Instagram location data on its own through this Actor, without you writing any scraping logic into your prompts.
$claude mcp add --transport http apify "https://mcp.apify.com?tools=socialdataapi/instagram-location-scraper"
This registers it as a tool your agent can call directly. Your assistant can call it directly through that server's tools. Works with Claude Code, Cursor and Windsurf.
No-code tools (n8n, Make, LangChain)
In n8n, use the Apify node's "Run an Actor" action, or the HTTP Request node pointed at the run-sync endpoint with your Apify token. In Make, use the Apify app's "Run an Actor" module followed by "Get Dataset Items". In LangChain, use langchain-apify and wrap this actor with ApifyActorsTool() once it is in your account, so an agent can request fresh location data mid-conversation instead of relying on stale training data.
Is it legal to scrape Instagram data?
Scraping publicly available data — data anyone can see without logging in — is generally lawful; this Actor instead uses your own Instagram session to access posts your account can already see, so ordinary account-usage terms apply. The personal data in Instagram posts and profiles (usernames, bios, captions, owner identities) brings data-protection law into play once you store or use it: GDPR (EU/UK) and similar laws may require a lawful basis and a retention policy. Scraping also remains subject to Instagram's own Terms of Service. Consult legal counsel if your use case involves bulk storage of personal data.
Frequently asked questions
What fields does Instagram Location Scraper return?
The top fields are like count, comment count, caption text, the owner's profile and the tagged place with coordinates, alongside video, image and audio details — see the data fields section above for the full breakdown.
Does Instagram Location Scraper require an Instagram account or login?
Yes — it needs a valid Instagram session cookie (the sessionid value) to resolve locations and fetch posts; there is no logged-out mode. The session value is supplied through a secret input field, so it is encrypted and never shown back in logs or the dataset.
What happens if a location, username or keyword doesn't resolve?
The input is reported as unavailable and skipped; no record is pushed for it and it is not charged. Other inputs queued in the same run are processed normally and unaffected. No invented place or post is ever returned.
Can I scrape multiple Instagram locations at once?
Yes — startUrls is an array, so a single run can queue any number of location URLs, usernames or keywords, and queued inputs share the requested item budget fairly through round-robin page collection.
Does Instagram Location Scraper work with Claude, ChatGPT and other AI agent tools?
Yes — Instagram Location Scraper is available as an MCP tool. Add Apify's MCP server (claude mcp add --transport http apify "https://mcp.apify.com?tools=socialdataapi/instagram-location-scraper") in Claude Code, Cursor or Windsurf, and your agent can call this Actor directly. Any agent that can call an HTTP endpoint can also use the REST API directly.
Does Instagram Location Scraper return data in a format LLMs can use directly?
Yes. As an Instagram location post extractor, every record is typed, normalized JSON with consistent field names across runs — no HTML, no CSS selectors. Pass it straight to an LLM prompt, index it into a vector store, or hand it to an agent tool.
What happens when Instagram changes its layout or anti-bot system?
This Actor is maintained, and its output schema is designed to stay stable across Instagram's changes — your calls keep returning the same JSON schema with no changes on your end. It already includes an automatic proxy-escalation ladder to survive one class of upstream block.
Can I use Instagram Location Scraper without managing proxies myself?
Yes. Proxy escalation — direct, then datacenter, then residential — runs automatically on the actor's side when Instagram blocks the connection. You never have to configure any of this yourself, though proxyConfiguration lets you override it.
Which Instagram location post fields work best for AI training data and RAG indexing?
For RAG, index the text-rich fields: the caption and the place name. For structured training features, use the numeric fields: like count, comment count and the place's coordinates. All fields return as typed primitives (strings, integers, booleans), not embedded HTML.
Related scrapers
| Scraper | What it extracts |
|---|---|
| Instagram API Scraper | Profiles, posts, reels and hashtag feeds through one general-purpose Instagram Actor |
| Instagram Profile Post Scraper | Posts from an Instagram profile by username |
| Instagram Reels Scraper | Reels from an Instagram profile, with view and like counts |
| Instagram Mentions Scraper | Posts that mention a given Instagram account |
Your feedback
Found a bug, or need a field this Actor doesn't return yet? Open an issue from the Actor's Issues tab on its Apify Store page, including the run URL and nonsecret inputs — reports like these directly shape what ships in the next update.