# Instagram Location Posts Scraper · No Login (`data-slayer/instagram-location-posts`) Actor

Extract Instagram posts tagged at any location — no login. Get captions, hashtags, likes, comments, GPS coordinates, street addresses, author profiles, media URLs, and timestamps. 122 fields per post. Perfect for local business prospecting and geo-targeted research. JSON/CSV/Excel.

- **URL**: https://apify.com/data-slayer/instagram-location-posts.md
- **Developed by:** [Data Slayer](https://apify.com/data-slayer) (community)
- **Categories:** Social media, Automation
- **Features:** Limited permissions
- **Stats:** 101 total users, 4 monthly users, 97.7% 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?

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

## Instagram Location Posts Scraper (No Login Required)

Extract location-tagged Instagram posts without authentication or cookies. This scraper enables social media marketers to gather geo-specific content data for competitive analysis, trend monitoring, and location-based campaign planning.

### 📺 Video Tutorial: How it Works

https://www.youtube.com/watch?v=ORVLUjE_StU

***

### Inputs

| Field | Type | Description |
|-------|------|-------------|
| locationQuery | String | Valid Instagram location name (e.g., "Times Square", "Eiffel Tower", "Central Park"). Must match an existing Instagram location tag. |

### Outputs

**Formats:** JSON, CSV, Excel

**Key Fields Extracted:**

- `id` - Unique post identifier
- `code` - Instagram post shortcode
- `caption.text` - Full post caption text
- `caption.hashtags` - Array of hashtags used
- `caption.mentions` - Array of mentioned usernames
- `like_count` - Number of likes
- `comment_count` - Number of comments
- `taken_at` - Post timestamp (Unix format)
- `taken_at_date` - Human-readable post date
- `location.name` - Location name
- `location.address` - Location address
- `location.lat` - Latitude coordinate
- `location.lng` - Longitude coordinate
- `user.username` - Post author username
- `user.full_name` - Post author full name
- `user.is_verified` - Verification status
- `user.profile_pic_url` - Profile picture URL
- `thumbnail_url` - Post image/video thumbnail
- `image_versions.items` - Array of image URLs in different resolutions
- `is_video` - Boolean indicating video content
- `media_type` - Content type (1=image, 2=video, 8=carousel)

### How to Use

**Step 1:** Enter the target location name in the `locationQuery` field (e.g., "Brooklyn Bridge", "Santa Monica Pier").

**Step 2:** Configure any additional parameters like result limits based on your data needs.

**Step 3:** Run the scraper and download your results in JSON, CSV, or Excel format for analysis.

### Sample Output

```json
{
  "id": "3789234567890123456",
  "code": "DSPxYzAbCdE",
  "caption": {
    "text": "Amazing sunset views from the rooftop! 🌅 Perfect evening in the city.\n\n#rooftopbar #cityviews #sunsetlovers #downtownlife #urbanphotography",
    "hashtags": [
      "#rooftopbar",
      "#cityviews",
      "#sunsetlovers",
      "#downtownlife",
      "#urbanphotography"
    ],
    "mentions": []
  },
  "like_count": 847,
  "comment_count": 23,
  "taken_at": 1765892345,
  "taken_at_date": "2025-12-16T18:32:25+00:00",
  "location": {
    "name": "Sky Lounge Downtown",
    "address": "456 Main Street",
    "lat": 40.748817,
    "lng": -73.985428,
    "id": "245678"
  },
  "user": {
    "username": "cityexplorer_nyc",
    "full_name": "Sarah Mitchell",
    "is_verified": false,
    "profile_pic_url": "https://example.com/profile.jpg"
  },
  "thumbnail_url": "https://example.com/post_image.jpg",
  "is_video": false,
  "media_type": 1
}
```

***

This Instagram scraper provides comprehensive location-based Instagram data extraction capabilities for marketers and analysts who need to export Instagram posts by geographic area. Whether you're looking to scrape Instagram by location for competitive intelligence or lead generation Instagram campaigns, this tool delivers structured, location-based Instagram data ready for immediate analysis and strategic decision-making.

### Key Features

- 🔒 **Cookieless / No Login Required** - Access public location data without Instagram credentials or session management, eliminating account suspension risks
- 📈 **Scalable Architecture** - Process multiple locations simultaneously with configurable result limits to match your research scope
- ✅ **Rich Post Data** - Extract comprehensive post details including captions, hashtags, engagement metrics (likes, comments), location coordinates, timestamps, user profiles, and media URLs
- ⚡ **Fast & Reliable** - Optimized extraction engine delivers consistent results with built-in error handling and retry logic
- 📊 **Export-Ready Formats** - Download data in JSON, CSV, or Excel formats for immediate analysis in your preferred tools

### Use Cases

**Social Media Marketers**: Analyze location-specific content trends to identify high-performing hashtags, optimal posting times, and popular content themes at target venues. Build geo-targeted campaigns based on real engagement patterns from competitors and local influencers.

**Market Research Analysts**: Track brand mentions and sentiment across specific locations, monitor competitor activity at retail stores or events, and identify emerging trends in different geographic markets through hashtag and caption analysis.

**Sales & Business Development Teams**: Discover potential B2B leads by identifying businesses posting from target locations, analyze foot traffic patterns at competitor venues, and gather intelligence on local events and community engagement opportunities.

### Important Considerations

This scraper can only extract data from public profiles and posts. Private accounts and their posts are not accessible. Location data availability depends on users tagging their posts with specific locations. Some posts may have limited location information if users choose not to share precise coordinates.

### FAQ

**How much does it cost to run this Actor?**
Pricing is listed in the Pricing section above, charged per row returned. You only pay for the rows
the Actor actually produces, so a small test run costs cents.

**Do I need cookies or a login?**
No. This Actor reads public data only - no cookies, no account, no browser automation.

**Can I schedule it?**
Yes. Run it from the Apify API, on a schedule, or via a webhook, and export results as JSON, CSV or Excel.

**What if I need a slightly different output?**
Open an issue on the Actor's Issues tab describing the shape you need.

### Related actors

More Instagram actors from the same portfolio. Apify only auto-recommends actors in the same category, so here are the rest of ours:

| Actor |
|---|
| [Instagram Audio & Trending Sounds Scraper · No Login](https://apify.com/data-slayer/instagram-audio-scraper) |
| [Instagram Brand Mentions & UGC Monitor](https://apify.com/data-slayer/instagram-brand-monitor) |
| [Instagram Comments Scraper with Replies · No Login](https://apify.com/data-slayer/instagram-comments-scraper-no-login-required) |
| [Instagram Creator Lead Finder · Keywords & Hashtags](https://apify.com/data-slayer/instagram-creator-lead-finder) |
| [Instagram Engaged Audience Exporter](https://apify.com/data-slayer/instagram-engaged-audience-exporter) |
| [Instagram Follower Count & Growth Monitor](https://apify.com/data-slayer/instagram-follower-count-growth-monitor) |
| [Instagram Followers & Following Search](https://apify.com/data-slayer/instagram-followers-following-search) |
| [Instagram Followers Scraper & Enricher · No Login](https://apify.com/data-slayer/instagram-followers-scraper---no-login) |
| [Instagram Following Scraper & Enricher · No Login](https://apify.com/data-slayer/instagram-following) |
| [Instagram Hashtag Finder · No Login](https://apify.com/data-slayer/instagram-hashtags-scraper-no-login-required) |
| [Instagram Hashtag Posts & Reels Scraper · No Login](https://apify.com/data-slayer/instagram-hashtag-posts-reels-scraper-no-login) |
| [Instagram Hashtag Research Reports](https://apify.com/data-slayer/instagram-hashtag-research) |
| [Instagram Highlights Scraper · No Login](https://apify.com/data-slayer/instagram-highlights-scraper) |
| [Instagram Keyword Posts Scraper](https://apify.com/data-slayer/instagram-keyword-posts-scraper) |
| [Instagram Likes Scraper · No Cookies](https://apify.com/data-slayer/instagram-likes) |
| [Instagram Media Archive Downloader](https://apify.com/data-slayer/instagram-media-archive-downloader) |
| [Instagram Place Finder & Details](https://apify.com/data-slayer/instagram-place-finder) |
| [Instagram Post & Reel Details Scraper · No Login](https://apify.com/data-slayer/instagram-post-details) |
| [Instagram Profile Posts & Reels Scraper · No Login](https://apify.com/data-slayer/instagram-posts) |
| [Instagram Profile Reels Scraper · No Login](https://apify.com/data-slayer/instagram-profile-reels) |
| [Instagram Profile Scraper · Account Age & Verified Emails](https://apify.com/data-slayer/instagram-user-info-scraper-cookieless) |
| [Instagram Public Contact Finder](https://apify.com/data-slayer/instagram-email-phone-scraper) |
| [Instagram Reel Performance Tracker](https://apify.com/data-slayer/instagram-reel-performance-tracker) |
| [Instagram Reel Transcript Scraper](https://apify.com/data-slayer/instagram-reel-transcript-scraper) |
| [Instagram Reels Search & Trend Discovery · No Login](https://apify.com/data-slayer/instagram-search-reels) |
| [Instagram Reels by Audio ID · Sound & Music Tracker · No Login](https://apify.com/data-slayer/instagram-reels-by-audio) |
| [Instagram Related Creator Network](https://apify.com/data-slayer/instagram-related-creator-network) |
| [Instagram Reposts Scraper · Profile Repost History · No Login](https://apify.com/data-slayer/instagram-reposts) |
| [Instagram Similar Accounts Scraper · No Login](https://apify.com/data-slayer/instagram-related-profiles-scraper) |
| [Instagram Similar Accounts Scraper · No Login](https://apify.com/data-slayer/instagram-similar-accounts-scraper) |
| [Instagram Stories Scraper · No Login](https://apify.com/data-slayer/instagram-stories-scraper) |
| [Instagram Tagged Posts & Mentions Scraper · No Login](https://apify.com/data-slayer/instagram-tagged-posts) |
| [Instagram Trending Audio & Sounds Search · No Login](https://apify.com/data-slayer/instagram-trending-audio-search) |
| [Instagram User Search · Find Leads by Keyword · No Login](https://apify.com/data-slayer/instagram-search-users) |

# 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
}
```

# Actor output Schema

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

Dataset items produced by this run (one record per scraped item).

# 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("data-slayer/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("data-slayer/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 data-slayer/instagram-location-posts --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,data-slayer/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/rYBRFbgqe02aIPACA/builds/F5nXoHaqs0GLbKM0p/openapi.json
