# Instagram Location Posts - Scrape Posts by Location 2026 (`instaprism/instagram-location-posts`) Actor

No login required. Scrape Instagram posts from any location/place. Get recent posts, engagement, authors. Perfect for local marketing and research.

- **URL**: https://apify.com/instaprism/instagram-location-posts.md
- **Developed by:** [red](https://apify.com/instaprism) (community)
- **Categories:** Social media, Lead generation
- **Stats:** 9 total users, 1 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.80 / 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.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#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 - Scrape Posts by Location 2026

Scrape Instagram posts tagged at specific locations. Get recent posts, engagement metrics, and author details. Perfect for local marketing, event monitoring, and geo-targeted research.

### No Login Required

**Your Instagram account stays safe.** This Actor:

- Does NOT require your Instagram login or cookies
- Uses our own infrastructure to fetch data
- Zero risk of account suspension for you
- Works with any public Instagram profile

Unlike browser extensions or tools that use your account, we handle all scraping server-side. Your credentials are never needed.

### Processing Time

| Volume | Processing Time |
|--------|-----------------|
| 100 posts per location | 1-2 min |
| 500 posts per location | 3-5 min |
| 1,000 posts per location | 5-10 min |

Results stream in real-time as posts are discovered.

### Input

| Field | Type | Description |
|-------|------|-------------|
| `locationIds` | array | Instagram location IDs (required) |
| `limit` | integer | Max posts per location (default: 100) |
| `sortBy` | string | "recent" or "top" (default: recent) |

**Example input:**

```json
{
    "locationIds": ["214335386", "212988663"],
    "limit": 200,
    "sortBy": "recent"
}
```

### How to Find Location IDs

1. Search for the location on Instagram
2. Go to the location page (instagram.com/explore/locations/XXXXXX/)
3. The number in the URL is the location ID

Or use our Location Search actor to find IDs by name.

### Output

Each post includes full engagement data:

```json
{
    "position": 1,
    "postId": "3245678901234567890",
    "url": "https://instagram.com/p/ABC123/",
    "shortcode": "ABC123",
    "owner": "local_photographer",
    "ownerFollowers": 5000,
    "caption": "Beautiful sunset at the beach!",
    "mediaType": "photo",
    "likes": 2500,
    "comments": 80,
    "publishedAt": "2026-01-15T18:30:00Z",
    "sourceLocationId": "214335386",
    "locationName": "Santa Monica Beach"
}
```

### Sort Options

| Option | Description |
|--------|-------------|
| `recent` | Newest posts first - great for monitoring |
| `top` | Most engaging posts - great for research |

### Use Cases

- **Local business marketing** - Find users posting at nearby locations
- **Event monitoring** - Track posts from conferences, concerts, venues
- **Competitor research** - See who posts at competitor locations
- **Tourism marketing** - Find content creators visiting your destination
- **Real estate research** - Monitor posts from specific neighborhoods
- **User-generated content** - Find posts at your business location
- **Local influencer discovery** - Find active creators in your area

### Multiple Locations

Process multiple location IDs in a single run. Each result includes `sourceLocationId` and `locationName` so you can filter and analyze by location.

### Tips for Best Results

1. **Start with "recent"** - Get the latest activity at a location
2. **Use "top" for research** - Find the best-performing content
3. **Combine related locations** - Scrape multiple stores, venues, or neighborhoods together

### Output Format

Export as JSON or CSV. Perfect for local marketing campaigns and geo-analysis.

### Integrations

Export your data to:

- **Google Sheets** - Direct integration, auto-sync results
- **Zapier / Make (Integromat)** - Trigger workflows when scrape completes
- **Webhooks** - Get real-time notifications
- **API** - Programmatic access via Apify API
- **Download** - JSON / CSV / Excel files

### Support

Telegram: @taskforceorange

### Need Custom Solutions?

Looking for **custom scraping**, **higher limits**, or **dedicated infrastructure**?

📩 **Contact us:**

- **Telegram:** [@taskforceorange](https://t.me/taskforceorange)
- **Website:** [social-swarm.com](https://social-swarm.com)

We offer:

- Custom actor development
- Enterprise-grade scraping solutions
- Dedicated proxy infrastructure
- White-label integrations
- Priority support

***

*Built with ❤️ by the InstaPrism team*

# Actor input Schema

## `locationIds` (type: `array`):

Instagram location IDs

## `limit` (type: `integer`):

Max posts per location

## `sortBy` (type: `string`):

Sort posts by

## Actor input object example

```json
{
  "locationIds": [
    "214335386"
  ],
  "limit": 100,
  "sortBy": "recent"
}
```

# Actor output Schema

## `results` (type: `string`):

All scraped items in JSON format

# 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 = {
    "locationIds": [
        "214335386"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("instaprism/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 = { "locationIds": ["214335386"] }

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

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

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

```

## CLI example

```bash
echo '{
  "locationIds": [
    "214335386"
  ]
}' |
apify call instaprism/instagram-location-posts --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=instaprism/instagram-location-posts",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/acts/aewlbOh3fqkiMxpXT/builds/I1sVubc2wAALQPAWL/openapi.json
