# Instagram Location Posts Scraper (`louisdeconinck/instagram-location-posts-scraper`) Actor

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

- **URL**: https://apify.com/louisdeconinck/instagram-location-posts-scraper.md
- **Developed by:** [Louis Deconinck](https://apify.com/louisdeconinck) (community)
- **Categories:** Social media, Automation, Lead generation
- **Stats:** 154 total users, 0 monthly users, 100.0% runs succeeded, 5 bookmarks
- **User rating**: 5.00 out of 5 stars

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

Scrape posts from any Instagram location feed without login. Users can expect to receive comprehensive data about each post, including media URLs, engagement metrics, and detailed location information.

### 🎯 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

The top 24 (can vary) posts at each location will be scraped.

- `id`: Unique identifier of the post
- `code`: Instagram shortcode for the post
- `user`: Author details containing:
  - `username`: Account username
  - `profile_pic_url`: Profile image URL
  - `is_private`: Private account status
- `caption`: Post description text
- `taken_at`: Unix timestamp of creation
- `like_count`: Number of likes
- `comment_count`: Number of comments
- `image_versions2`: Available image resolutions containing:
  - `url`: Media URL
  - `width`: Image width
  - `height`: Image height
- `video_versions`: Available video formats (when video)
- `location`: Geographic context containing:
  - `pk`: Location ID
  - `name`: Location name
  - `lat`: Latitude
  - `lng`: Longitude
  - `profile_pic_url`: Location profile image
- `comments_disabled`: Comments enabled status
- `media_overlay_info`: AR filter/effect data
- `view_count`: Video view count
- `has_audio`: Audio presence flag
- `clips_metadata`: Reels-specific data
- `accessibility_caption`: Alt text description
- `audience`: Post visibility restrictions

**Example Output:**

```json
{
	"code": "C_eNoE5PhGp",
	"pk": "3449254293251428777",
	"id": "3449254293251428777_1382583782",
	"ad_id": null,
	"boosted_status": null,
	"boost_unavailable_identifier": null,
	"boost_unavailable_reason": null,
	"caption": null,
	"caption_is_edited": false,
	"feed_demotion_control": null,
	"feed_recs_demotion_control": null,
	"taken_at": 1725403175,
	"inventory_source": null,
	"video_versions": null,
	"is_dash_eligible": null,
	"number_of_qualities": null,
	"video_dash_manifest": null,
	"image_versions2": {
		"candidates": [
			{
				"url": "https://scontent-bru2-1.cdninstagram.com/v/t51.29350-15/458301831_879479333518659_4289036646643408334_n.jpg?stp=dst-jpg_e35_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMjAweDgwNC5zZHIuZjI5MzUwLmRlZmF1bHRfaW1hZ2UifQ&_nc_ht=scontent-bru2-1.cdninstagram.com&_nc_cat=103&_nc_oc=Q6cZ2AFaH6Q45F28v5E5j5yPqPStoiOZFAe0p4hWOGwIyrz4ixXp7-JCzX4S8_k4AmhKRQdRol2JddWH8RPAJ_i9qbQL&_nc_ohc=Y7-aeUhPkYcQ7kNvgHuHJKL&_nc_gid=040ff3daea61498f9027a785c0e814a7&edm=ALtkWMYBAAAA&ccb=7-5&ig_cache_key=MzQ0OTI1NDI5MzI1MTQyODc3Nw%3D%3D.3-ccb7-5&oh=00_AYCZ0OKdXoMF3aiwDS4p9OOfVq3jG_HDKbxtqDC6yiBtmQ&oe=67BFD114&_nc_sid=445a22",
				"height": 804,
				"width": 1200
			},
			{
				"url": "https://scontent-bru2-1.cdninstagram.com/v/t51.29350-15/458301831_879479333518659_4289036646643408334_n.jpg?stp=dst-jpg_e35_s1080x1080_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMjAweDgwNC5zZHIuZjI5MzUwLmRlZmF1bHRfaW1hZ2UifQ&_nc_ht=scontent-bru2-1.cdninstagram.com&_nc_cat=103&_nc_oc=Q6cZ2AFaH6Q45F28v5E5j5yPqPStoiOZFAe0p4hWOGwIyrz4ixXp7-JCzX4S8_k4AmhKRQdRol2JddWH8RPAJ_i9qbQL&_nc_ohc=Y7-aeUhPkYcQ7kNvgHuHJKL&_nc_gid=040ff3daea61498f9027a785c0e814a7&edm=ALtkWMYBAAAA&ccb=7-5&ig_cache_key=MzQ0OTI1NDI5MzI1MTQyODc3Nw%3D%3D.3-ccb7-5&oh=00_AYC3tSX-4pg-uzTX1HsHzRdLAa7rBuzpUyD07Rc3NJ7kfw&oe=67BFD114&_nc_sid=445a22",
				"height": 724,
				"width": 1080
			},
			{
				"url": "https://scontent-bru2-1.cdninstagram.com/v/t51.29350-15/458301831_879479333518659_4289036646643408334_n.jpg?stp=dst-jpg_e35_s720x720_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMjAweDgwNC5zZHIuZjI5MzUwLmRlZmF1bHRfaW1hZ2UifQ&_nc_ht=scontent-bru2-1.cdninstagram.com&_nc_cat=103&_nc_oc=Q6cZ2AFaH6Q45F28v5E5j5yPqPStoiOZFAe0p4hWOGwIyrz4ixXp7-JCzX4S8_k4AmhKRQdRol2JddWH8RPAJ_i9qbQL&_nc_ohc=Y7-aeUhPkYcQ7kNvgHuHJKL&_nc_gid=040ff3daea61498f9027a785c0e814a7&edm=ALtkWMYBAAAA&ccb=7-5&ig_cache_key=MzQ0OTI1NDI5MzI1MTQyODc3Nw%3D%3D.3-ccb7-5&oh=00_AYCatCT2W-jXBxH7f5I6YeJv1LrTM5Nw1d1Vz42F9t_xZg&oe=67BFD114&_nc_sid=445a22",
				"height": 482,
				"width": 720
			},
			{
				"url": "https://scontent-bru2-1.cdninstagram.com/v/t51.29350-15/458301831_879479333518659_4289036646643408334_n.jpg?stp=dst-jpg_e35_s640x640_sh0.08_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMjAweDgwNC5zZHIuZjI5MzUwLmRlZmF1bHRfaW1hZ2UifQ&_nc_ht=scontent-bru2-1.cdninstagram.com&_nc_cat=103&_nc_oc=Q6cZ2AFaH6Q45F28v5E5j5yPqPStoiOZFAe0p4hWOGwIyrz4ixXp7-JCzX4S8_k4AmhKRQdRol2JddWH8RPAJ_i9qbQL&_nc_ohc=Y7-aeUhPkYcQ7kNvgHuHJKL&_nc_gid=040ff3daea61498f9027a785c0e814a7&edm=ALtkWMYBAAAA&ccb=7-5&ig_cache_key=MzQ0OTI1NDI5MzI1MTQyODc3Nw%3D%3D.3-ccb7-5&oh=00_AYAPpN3j5SOyFEZ21a4kZfZqkTMVbhflAV24muJ6RtBzaQ&oe=67BFD114&_nc_sid=445a22",
				"height": 429,
				"width": 640
			},
			{
				"url": "https://scontent-bru2-1.cdninstagram.com/v/t51.29350-15/458301831_879479333518659_4289036646643408334_n.jpg?stp=dst-jpg_e35_s480x480_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMjAweDgwNC5zZHIuZjI5MzUwLmRlZmF1bHRfaW1hZ2UifQ&_nc_ht=scontent-bru2-1.cdninstagram.com&_nc_cat=103&_nc_oc=Q6cZ2AFaH6Q45F28v5E5j5yPqPStoiOZFAe0p4hWOGwIyrz4ixXp7-JCzX4S8_k4AmhKRQdRol2JddWH8RPAJ_i9qbQL&_nc_ohc=Y7-aeUhPkYcQ7kNvgHuHJKL&_nc_gid=040ff3daea61498f9027a785c0e814a7&edm=ALtkWMYBAAAA&ccb=7-5&ig_cache_key=MzQ0OTI1NDI5MzI1MTQyODc3Nw%3D%3D.3-ccb7-5&oh=00_AYC8ni8zIWjCuaYOXLCE3T7iB3fvpMCi3avnoc_6pDhQ5g&oe=67BFD114&_nc_sid=445a22",
				"height": 322,
				"width": 480
			},
			{
				"url": "https://scontent-bru2-1.cdninstagram.com/v/t51.29350-15/458301831_879479333518659_4289036646643408334_n.jpg?stp=dst-jpg_e35_s320x320_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMjAweDgwNC5zZHIuZjI5MzUwLmRlZmF1bHRfaW1hZ2UifQ&_nc_ht=scontent-bru2-1.cdninstagram.com&_nc_cat=103&_nc_oc=Q6cZ2AFaH6Q45F28v5E5j5yPqPStoiOZFAe0p4hWOGwIyrz4ixXp7-JCzX4S8_k4AmhKRQdRol2JddWH8RPAJ_i9qbQL&_nc_ohc=Y7-aeUhPkYcQ7kNvgHuHJKL&_nc_gid=040ff3daea61498f9027a785c0e814a7&edm=ALtkWMYBAAAA&ccb=7-5&ig_cache_key=MzQ0OTI1NDI5MzI1MTQyODc3Nw%3D%3D.3-ccb7-5&oh=00_AYCKifnKKJ6ZeOyxGmvG6CGlbZqhZM4xkK-wFF0ZaEWqWg&oe=67BFD114&_nc_sid=445a22",
				"height": 214,
				"width": 320
			},
			{
				"url": "https://scontent-bru2-1.cdninstagram.com/v/t51.29350-15/458301831_879479333518659_4289036646643408334_n.jpg?stp=dst-jpg_e35_s240x240_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMjAweDgwNC5zZHIuZjI5MzUwLmRlZmF1bHRfaW1hZ2UifQ&_nc_ht=scontent-bru2-1.cdninstagram.com&_nc_cat=103&_nc_oc=Q6cZ2AFaH6Q45F28v5E5j5yPqPStoiOZFAe0p4hWOGwIyrz4ixXp7-JCzX4S8_k4AmhKRQdRol2JddWH8RPAJ_i9qbQL&_nc_ohc=Y7-aeUhPkYcQ7kNvgHuHJKL&_nc_gid=040ff3daea61498f9027a785c0e814a7&edm=ALtkWMYBAAAA&ccb=7-5&ig_cache_key=MzQ0OTI1NDI5MzI1MTQyODc3Nw%3D%3D.3-ccb7-5&oh=00_AYAuHaakIos87iWtU1tv7Bwvol77gjE2YmhFKFZg5tTemw&oe=67BFD114&_nc_sid=445a22",
				"height": 161,
				"width": 240
			},
			{
				"url": "https://scontent-bru2-1.cdninstagram.com/v/t51.29350-15/458301831_879479333518659_4289036646643408334_n.jpg?stp=c198.0.804.804a_dst-jpg_e35_s1080x1080_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMjAweDgwNC5zZHIuZjI5MzUwLmRlZmF1bHRfaW1hZ2UifQ&_nc_ht=scontent-bru2-1.cdninstagram.com&_nc_cat=103&_nc_oc=Q6cZ2AFaH6Q45F28v5E5j5yPqPStoiOZFAe0p4hWOGwIyrz4ixXp7-JCzX4S8_k4AmhKRQdRol2JddWH8RPAJ_i9qbQL&_nc_ohc=Y7-aeUhPkYcQ7kNvgHuHJKL&_nc_gid=040ff3daea61498f9027a785c0e814a7&edm=ALtkWMYBAAAA&ccb=7-5&ig_cache_key=MzQ0OTI1NDI5MzI1MTQyODc3Nw%3D%3D.3-ccb7-5&oh=00_AYAUNEwNOVDlkYbXGNDGr8d6sWoTlMREGjvMd-7QT7InRQ&oe=67BFD114&_nc_sid=445a22",
				"height": 1080,
				"width": 1080
			},
			{
				"url": "https://scontent-bru2-1.cdninstagram.com/v/t51.29350-15/458301831_879479333518659_4289036646643408334_n.jpg?stp=c198.0.804.804a_dst-jpg_e35_s750x750_sh0.08_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMjAweDgwNC5zZHIuZjI5MzUwLmRlZmF1bHRfaW1hZ2UifQ&_nc_ht=scontent-bru2-1.cdninstagram.com&_nc_cat=103&_nc_oc=Q6cZ2AFaH6Q45F28v5E5j5yPqPStoiOZFAe0p4hWOGwIyrz4ixXp7-JCzX4S8_k4AmhKRQdRol2JddWH8RPAJ_i9qbQL&_nc_ohc=Y7-aeUhPkYcQ7kNvgHuHJKL&_nc_gid=040ff3daea61498f9027a785c0e814a7&edm=ALtkWMYBAAAA&ccb=7-5&ig_cache_key=MzQ0OTI1NDI5MzI1MTQyODc3Nw%3D%3D.3-ccb7-5&oh=00_AYCSPB6-d5unsLOUCz5VROXKbZvsDu6CLuTXsZW8iQ_ZwA&oe=67BFD114&_nc_sid=445a22",
				"height": 750,
				"width": 750
			},
			{
				"url": "https://scontent-bru2-1.cdninstagram.com/v/t51.29350-15/458301831_879479333518659_4289036646643408334_n.jpg?stp=c198.0.804.804a_dst-jpg_e35_s640x640_sh0.08_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMjAweDgwNC5zZHIuZjI5MzUwLmRlZmF1bHRfaW1hZ2UifQ&_nc_ht=scontent-bru2-1.cdninstagram.com&_nc_cat=103&_nc_oc=Q6cZ2AFaH6Q45F28v5E5j5yPqPStoiOZFAe0p4hWOGwIyrz4ixXp7-JCzX4S8_k4AmhKRQdRol2JddWH8RPAJ_i9qbQL&_nc_ohc=Y7-aeUhPkYcQ7kNvgHuHJKL&_nc_gid=040ff3daea61498f9027a785c0e814a7&edm=ALtkWMYBAAAA&ccb=7-5&ig_cache_key=MzQ0OTI1NDI5MzI1MTQyODc3Nw%3D%3D.3-ccb7-5&oh=00_AYCPKLtbSC5623gS57qYrCXN4reuOgeVGW2AWZnZF9uWlA&oe=67BFD114&_nc_sid=445a22",
				"height": 640,
				"width": 640
			},
			{
				"url": "https://scontent-bru2-1.cdninstagram.com/v/t51.29350-15/458301831_879479333518659_4289036646643408334_n.jpg?stp=c198.0.804.804a_dst-jpg_e35_s480x480_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMjAweDgwNC5zZHIuZjI5MzUwLmRlZmF1bHRfaW1hZ2UifQ&_nc_ht=scontent-bru2-1.cdninstagram.com&_nc_cat=103&_nc_oc=Q6cZ2AFaH6Q45F28v5E5j5yPqPStoiOZFAe0p4hWOGwIyrz4ixXp7-JCzX4S8_k4AmhKRQdRol2JddWH8RPAJ_i9qbQL&_nc_ohc=Y7-aeUhPkYcQ7kNvgHuHJKL&_nc_gid=040ff3daea61498f9027a785c0e814a7&edm=ALtkWMYBAAAA&ccb=7-5&ig_cache_key=MzQ0OTI1NDI5MzI1MTQyODc3Nw%3D%3D.3-ccb7-5&oh=00_AYA6HpvxPcQxNSdSMbk_Dkc1hGOLSqFQdmLuwTriBwjHrQ&oe=67BFD114&_nc_sid=445a22",
				"height": 480,
				"width": 480
			},
			{
				"url": "https://scontent-bru2-1.cdninstagram.com/v/t51.29350-15/458301831_879479333518659_4289036646643408334_n.jpg?stp=c198.0.804.804a_dst-jpg_e35_s320x320_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMjAweDgwNC5zZHIuZjI5MzUwLmRlZmF1bHRfaW1hZ2UifQ&_nc_ht=scontent-bru2-1.cdninstagram.com&_nc_cat=103&_nc_oc=Q6cZ2AFaH6Q45F28v5E5j5yPqPStoiOZFAe0p4hWOGwIyrz4ixXp7-JCzX4S8_k4AmhKRQdRol2JddWH8RPAJ_i9qbQL&_nc_ohc=Y7-aeUhPkYcQ7kNvgHuHJKL&_nc_gid=040ff3daea61498f9027a785c0e814a7&edm=ALtkWMYBAAAA&ccb=7-5&ig_cache_key=MzQ0OTI1NDI5MzI1MTQyODc3Nw%3D%3D.3-ccb7-5&oh=00_AYBIExAdEjLH1I7_MyLNVT2lWTAIZc2artV9BR_USFTjJA&oe=67BFD114&_nc_sid=445a22",
				"height": 320,
				"width": 320
			},
			{
				"url": "https://scontent-bru2-1.cdninstagram.com/v/t51.29350-15/458301831_879479333518659_4289036646643408334_n.jpg?stp=c198.0.804.804a_dst-jpg_e35_s240x240_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMjAweDgwNC5zZHIuZjI5MzUwLmRlZmF1bHRfaW1hZ2UifQ&_nc_ht=scontent-bru2-1.cdninstagram.com&_nc_cat=103&_nc_oc=Q6cZ2AFaH6Q45F28v5E5j5yPqPStoiOZFAe0p4hWOGwIyrz4ixXp7-JCzX4S8_k4AmhKRQdRol2JddWH8RPAJ_i9qbQL&_nc_ohc=Y7-aeUhPkYcQ7kNvgHuHJKL&_nc_gid=040ff3daea61498f9027a785c0e814a7&edm=ALtkWMYBAAAA&ccb=7-5&ig_cache_key=MzQ0OTI1NDI5MzI1MTQyODc3Nw%3D%3D.3-ccb7-5&oh=00_AYDqyf1IpyHPSN_BL8IlGItX2A-jMCvss7Tucv22LyJGOA&oe=67BFD114&_nc_sid=445a22",
				"height": 240,
				"width": 240
			},
			{
				"url": "https://scontent-bru2-1.cdninstagram.com/v/t51.29350-15/458301831_879479333518659_4289036646643408334_n.jpg?stp=c198.0.804.804a_dst-jpg_e35_s150x150_tt6&efg=eyJ2ZW5jb2RlX3RhZyI6ImltYWdlX3VybGdlbi4xMjAweDgwNC5zZHIuZjI5MzUwLmRlZmF1bHRfaW1hZ2UifQ&_nc_ht=scontent-bru2-1.cdninstagram.com&_nc_cat=103&_nc_oc=Q6cZ2AFaH6Q45F28v5E5j5yPqPStoiOZFAe0p4hWOGwIyrz4ixXp7-JCzX4S8_k4AmhKRQdRol2JddWH8RPAJ_i9qbQL&_nc_ohc=Y7-aeUhPkYcQ7kNvgHuHJKL&_nc_gid=040ff3daea61498f9027a785c0e814a7&edm=ALtkWMYBAAAA&ccb=7-5&ig_cache_key=MzQ0OTI1NDI5MzI1MTQyODc3Nw%3D%3D.3-ccb7-5&oh=00_AYAWReVutaQrYvq2EQf7EnuG8vGQZy1Q-khzDgaPB_dR-A&oe=67BFD114&_nc_sid=445a22",
				"height": 150,
				"width": 150
			}
		]
	},
	"is_paid_partnership": false,
	"sponsor_tags": null,
	"affiliate_info": null,
	"original_height": 804,
	"original_width": 1200,
	"organic_tracking_token": "eyJ2ZXJzaW9uIjo1LCJwYXlsb2FkIjp7ImlzX2FuYWx5dGljc190cmFja2VkIjp0cnVlLCJ1dWlkIjoiMDQwZmYzZGFlYTYxNDk4ZjkwMjdhNzg1YzBlODE0YTczNDQ5MjU0MjkzMjUxNDI4Nzc3In0sInNpZ25hdHVyZSI6IiJ9",
	"link": null,
	"story_cta": null,
	"user": {
		"pk": "1382583782",
		"username": "r2fineartdotcom",
		"profile_pic_url": "https://scontent-bru2-1.cdninstagram.com/v/t51.2885-19/450395706_547909467590804_5926162764471960691_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_ht=scontent-bru2-1.cdninstagram.com&_nc_cat=108&_nc_oc=Q6cZ2AFaH6Q45F28v5E5j5yPqPStoiOZFAe0p4hWOGwIyrz4ixXp7-JCzX4S8_k4AmhKRQdRol2JddWH8RPAJ_i9qbQL&_nc_ohc=QOv32e494fQQ7kNvgEzgNhL&_nc_gid=040ff3daea61498f9027a785c0e814a7&edm=ALtkWMYBAAAA&ccb=7-5&oh=00_AYCEOc28y9EwKhAf5Aef04v1GXwxDVylng1IDm3_JQA0Iw&oe=67BFC47C&_nc_sid=445a22",
		"is_private": false,
		"is_embeds_disabled": false,
		"is_unpublished": false,
		"is_verified": false,
		"friendship_status": null,
		"latest_besties_reel_media": null,
		"latest_reel_media": null,
		"live_broadcast_visibility": null,
		"live_broadcast_id": null,
		"seen": null,
		"supervision_info": null,
		"id": "1382583782"
	},
	"group": null,
	"owner": {
		"pk": "1382583782",
		"profile_pic_url": "https://scontent-bru2-1.cdninstagram.com/v/t51.2885-19/450395706_547909467590804_5926162764471960691_n.jpg?stp=dst-jpg_s150x150_tt6&_nc_ht=scontent-bru2-1.cdninstagram.com&_nc_cat=108&_nc_oc=Q6cZ2AFaH6Q45F28v5E5j5yPqPStoiOZFAe0p4hWOGwIyrz4ixXp7-JCzX4S8_k4AmhKRQdRol2JddWH8RPAJ_i9qbQL&_nc_ohc=QOv32e494fQQ7kNvgEzgNhL&_nc_gid=040ff3daea61498f9027a785c0e814a7&edm=ALtkWMYBAAAA&ccb=7-5&oh=00_AYCEOc28y9EwKhAf5Aef04v1GXwxDVylng1IDm3_JQA0Iw&oe=67BFC47C&_nc_sid=445a22",
		"username": "r2fineartdotcom",
		"friendship_status": null,
		"is_embeds_disabled": false,
		"is_unpublished": false,
		"is_verified": false,
		"show_account_transparency_details": true,
		"supervision_info": null,
		"transparency_product": null,
		"transparency_product_enabled": false,
		"transparency_label": null,
		"id": "1382583782"
	},
	"coauthor_producers": [],
	"invited_coauthor_producers": [],
	"follow_hashtag_info": null,
	"title": null,
	"comment_count": 0,
	"comments_disabled": null,
	"commenting_disabled_for_viewer": null,
	"like_and_view_counts_disabled": false,
	"has_liked": false,
	"top_likers": [],
	"facepile_top_likers": [],
	"like_count": 1,
	"preview": null,
	"can_see_insights_as_brand": false,
	"social_context": null,
	"view_count": null,
	"can_reshare": null,
	"can_viewer_reshare": true,
	"ig_media_sharing_disabled": false,
	"photo_of_you": false,
	"product_type": "feed",
	"media_type": 1,
	"usertags": null,
	"media_overlay_info": null,
	"carousel_parent_id": null,
	"carousel_media_count": null,
	"carousel_media": null,
	"location": {
		"pk": 1412043802427435,
		"lat": 38.889188951324,
		"lng": -77.050144560642,
		"name": "Lincoln Memorial Washington DC",
		"profile_pic_url": null
	},
	"has_audio": null,
	"clips_metadata": null,
	"clips_attribution_info": null,
	"accessibility_caption": null,
	"audience": null,
	"display_uri": "https://scontent-bru2-1.cdninstagram.com/v/t51.29350-15/458301831_879479333518659_4289036646643408334_n.jpg?stp=c198.0.804.804a_dst-jpg_e35_tt6&_nc_ht=scontent-bru2-1.cdninstagram.com&_nc_cat=103&_nc_oc=Q6cZ2AFaH6Q45F28v5E5j5yPqPStoiOZFAe0p4hWOGwIyrz4ixXp7-JCzX4S8_k4AmhKRQdRol2JddWH8RPAJ_i9qbQL&_nc_ohc=Y7-aeUhPkYcQ7kNvgHuHJKL&_nc_gid=040ff3daea61498f9027a785c0e814a7&edm=ALtkWMYBAAAA&ccb=7-5&oh=00_AYBH5Xp8Ul40QISLXso9H0SamupnNRVUXJ6iwORXzVMDnw&oe=67BFD114&_nc_sid=445a22",
	"media_cropping_info": null,
	"profile_grid_thumbnail_fitting_style": null,
	"thumbnails": null,
	"timeline_pinned_user_ids": [],
	"upcoming_event": null,
	"__typename": "XDTMediaDict"
}
```

### 📥 Input

- `locations`: Array of Instagram location URLs or location IDs to scrape

**Example Input:**

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

### 🚀 Usage

To use this Instagram Profile Posts Scraper:

1. **Get started**: Click on the "Try for free" button to [make an Apify account](https://apify.com?fpr=7p4wu) and log in.
2. **Add input:** Enter the Instagram location URLs or location IDs you want to scrape.
3. **Run the actor:** Click on the "Start" button to begin scraping.
4. **Monitor execution:** The actor will fetch all posts from the specified locations.
5. **Retrieve the output:** Download the results in JSON or CSV format, or use the API to integrate with your applications.

### 🔌 Integrations

**Make.com Integration:** Automate your Instagram data collection by connecting this scraper to [Make](https://www.make.com/en/register?pc=louisdeconinck). 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](https://referworkspace.app.goo.gl/wUpc) to:

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

### 🌟 Start for Free

Ready to start scraping Instagram posts? [Try the Actor for free](https://apify.com?fpr=7p4wu) and get:

- Scalable and reliable data collection
- Regular updates to maintain compatibility
- Technical support when you need it
- Flexible output formats

### 🔍 More Scraping Solutions

Check out my other scrapers on [my Apify profile](https://apify.com/louisdeconinck?fpr=7p4wu) 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

# Actor input Schema

## `locations` (type: `array`):

List of Instagram location URLs or IDs to scrape

## Actor input object example

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

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "locations": [
        "https://www.instagram.com/explore/locations/451366841879591/palace-of-versailles/",
        "1412043802427435"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("louisdeconinck/instagram-location-posts-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "locations": [
        "https://www.instagram.com/explore/locations/451366841879591/palace-of-versailles/",
        "1412043802427435",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("louisdeconinck/instagram-location-posts-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "locations": [
    "https://www.instagram.com/explore/locations/451366841879591/palace-of-versailles/",
    "1412043802427435"
  ]
}' |
apify call louisdeconinck/instagram-location-posts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,louisdeconinck/instagram-location-posts-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/6DxvlyVtOgcLG9QVd/builds/bj46kOpkaZc8TdR5T/openapi.json
