Instagram Location Posts Scraper avatar

Instagram Location Posts Scraper

Pricing

from $1.50 / 1,000 posts

Go to Apify Store
Instagram Location Posts Scraper

Instagram Location Posts Scraper

Scrape Instagram location posts! Get media, engagement, & location data without login. Perfect for social analysis & research. Try it free! ✨

Pricing

from $1.50 / 1,000 posts

Rating

5.0

(2)

Developer

Louis Deconinck

Louis Deconinck

Maintained by Community

Actor stats

5

Bookmarked

160

Total users

2

Monthly active users

16 days ago

Last modified

Features

Limited permissions

Share

Scrape the top posts of any Instagram location: captions, likes, comments, media URLs, carousel items, videos, tagged users, the author and the location details. No Instagram login or cookies needed.

What's new

This Actor now runs on a new, reliable data source. Instagram started blocking the anonymous web API the previous version relied on, which made runs fail. The output keeps the main field names (id, pk, code, caption, taken_at, like_count, comment_count, media_type, display_uri, image_versions2, video_versions, user, owner, location, usertags, carousel_media), so existing integrations keep working (see the differences below). You can now also fetch more than one page of posts per location with maxPostsPerLocation.

The Actor has moved from free to pay-per-event pricing (see below).

🎯 Use Cases

  • Social Media Analysis: Track and analyze Instagram content strategies
  • Influencer Research: Gather data about influencer posts and engagement
  • Content Monitoring: Keep track of branded content and partnerships
  • Location Analysis: Study posts from specific locations
  • Engagement Tracking: Monitor post performance and user engagement

✨ Features

  • Complete Post Data: Captures all essential post information including media URLs, captions, and engagement metrics
  • Tagged Users: Extracts information about users tagged in posts
  • Location Data: Includes detailed location information when available
  • Engagement Metrics: Provides likes and comments counts
  • Post Metadata: Includes information about partnerships, affiliates, and post settings
  • User Details: Provides information about the post author including username, profile picture, and account status
  • Media Versions: Includes different resolutions of images and available video formats
  • Additional Metadata: Provides information about comments, AR filters, video views, audio presence, reels-specific data, alt text descriptions, and post visibility restrictions

📤 Output

By default the top 24 posts of each location are scraped. Set maxPostsPerLocation to get more (or fewer).

  • id: Unique identifier of the post (<pk>_<user id>)
  • pk: Numeric post ID
  • code: Instagram shortcode for the post (instagram.com/p/code)
  • caption: { "text": ... } or null; caption_text holds the plain text
  • taken_at: Unix timestamp of creation; taken_at_date is the ISO 8601 date
  • like_count, comment_count, view_count, play_count: Engagement metrics
  • media_type: 1 = photo, 2 = video, 8 = carousel; product_type: feed, carousel_container or clips
  • display_uri: Main image URL; original_width, original_height: its size
  • image_versions2.candidates: Available image resolutions (url, width, height)
  • video_versions, video_url, video_duration: Video files (when video)
  • carousel_media, carousel_media_count: Items of a carousel post
  • user / owner: Author (pk, id, username, full_name, profile_pic_url, is_private, is_verified)
  • location: pk, name, city, address, lat, lng, category and more
  • usertags.in: Tagged users with their position
  • comments_disabled, like_and_view_counts_disabled, is_paid_partnership, accessibility_caption, clips_metadata, coauthor_producers

Example Output (shortened):

{
"id": "1532095808265790634_123456789",
"pk": "1532095808265790634",
"code": "BVDGQUtjCSq",
"caption": {
"text": "Royal Garden"
},
"caption_text": "Royal Garden",
"taken_at": 1496860074,
"taken_at_date": "2017-06-07T18:27:54.000Z",
"media_type": 1,
"product_type": "feed",
"like_count": 1,
"comment_count": 0,
"comments_disabled": false,
"display_uri": "https://scontent-dfw5-1.cdninstagram.com/v/t51.82787-15/628400333_18379082071087856_7091763187072686439_n.jpg?...",
"original_width": 1080,
"original_height": 1080,
"image_versions2": {
"candidates": [
{
"url": "https://scontent-dfw5-1.cdninstagram.com/v/t51.82787-15/628400333_18379082071087856_7091763187072686439_n.jpg?...",
"width": 1080,
"height": 1080
}
]
},
"user": {
"pk": "123456789",
"id": "123456789",
"username": "example_user",
"full_name": "Example User",
"profile_pic_url": "https://scontent.cdninstagram.com/v/t51.2885-19/...jpg?...",
"is_private": false,
"is_verified": false
},
"owner": "(same as user)",
"location": {
"pk": 451366841879591,
"name": "Palace of Versailles",
"city": "Versailles",
"lat": 48.8041904,
"lng": 2.1226035
},
"usertags": {
"in": []
},
"video_versions": null,
"carousel_media": null
}

💵 Pricing

You pay per scraped post, a small fee per location (it covers the first page of results) and a small fee per run. Locations that don't exist or have no posts are not charged.

Apify planPer postPer 1,000 postsPer locationPer run
Free$0.003$3.00$0.006$0.010
Starter$0.0025$2.50$0.005$0.009
Scale$0.002$2.00$0.0045$0.008
Business & higher$0.0015$1.50$0.004$0.007

Example (Starter plan): 2 locations × 24 posts in one run = 48 × $0.0025 + 2 × $0.005 + $0.009 = $0.139.

Set a "Max cost per run" to stay in control: the Actor stops cleanly when it is reached.

Differences from the previous version:

  • The posts come in a slightly different shape from the new data source. The main fields keep their names and meaning (see Output). caption is { "text": ... } or null as before, and taken_at is still a Unix timestamp.
  • Ad, boost and feed-ranking fields (ad_id, boosted_status, boost_unavailable_*, feed_demotion_control, inventory_source, audience, social_context, media_overlay_info, has_audio, can_reshare and similar) are no longer available. They were almost always null.
  • Each page of results holds about 24 to 30 posts. A next page is only fetched when at least 3 more posts are wanted, so maxPostsPerLocation values just above a page boundary may return slightly fewer posts.
  • Locations that couldn't be scraped are listed in the SKIPPED_LOCATIONS record of the key-value store.

📥 Input

  • locations: Array of Instagram location URLs (https://www.instagram.com/explore/locations/<id>/...) or numeric location IDs. Duplicates are removed.
  • maxPostsPerLocation (default 24): Maximum number of top posts per location.

Example Input:

{
"locations": [
"https://www.instagram.com/explore/locations/451366841879591/palace-of-versailles/",
"1412043802427435"
],
"maxPostsPerLocation": 24
}

🚀 Usage

  1. Get started: Create an Apify account and open this Actor.
  2. Add input: Enter the Instagram location URLs or location IDs you want to scrape.
  3. Run the Actor: Click "Start". Optionally set a "Max cost per run".
  4. Retrieve the output: Download the results as JSON, CSV or Excel, or use the API.

🔌 Integrations

Make.com Integration: Automate your Instagram data collection by connecting this scraper to Make. Create workflows to:

  • Send post data to Google Sheets
  • Monitor new posts and get notifications
  • Analyze engagement metrics automatically
  • Archive media files

Gmail Integration: Use Google Workspace to:

  • Get email notifications about new posts
  • Send reports of post performance
  • Alert team members about specific post types

🔍 More Scraping Solutions

Check out my other scrapers on my Apify profile for:

  • Other social media platforms
  • E-commerce websites
  • Business directories
  • And more!

🛠️ Custom Scraper Development

Need a custom Instagram scraping solution? I can help! Contact me for:

  • Custom data fields
  • Specific filtering requirements
  • Integration with your systems
  • Specialized reporting needs