Instagram Location Scraper
Pricing
$19.99/month + usage
Instagram Location Scraper
π Instagram Location Scraper extracts public posts from geotagged locations β photos, captions, hashtags, timestamps, likes, comments, user tags & coordinates. π Great for local market research, social listening, tourism & content planning. β‘ Fast, reliable, CSV/JSON export-ready.
Pricing
$19.99/month + usage
Rating
0.0
(0)
Developer
ScrapeBase
Actor stats
0
Bookmarked
2
Total users
0
Monthly active users
6 days ago
Last modified
Categories
Share
Instagram Location Scraper
Instagram Location Scraper is a location-focused Instagram data extractor that collects public posts from Instagram place pages and geotagged content. It solves the challenge of discovering and analyzing location-tagged posts at scale by turning location URLs, usernames, or keywords into structured datasets β perfect for marketers, developers, data analysts, and researchers. As an Instagram location extractor and Instagram geotag scraper, it helps you scrape Instagram by location for social listening, tourism insights, and content planning β all without needing the official API. π
What data / output can you get?
The scraper saves one structured JSON record per post. Below are the primary fields it returns:
| Data type | Description | Example value |
|---|---|---|
| type | Item type indicator | "post" |
| id | Unique Instagram post ID | "3761820491792436654" |
| code | Shortcode used in post URLs | "DQ0q85qEs2u" |
| url | Full URL to the Instagram post | "https://www.instagram.com/p/DQ0q85qEs2u/" |
| createdAt | ISO 8601 timestamp of post creation | "2025-11-09T10:52:49Z" |
| likeCount | Number of likes | 124 |
| commentCount | Number of comments | 7 |
| caption | Post caption text | "#berlin #travel #coffee" |
| isAvailable | Whether the post is available | true |
| isLikeAndViewCountsDisabled | Whether like/view counts are hidden | false |
| isPinned | Whether the post is pinned | false |
| isPaidPartnership | Whether itβs a paid partnership | false |
| isCarousel | Whether the post is a carousel | true |
| isVideo | Whether the post contains video | false |
Nested objects:
- owner: User profile data (id, username, fullName, profilePicUrl, isPrivate, isVerified)
- location: Place info (id, name, city, lat, lng)
- video: Video metadata (id, url, width, height, duration) or null
- image: Image metadata (url, width, height) or null
- audio: Music/audio info (id, title, artist, coverArt, duration, audioUrl) or null
All results are saved to the Apify dataset and can be exported in JSON, CSV, or Excel. Bonus: Media fields include the highest-quality image/video candidates found, and audio data is extracted from Instagramβs metadata or DASH manifests when available.
Key features
-
π§ Smart location targeting (URLs, usernames, keywords)
Provide Instagram location URLs directly β or just usernames/keywords β and the tool will convert them into location pages automatically using robust places search. Ideal as an Instagram places scraper and Instagram places search scraper. -
π§ Intelligent proxy fallback
Built-in logic detects blocking and switches from no proxy β datacenter β residential automatically, with sticky residential when it works. Reliable for continuous geolocation scraping. -
β±οΈ Timeframe filtering (relative or absolute)
Filter posts by date using relative ranges (days/weeks/months/years) or absolute start/end dates to focus on recent or historical windows. -
π¦ Batch processing at scale
Feed multiple inputs in one run. The actor paginates location pages and processes large queues efficiently to help you scrape geotagged Instagram posts at scale. -
π Optional session authentication
Provide sessionId for authenticated requests when needed. This improves access reliability for location searches and post retrieval. -
π§Ύ Structured, analysis-ready output
Clean JSON with post-level metadata, engagement counts, owner details, location coordinates, plus optional video and audio metadata. Export to JSON/CSV/Excel in a click. -
π©βπ» Developer friendly (Python-based)
Built with the Apify Python stack for easy integration into pipelines. A practical Instagram location scraper Python option for automation and data workflows. -
π‘οΈ Production-grade reliability
Robust retry logic, detailed logs, and proxy management make it dependable for continuous jobs and large datasets.
How to use Instagram Location Scraper - step by step
-
Sign in to Apify
Go to https://console.apify.com and log in to your account. -
Open the actor
Search for βInstagram Location Scraperβ in the Apify Store or your account. -
Add your inputs
- In the INPUT tab, paste a list into startUrls (stringList) with any of the following:
- Instagram location URLs (e.g., https://www.instagram.com/explore/locations/213131048/berlin-germany/)
- Usernames (e.g., mrbeast or @mrbeast)
- Keywords (e.g., berlin, βnew yorkβ)
- Set maxItems to control how many posts to extract per run (0 for unlimited).
- In the INPUT tab, paste a list into startUrls (stringList) with any of the following:
-
Configure timeframe (optional)
- Choose dateFilterType: relative or absolute.
- For relative: set relativeValue and relativeUnit (days/weeks/months/years).
- For absolute: set absoluteStartDate and/or absoluteEndDate (YYYY-MM-DD).
-
Add session authentication (optional)
- Provide sessionId from your logged-in Instagram browser cookies to increase reliability for places search and post retrieval.
-
Set proxy behavior
- In proxyConfiguration, keep useApifyProxy false to begin with direct requests. The actor automatically falls back to datacenter or residential proxies if blocked.
-
Run the actor
Click Start. Monitor progress in LOGS. The actor handles pagination, applies timeframe filters, and manages proxy fallback automatically. -
Export results
Go to the OUTPUT tab to view the dataset. Export your data to JSON, CSV, or Excel for analysis or integration.
Pro Tip: Add the actor to scheduled runs and wire the dataset export to downstream workflows (e.g., ETL, BI dashboards) to automate your Instagram geolocation scraper pipeline.
Use cases
| Use case name | Description |
|---|---|
| Location-based marketing research | Analyze what content performs best at specific venues or neighborhoods to inform local strategy and creative direction. |
| Social listening by place | Monitor geotagged posts for brand, competitor, or topic signals in target areas to identify trends and sentiment. |
| Event & venue monitoring | Track posts from conferences, concerts, and retail locations to measure engagement and UGC volume. |
| Tourism & destination insights | Understand visitor buzz by extracting posts from landmarks and cities for content planning and market analysis. |
| Brand & store monitoring | Observe posts at your business locations to evaluate on-site experiences and campaign impact. |
| Competitive benchmarking | Compare engagement and content types across competing locations or chains. |
| Academic & urban studies research | Build datasets of geotagged public posts for spatial analysis and research projects. |
| Data engineering pipelines | Feed structured location-tagged post data into APIs, warehouses, or enrichment jobs for downstream analytics. |
Why choose Instagram Location Scraper?
This Instagram location page scraper is engineered for precision and reliability, combining robust data extraction with automation-ready infrastructure.
- π― Accurate, structured output β Post-level metadata, owner, coordinates, and media fields in clean JSON.
- π Flexible inputs β Turn location URLs, usernames, or keywords into real location pages for extraction.
- β³ Timeframe control β Relative and absolute filters to target the exact period you need.
- π©βπ» Developer access β Python-based actor with Apify integrations for pipelines and automation.
- π Ethical by design β Works with publicly available location pages; sessionId is optional.
- πΈ Cost-effective scaling β Built-in retries and proxy fallback reduce failed runs and reruns.
- π§© Integrations-ready β Export to JSON/CSV/Excel and connect with your preferred automation stack.
Compared with browser extensions or brittle scripts, this production-grade Instagram location scraper tool delivers consistent results, resilient proxy handling, and ready-to-use data structures.
Is it legal / ethical to use Instagram Location Scraper?
Yes β when done responsibly. This actor collects data from publicly available Instagram location pages and does not access private profiles or password-protected content.
Guidelines for compliant use:
- Scrape only public data and avoid personal or private information.
- Respect Instagramβs Terms of Service and local regulations (GDPR, CCPA).
- Secure your sessionId (if used) like a password and rotate if compromised.
- Use the data responsibly; avoid spam or abusive activities.
- Consult your legal team for edge cases or jurisdiction-specific rules.
Input parameters & output format
Example JSON input
{"startUrls": ["https://www.instagram.com/explore/locations/213131048/berlin-germany/","mrbeast","berlin"],"maxItems": 50,"sessionId": "your_session_id_here","proxyConfiguration": {"useApifyProxy": false},"dateFilterType": "relative","absoluteStartDate": "","absoluteEndDate": "","relativeValue": 7,"relativeUnit": "days","includeEngagement": true,"includeVideoMetadata": true}
Parameter reference
-
startUrls (array of strings, required): List of Instagram location URLs, usernames, or keywords. Default: none (must provide).
Description: Examples include "https://www.instagram.com/explore/locations/213131048/berlin-germany/" (URL), "mrbeast" (username), "berlin" (keyword). -
maxItems (integer, optional): Maximum number of posts to extract (0 for unlimited). Default: 20.
-
sessionId (string, optional): Instagram session ID cookie value (for authentication). Default: "".
-
proxyConfiguration (object, optional): Choose which proxies to use. If Instagram rejects the proxy, a residential proxy will be used as a fallback. Default prefill: {"useApifyProxy": false}.
-
dateFilterType (string, optional): Posts newer than β select whether to use absolute or relative time. Allowed values: "absolute", "relative". Default: "relative".
-
absoluteStartDate (string, optional): Start date in YYYY-MM-DD when using absolute. Default: "".
-
absoluteEndDate (string, optional): End date in YYYY-MM-DD when using absolute (leave empty for current date). Default: "".
-
relativeValue (integer, optional): Number of time units when using relative. Default: 0.
-
relativeUnit (string, optional): Time unit for relative date. Allowed values: "days", "weeks", "months", "years". Default: "days".
-
includeEngagement (boolean, optional): Whether to include engagement metrics like likes, shares, comments count. Default: true.
-
includeVideoMetadata (boolean, optional): Whether to include detailed video metadata like duration, quality, etc. Default: true.
Example JSON output
{"type": "post","id": "3761820491792436654","code": "DQ0q85qEs2u","url": "https://www.instagram.com/p/DQ0q85qEs2u/","createdAt": "2025-11-09T10:52:49Z","likeCount": 124,"commentCount": 7,"caption": "#esmocongress2025 #berlin #dataize","isAvailable": true,"isLikeAndViewCountsDisabled": false,"isPinned": false,"isPaidPartnership": false,"isCarousel": true,"isVideo": false,"owner": {"id": "222741818","username": "sihyun_sung_photography","fullName": "","profilePicUrl": "https://instagram.example.cdn/profile.jpg","isPrivate": false,"isVerified": false},"location": {"id": "1681866845218607","name": "Messe Berlin","city": "","lat": 52.503101530657,"lng": 13.272066565882},"video": null,"image": {"url": "https://scontent.cdninstagram.com/v/t51.82787-15/example.jpg","width": 1440,"height": 1440},"audio": null"}
Notes:
- owner, location, video, image, and audio can be null when not available. Fields like owner.fullName or location.city may be empty depending on public data exposure.
- The dataset stores one item per post with consistent keys, simplifying analytics and exports.
FAQ
Can I input usernames or keywords instead of location URLs?
Yes. You can pass usernames (with or without @) or plain keywords in startUrls. The actor converts them into Instagram location pages by searching places and extracting location IDs automatically.
Do I need to log in or provide a session ID?
No, sessionId is optional. However, providing a valid sessionId improves reliability for location searches and post retrieval. Without it, some requests may be limited or redirected.
Does this work without the official API?
Yes. This Instagram location scraper tool does not require the official Instagram API. It collects public data from location pages and geotagged content and outputs structured JSON.
What formats can I export to?
All results are stored in the Apify dataset. You can export to JSON, CSV, or Excel directly from the OUTPUT tab.
How does proxy fallback work?
The actor starts with direct requests by default. If a request is blocked (e.g., 403/429), it automatically switches to a datacenter proxy, and then to a residential proxy. Once a residential proxy works, the tool sticks with it for the remaining requests.
Can I filter posts by date?
Yes. Use dateFilterType with either relative (relativeValue + relativeUnit) or absolute (absoluteStartDate/absoluteEndDate) to include only posts within your timeframe.
What post details are included?
Each record includes identifiers (id, code, url), timestamps (createdAt), engagement (likeCount, commentCount), captions, owner info, location coordinates, and media metadata (image, video, audio when present).
Is this suitable for Python-based workflows?
Yes. The actor is built on the Apify Python stack. You can integrate the dataset outputs into your pipelines, making it a practical Instagram location scraper Python option for ETL and automation.
Closing CTA / Final thoughts
Instagram Location Scraper is built to extract structured, location-tagged Instagram posts at scale. It converts URLs, usernames, or keywords into real location pages, applies optional timeframe filters, and returns clean, analysis-ready JSON with robust proxy management.
Whether youβre a marketer, developer, analyst, or researcher, youβll get a reliable Instagram location ID scraper for public place data β including engagement, owner, media, and coordinates β ready for export to CSV/JSON/Excel. Developers can automate recurring runs, wire data into warehouses, or build enrichment pipelines with ease.
Start extracting smarter location insights today and turn geotagged Instagram posts into actionable datasets.