# 📷 Instagram Post Scraper — Posts + Emails & Engagement (`gocreative.ai/instagram-post-scraper`) Actor

Scrape Instagram posts by username or URL: caption, likes, comments, hashtags, mentions & media — PLUS the owner's email, phone, location & engagement parsed from bio and captions. No login, no API key. Every post is outreach-ready. $0.75/1,000 posts, pay per result.

- **URL**: https://apify.com/gocreative.ai/instagram-post-scraper.md
- **Developed by:** [GoCreative AI](https://apify.com/gocreative.ai) (community)
- **Categories:** Social media, Lead generation
- **Stats:** 2 total users, 1 monthly users, 17.6% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.75 / 1,000 posts

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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 Post Scraper — Posts + Emails & Engagement (No Login)

### 📊 Example output (real run)

![Sample output](https://api.apify.com/v2/key-value-stores/1ztQFHwG8acESTazI/records/instagram-post-scraper-sample)

A real record from a live run — clean structured data, exported as CSV / JSON / Excel or via API.


**Paste Instagram usernames or profile URLs and get back every profile's posts — caption, likes, comments, hashtags, mentions and media — with each post enriched by the owner's email, phone, location and engagement rate, parsed from the bio AND the caption. No login, no cookies, no API key. From $0.90 per 1,000 posts, pay only per result.**

*instagram post scraper · instagram posts · scrape instagram posts · instagram caption scraper · instagram hashtag extractor · instagram engagement scraper · instagram email scraper · influencer outreach · instagram lead generation · bulk instagram scraper*

![Instagram Post Scraper — paste usernames in, get posts + owner emails, phones & engagement out](https://api.apify.com/v2/key-value-stores/2sX47tBpmVpsHSWcJ/records/hero.png)

Most post scrapers hand you raw engagement counts and stop. This one bundles the **owner's full contact + context on every post row** and **computes the engagement signal** — so a post isn't just a post, it's an **outreach-ready, vetting-ready lead**. Same proven engine as our Profile Scraper: public endpoints over **rotating proxies with a fresh IP per request** (cheap datacenter first, residential fallback), so it's reliable at scale with no session to break.

### 👀 See it in action

**Step 1 — paste usernames in:**

![Input: paste Instagram usernames or profile URLs](https://api.apify.com/v2/key-value-stores/2sX47tBpmVpsHSWcJ/records/input.png)

**Step 2 — get posts + owner contacts & engagement out** (export to CSV, JSON or Excel):

![Output: owner, followers, email, phone, engagement, caption, likes, comments](https://api.apify.com/v2/key-value-stores/2sX47tBpmVpsHSWcJ/records/output.png)

---

### 📦 What it extracts

| Field | Description |
|---|---|
| `url`, `shortcode`, `caption` | The post and its full caption |
| `caption_emails`, `caption_phones`, `caption_links` | **Contacts parsed from the caption** — email/phone/website written in the post text (incl. obfuscated `name [at] domain` forms). Most scrapers miss this entirely |
| `caption_hashtags`, `caption_mentions` | Hashtags and @mentions parsed out of the caption |
| `like_count`, `comment_count`, `is_video`, `video_view_count` | Per-post engagement |
| `display_url`, `posted_at`, `product_type` | Media image, timestamp, type |
| `owner_email`, `owner_phone`, `owner_city` | **The owner's contact data** — email/phone/location parsed from the bio + business fields, bundled on every post |
| `owner_followers`, `owner_is_verified`, `owner_is_business`, `owner_business_category` | Owner trust + segmentation signals |
| `owner_engagement_rate`, `owner_engagement_tier` | **Computed**: engagement rate (%) + tier (nano/micro/macro/mega) for instant influencer vetting |
| `owner_external_url`, `owner_full_name`, `owner_bio` | Full owner context — no second scraper needed |

Export everything to **CSV, Excel, JSON or via the API**, or grab the ready-made **CRM-ready CSV** from the key-value store.

---

### 🥇 Why this one

- **Posts + contacts in ONE call.** Email/phone/website parsed from both the bio AND post captions — the giant post scrapers (Apify official, Bright Data, apidojo) return **zero contact data**, forcing you to chain a separate profile scraper. We hand you "posts + email" in a single result.
- **Owner context on every post.** Followers, verified, business category, contacts and engagement are bundled onto each post row, so a lead is actionable immediately.
- **Computed engagement, not raw counts.** Engagement rate %, tier (nano→mega) — vet influencer quality at a glance instead of eyeballing like counts.
- **Recent or deep.** `recent` returns the latest 12 posts per profile (fast, rock-solid); `deep` paginates the full timeline up to your limit.
- **Real-time API (Standby).** Hit the actor's URL with `?username=X` and get a profile's posts back as JSON in seconds — for CRM / outreach integrations. Batch-only competitors can't.
- **Cheaper + pay-per-result.** From **$0.90 / 1,000 posts** — under the official scraper — with automatic volume discounts (down to $0.75) on higher Apify plans, and you're never charged for blocked IPs or not-found handles.

---

### 🚀 How to use it

1. Paste Instagram **usernames or profile URLs** into `usernames`.
2. Pick **Recent** (latest 12 posts) or **Deep** (full timeline, set `maxPostsPerProfile`).
3. Run it. Pull results as CSV / Excel / JSON or via the API.

```json
{
  "usernames": ["nasa", "https://www.instagram.com/natgeo/", "@mkbhd"],
  "mode": "recent",
  "maxPostsPerProfile": 50
}
````

***

### 📤 What each row looks like

Each post comes back as a clean row (trimmed example — full output adds media, video views, mentions & more):

```json
{
  "url": "https://www.instagram.com/p/DXyz/",
  "caption": "New single-origin Ethiopia just dropped — order: hello@joescoffee.com",
  "caption_emails": ["hello@joescoffee.com"],
  "caption_hashtags": ["coffee", "austin"],
  "like_count": 642,
  "comment_count": 37,
  "is_video": false,
  "owner_username": "joescoffee",
  "owner_followers": 18432,
  "owner_email": "hello@joescoffee.com",
  "owner_phone": "+15125550143",
  "owner_city": "Austin",
  "owner_is_verified": true,
  "owner_business_category": "Coffee Shop",
  "owner_engagement_rate": 3.2,
  "owner_engagement_tier": "micro"
}
```

***

### 👥 Who it's for

- **Agencies & founders** building outreach lists from creators/businesses who post in a niche.
- **Influencer marketers** vetting real engagement (rate + tier) and grabbing contact emails before reaching out.
- **Sales & lead-gen teams** turning a list of handles into posts + contactable owners.
- **Researchers & analysts** pulling captions, hashtags, mentions and post metrics at scale.

***

### ❓ FAQ

**Do I need a login, cookies, or an API key?** No. It uses Instagram's public endpoints over rotating proxies — nothing to log in to.

**How many posts do I get?** `recent` returns the latest 12 posts per profile (fast and rock-solid). `deep` paginates the full timeline up to `maxPostsPerProfile`.

**Where do the emails/phones come from?** Only from **public** data — the owner's business contact fields, their bio, and the post captions (we also catch obfuscated `name [at] domain` forms). Contact coverage is genuinely high for **small/local-business creators** (the ones who publish a contact email/phone) and lower for large personal accounts — we never imply universal coverage. The engagement, captions, hashtags and post metrics are returned for **every** post regardless.

**Can I get posts in real time?** Yes — the actor exposes a real-time API (Standby): `GET ?username=<handle>` returns that profile's posts as JSON instantly.

**How much does it cost?** From **$0.90 per 1,000 posts**, billed per result (pay-per-event). You're charged only for posts successfully returned — never for blocked or not-found handles.

**Is scraping Instagram legal?** This actor only collects **publicly available** information that anyone can see without logging in. You're responsible for lawful use — comply with Instagram's Terms and data-protection / anti-spam laws (GDPR/CCPA, CAN-SPAM) for any outreach. When in doubt, seek legal advice.

# Actor input Schema

## `usernames` (type: `array`):

One per line. Bare handles, @handles, or full profile URLs all work — e.g. \["nasa", "https://www.instagram.com/natgeo/", "@mkbhd"]. Duplicates are removed automatically.

## `mode` (type: `string`):

Recent = the latest 12 posts per profile (fastest, most reliable). Deep = paginate the full timeline up to your limit.

## `maxPostsPerProfile` (type: `integer`):

Upper limit of posts to return per profile when using Deep mode.

## `proxyType` (type: `string`):

Auto (recommended) tries cheap datacenter first and falls back to residential. Residential = force most-reliable. Datacenter = cheapest.

## Actor input object example

```json
{
  "usernames": [
    "nasa",
    "natgeo",
    "mkbhd"
  ],
  "mode": "recent",
  "maxPostsPerProfile": 50,
  "proxyType": "auto"
}
```

# Actor output Schema

# 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 = {
    "usernames": [
        "nasa",
        "natgeo",
        "mkbhd"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("gocreative.ai/instagram-post-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 = { "usernames": [
        "nasa",
        "natgeo",
        "mkbhd",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("gocreative.ai/instagram-post-scraper").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 '{
  "usernames": [
    "nasa",
    "natgeo",
    "mkbhd"
  ]
}' |
apify call gocreative.ai/instagram-post-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "📷 Instagram Post Scraper — Posts + Emails & Engagement",
        "description": "Scrape Instagram posts by username or URL: caption, likes, comments, hashtags, mentions & media — PLUS the owner's email, phone, location & engagement parsed from bio and captions. No login, no API key. Every post is outreach-ready. $0.75/1,000 posts, pay per result.",
        "version": "0.1",
        "x-build-id": "h8A6XiUZ230cU8dpx"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/gocreative.ai~instagram-post-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-gocreative.ai-instagram-post-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/gocreative.ai~instagram-post-scraper/runs": {
            "post": {
                "operationId": "runs-sync-gocreative.ai-instagram-post-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/gocreative.ai~instagram-post-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-gocreative.ai-instagram-post-scraper",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "usernames"
                ],
                "properties": {
                    "usernames": {
                        "title": "Instagram usernames or profile URLs",
                        "type": "array",
                        "description": "One per line. Bare handles, @handles, or full profile URLs all work — e.g. [\"nasa\", \"https://www.instagram.com/natgeo/\", \"@mkbhd\"]. Duplicates are removed automatically.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "mode": {
                        "title": "How many posts",
                        "enum": [
                            "recent",
                            "deep"
                        ],
                        "type": "string",
                        "description": "Recent = the latest 12 posts per profile (fastest, most reliable). Deep = paginate the full timeline up to your limit.",
                        "default": "recent"
                    },
                    "maxPostsPerProfile": {
                        "title": "Max posts per profile (deep mode)",
                        "minimum": 1,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "Upper limit of posts to return per profile when using Deep mode.",
                        "default": 50
                    },
                    "proxyType": {
                        "title": "Proxy type",
                        "enum": [
                            "auto",
                            "residential",
                            "datacenter"
                        ],
                        "type": "string",
                        "description": "Auto (recommended) tries cheap datacenter first and falls back to residential. Residential = force most-reliable. Datacenter = cheapest.",
                        "default": "auto"
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
