Instagram Location Scraper avatar

Instagram Location Scraper

Pricing

$19.99/month + usage

Go to Apify Store
Instagram Location Scraper

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

ScrapeBase

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

0

Monthly active users

6 days ago

Last modified

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 typeDescriptionExample value
typeItem type indicator"post"
idUnique Instagram post ID"3761820491792436654"
codeShortcode used in post URLs"DQ0q85qEs2u"
urlFull URL to the Instagram post"https://www.instagram.com/p/DQ0q85qEs2u/"
createdAtISO 8601 timestamp of post creation"2025-11-09T10:52:49Z"
likeCountNumber of likes124
commentCountNumber of comments7
captionPost caption text"#berlin #travel #coffee"
isAvailableWhether the post is availabletrue
isLikeAndViewCountsDisabledWhether like/view counts are hiddenfalse
isPinnedWhether the post is pinnedfalse
isPaidPartnershipWhether it’s a paid partnershipfalse
isCarouselWhether the post is a carouseltrue
isVideoWhether the post contains videofalse

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

  1. Sign in to Apify
    Go to https://console.apify.com and log in to your account.

  2. Open the actor
    Search for β€œInstagram Location Scraper” in the Apify Store or your account.

  3. Add your inputs

    • In the INPUT tab, paste a list into startUrls (stringList) with any of the following:
    • Set maxItems to control how many posts to extract per run (0 for unlimited).
  4. 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).
  5. Add session authentication (optional)

    • Provide sessionId from your logged-in Instagram browser cookies to increase reliability for places search and post retrieval.
  6. 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.
  7. Run the actor
    Click Start. Monitor progress in LOGS. The actor handles pagination, applies timeframe filters, and manages proxy fallback automatically.

  8. 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 nameDescription
Location-based marketing researchAnalyze what content performs best at specific venues or neighborhoods to inform local strategy and creative direction.
Social listening by placeMonitor geotagged posts for brand, competitor, or topic signals in target areas to identify trends and sentiment.
Event & venue monitoringTrack posts from conferences, concerts, and retail locations to measure engagement and UGC volume.
Tourism & destination insightsUnderstand visitor buzz by extracting posts from landmarks and cities for content planning and market analysis.
Brand & store monitoringObserve posts at your business locations to evaluate on-site experiences and campaign impact.
Competitive benchmarkingCompare engagement and content types across competing locations or chains.
Academic & urban studies researchBuild datasets of geotagged public posts for spatial analysis and research projects.
Data engineering pipelinesFeed 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.

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.