# Instagram Post Scraper: New Posts With Your Hashtags (`h1018y/anvil-instagram-post-scraper`) Actor

Scrapes public Instagram accounts and returns only the posts that are new since your last run, filtered by hashtags or caption words: reels, photos and carousels with time, caption, tags and mentions. An Instagram post monitor, no login.

- **URL**: https://apify.com/h1018y/anvil-instagram-post-scraper.md
- **Developed by:** [ANVIL Tools](https://apify.com/h1018y) (community)
- **Categories:** Social media, Marketing
- **Stats:** 2 total users, 1 monthly users, 81.8% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.95 / 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 Post Scraper: New Posts With Your Hashtags

**Instagram Post Scraper** - Watch competitors and creators, catch every new post that uses your hashtag or names your brand - nothing you've already seen.

### What does Instagram Post Scraper do?

It remembers what it showed you, so each run marks posts new or seen and can return only the new ones, filtered by hashtag or caption words, with no login or cookies - hashtag scrapers dump the same old posts every run.

- New or seen on every post, compared with your last run
- Filter by hashtags or by words in the caption
- Reels, photos and carousels with post time, caption, tags and mentions
- Many accounts in one run, newest posts first
- No login, cookies or session needed

### Why this Instagram Post Scraper?

Most need cookies or a logged-in session and break when it expires. This Instagram Post Scraper checks every run and tells you plainly when a page could not be read, instead of returning empty or wrong rows.

### Data you get from Instagram Post Scraper

Every result is one flat row with these fields (values from a real run):

| Field | Example |
|---|---|
| `status` | seen |
| `account` | natgeo |
| `postUrl` | https://www.instagram.com/p/DekS-u4GltE/ |
| `postedAt` | 2026-10-16T19:35+00:00 |
| `type` | carousel |
| `matched` | \[] |
| `caption` | Presented by @Rolex. Animals across Africa have had to devel... |
| `hashtags` | \["rolex", "perpetualplanet", "africaearthswildhome"] |
| `mentions` | \["Rolex.", "DisneyPlus", "hulu."] |
| `postedBy` | natgeo |
| `imageUrl` | https://scontent-xxc1-1.cdninstagram.com/v/t51.82787-15/8526... |
| `altText` | null |
| `checkedAt` | 2026-10-17T02:55:14+00:00 |

### How to use Instagram Post Scraper

1. Press **Start** - the form already holds an example that works.
2. Put in your own input (see the fields on the Input tab).
3. Run it once, or put it on an **Apify Schedule** to get fresh rows every day.
4. Download the results as JSON, CSV or Excel, or send them to Google Sheets, Zapier, Make, the Apify API or an AI agent (Apify MCP server).

#### Input example

```json
{
  "accounts": [
    "nasa",
    "natgeo"
  ],
  "hashtags": [],
  "onlyNew": false,
  "maxItems": 10,
  "useApifyProxy": true
}
```

#### Output example (a real run)

```json
[
  {
    "status": "seen",
    "account": "natgeo",
    "postUrl": "https://www.instagram.com/p/DekS-u4GltE/",
    "postedAt": "2026-10-16T19:35+00:00",
    "type": "carousel",
    "matched": [],
    "caption": "Presented by @Rolex. Animals across Africa have had to develop unique ways to survive. From the ability to puff up their bodies to reflective hairs, these unusual adaptations help these species thrive in some of the continent’s harshest landscapes. \n\nThrough its partnership with the National Geographic Society and as part of its Perpetual Planet Initiative, #Rolex supports expeditions exploring and protecting remarkable places around the world, a selection of which are featured in Africa Earth’s Wild Home. #PerpetualPlanet\n\nLearn their secrets at the link in bio. \n\n#AfricaEarthsWildHome now streaming on @DisneyPlus and @hulu.\n\nIllustrations by Violet Frances",
    "hashtags": [
      "rolex",
      "perpetualplanet",
      "africaearthswildhome"
    ],
    "mentions": [
      "Rolex.",
      "DisneyPlus",
      "hulu."
    ],
    "postedBy": "natgeo",
    "imageUrl": "https://scontent-xxc1-1.cdninstagram.com/v/t51.82787-15/852644197_18708728014019133_1266064804286544229_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=1&ig_cache_key=NDAwOTQxMjgzNjg2MTE3OTg2NQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNBUk9VU0VMX0lURU0ueHBpZHMuNzIwLnNkci52aWRlb19kZWZhdWx0X2NvdmVyX2ZyYW1lLkMzIn0%3D&_nc_ohc=VN5UCPDTMLYQ7kNvwHtps5o&_nc_oc=AdrZUCVdghx9qg5uY9asm0RmUuQs54wtb6n0SxMCt2Ti1noY-ksLd-N_tzwjmP444zU&_nc_zt=23&_nc_ht=scontent-xxc1-1.cdninstagram.com&_nc_gid=tlLhS5VpAKCojZ0pi0Mi5A&_nc_ss=70689&oh=00_AQOQvyxg2WTnwHxtm9kqoTMBWGYBPACY6vCYybLvVWfdJQ&oe=6AD8B9C7",
    "altText": null,
    "checkedAt": "2026-10-17T02:55:14+00:00"
  }
]
```

One flat row per result.

### How much does Instagram Post Scraper cost?

You pay only per result (pay per event) - no monthly fee, no minimum, and the price per result is lower on Apify's Bronze, Silver and Gold plans. The exact price is on the **Pricing** tab. Apify's free plan credit is enough to try it on real input.

| You want | What you pay for |
|---|---|
| A quick test with the example | a few results |
| A daily scheduled run | only the rows that run returns |
| A big one-off export | the results delivered - set a maximum in the input |

### Also searched as

- instagram scraper
- instagram new posts
- instagram hashtag monitor
- instagram post monitor
- instagram reels scraper

### FAQ

**Does Instagram Post Scraper need a login, cookies or an API key?** No. It reads public pages only.

**Can I run Instagram Post Scraper on a schedule?** Yes - with Apify Schedules; each run returns fresh rows.

**Can I call it from Python, JavaScript or an AI agent?** Yes - through the Apify API, the Apify client libraries or the Apify MCP server.

**Is it legal?** It collects only data anyone can see without logging in. You are responsible for using it within the source site's terms and data protection law (GDPR, CCPA).

**What if the site blocks a request?** The run retries from a fresh connection and, if it still cannot read the page, stops with a clear message - never with made-up rows.

**Do I need proxies?** No setup needed - Instagram Post Scraper uses Apify Proxy by default where the site needs it.

### Troubleshooting

- **No results:** check the input (a public URL or a search term that returns results in a normal browser), then try the example input once.
- **Fewer results than expected:** raise the maximum in the input; some sites show only a part of their data without logging in, and Instagram Post Scraper never logs in.
- **The run stopped with a message:** the message says what the site answered; run it again later or with fewer items.

### Your feedback

Missing a field, found a bug, or need another site? Open an issue on the **Issues** tab - issues are answered and fixed. If Instagram Post Scraper saved you time, a short review on this page helps others find it.

Data source: [www.instagram.com](https://www.instagram.com)

### More tools from this developer

- [Tweet Scraper: Tweet Details by URL, No Login or Cookies](https://apify.com/h1018y/anvil-tweet-scraper)
- [YouTube Thumbnail Downloader: Bulk, Every Size & Titles](https://apify.com/h1018y/anvil-youtube-thumbnail-downloader)
- [ML Conference Finder: NeurIPS, ICLR & ICML Alternatives](https://apify.com/h1018y/anvil-ml-conference-finder)
- [YouTube Transcript Scraper: Find Every Moment a Word Is Said](https://apify.com/h1018y/anvil-youtube-transcript-scraper)
- [Facebook Ads Library Scraper: Only New Ads & Days Running](https://apify.com/h1018y/anvil-facebook-ads-library-scraper)
- [Reddit Scraper: Keyword Alerts for New Posts & Comments](https://apify.com/h1018y/anvil-reddit-scraper)
- [Twitter Scraper: New Tweets From Any X Account, No Login](https://apify.com/h1018y/anvil-twitter-scraper)
- [Facebook Posts Scraper: New Posts & Engagement Growth](https://apify.com/h1018y/anvil-facebook-posts-scraper)

# Actor input Schema

## `accounts` (type: `array`):

Public Instagram usernames or profile links - competitors, creators, brands. One per line.

## `hashtags` (type: `array`):

Only posts from these accounts that use one of these hashtags. Leave empty to get every post.

## `keywords` (type: `array`):

Optional. Posts whose caption mentions one of these words (e.g. a brand or product name).

## `onlyNew` (type: `boolean`):

Turn on for alerts. The first run is the baseline.

## `maxItems` (type: `integer`):

Stop after this many rows.

## `useApifyProxy` (type: `boolean`):

Recommended. Instagram limits plain data-center traffic.

## `proxyGroups` (type: `array`):

Optional, e.g. RESIDENTIAL.

## Actor input object example

```json
{
  "accounts": [
    "nasa",
    "natgeo"
  ],
  "hashtags": [],
  "onlyNew": false,
  "maxItems": 10,
  "useApifyProxy": true
}
```

# Actor output Schema

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

All result rows (open as table, JSON, CSV or Excel).

# 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 = {
    "accounts": [
        "nasa",
        "natgeo"
    ],
    "hashtags": [],
    "maxItems": 10,
    "useApifyProxy": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("h1018y/anvil-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 = {
    "accounts": [
        "nasa",
        "natgeo",
    ],
    "hashtags": [],
    "maxItems": 10,
    "useApifyProxy": True,
}

# Run the Actor and wait for it to finish
run = client.actor("h1018y/anvil-instagram-post-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 '{
  "accounts": [
    "nasa",
    "natgeo"
  ],
  "hashtags": [],
  "maxItems": 10,
  "useApifyProxy": true
}' |
apify call h1018y/anvil-instagram-post-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,h1018y/anvil-instagram-post-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/mavXgYhELRDAU56hw/builds/eq8K0P6EpOd5RF3bZ/openapi.json
