# Instagram Location Posts Scraper (No Login Required) (`iron-crawler/instagram-location-posts`) Actor

Scrape Instagram location posts at lightning speed. Zero-config API pipeline exports bulk geo-data in JSON/CSV for instant social media trend analysis

- **URL**: https://apify.com/iron-crawler/instagram-location-posts.md
- **Developed by:** [Iron Crawler](https://apify.com/iron-crawler) (community)
- **Categories:** Social media, Automation, Developer tools
- **Stats:** 12 total users, 2 monthly users, 92.9% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.50 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

"# Instagram Location Posts Scraper (No Login Required)

### What does Instagram Location Posts Scraper (No Login Required) do?

This tool extracts public Instagram posts tagged with specific locations without requiring any login credentials or cookies. Built on a cookieless architecture, it allows social media marketers, researchers, and businesses to gather location-based Instagram data at scale while bypassing authentication barriers. The scraper accesses publicly available posts from any Instagram location, making it ideal for analyzing local trends, monitoring brand presence in specific areas, and understanding geo-specific audience behavior.

**Key Features:**

- Extract posts from any Instagram location by name
- No login or authentication required
- Export data in JSON, CSV, or Excel formats
- Retrieve post metadata including likes, captions, and timestamps
- Access media type information (images, videos, carousels)
- Gather location-specific engagement metrics
- Fast and reliable data extraction

### Why scrape Instagram location data?

Social media marketers need to extract location-specific Instagram posts to analyze local engagement trends and develop geo-targeted content strategies. Understanding what content performs well in specific locations helps brands tailor their messaging, identify local influencers, and optimize their regional marketing campaigns. Location-based Instagram data reveals authentic customer experiences, competitive activity in key markets, and emerging trends within specific geographic areas.

**Primary Use Cases:**

- **Local Market Research:** Analyze competitor presence and customer sentiment in target locations to inform market entry strategies and identify gaps in local markets
- **Geo-Targeted Content Strategy:** Discover what types of content resonate with audiences in specific cities or venues to create location-specific campaigns that drive higher engagement
- **Event and Venue Monitoring:** Track brand mentions and user-generated content at events, restaurants, hotels, or retail locations to measure real-world impact and gather testimonials

### How to scrape Instagram location posts using this tool?

**Step 1:** Identify the location you want to scrape. This should be a valid Instagram location name such as ""Central Park, New York"" or ""Eiffel Tower, Paris.""

**Step 2:** Configure your input parameters by entering the location query. The scraper will automatically find posts tagged with that location. Plan your extraction knowing that **1 page ≈ 50 items** depending on the location's popularity and recent activity.

**Step 3:** Run the scraper and wait for the extraction to complete. Once finished, download your data in your preferred format (JSON, CSV, or Excel) for analysis or integration with your marketing tools.

### What are the input parameters?

| Field | Type | Description |
|-------|------|-------------|
| `locationQuery` | String | The name of the Instagram location you want to scrape. Must be a valid location name as it appears on Instagram (e.g., ""New York"", ""Times Square"", ""London Bridge""). The scraper will search for this location and extract posts tagged there. |

### What data can you extract?

You can download the following data in JSON, CSV, or Excel formats:

```json
{
  ""location_id"": ""298743521"",
  ""location_name"": ""Central Park, New York"",
  ""post_count"": 1847,
  ""post_id"": ""Bx7hK2_HZMA"",
  ""media_type"": ""image"",
  ""caption"": ""Perfect winter morning in Central Park ❄️ #NYC"",
  ""likes_count"": 342,
  ""timestamp"": ""2025-12-18T09:23:15Z""
}
```

**Extracted Fields:**

- `location_id`: Unique identifier for the Instagram location
- `location_name`: Full name of the location as displayed on Instagram
- `post_count`: Total number of posts available at this location
- `post_id`: Unique identifier for each individual post
- `media_type`: Type of content (image, video, carousel)
- `caption`: Full text caption including hashtags and mentions
- `likes_count`: Number of likes the post has received
- `timestamp`: When the post was published (ISO 8601 format)

***

Whether you need an Instagram scraper for lead generation Instagram campaigns, want to export Instagram posts for analysis, or need to scrape Instagram by location for competitive research, this tool provides comprehensive Instagram data extraction capabilities. Perfect for marketers seeking location-based Instagram data to power their Instagram location posts strategy and unlock actionable insights from geo-tagged content."

# Actor input Schema

## `locationQuery` (type: `string`):

Instagram location query. Must a be a valid location name.

## `maxPages` (type: `integer`):

Maximum number of pages to fetch (pagination handled automatically)

## Actor input object example

```json
{
  "locationQuery": "New York",
  "maxPages": 1
}
```

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("iron-crawler/instagram-location-posts").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("iron-crawler/instagram-location-posts").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 '{}' |
apify call iron-crawler/instagram-location-posts --silent --output-dataset

```

## MCP server setup

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

```

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/Q4KuemeO94P3w1d1Q/builds/RWCHVe667ZVKDCjyY/openapi.json
