# Instagram Hashtag Scraper | Only New Posts | No Login (`h1018y/anvil-instagram-hashtag-scraper-pro`) Actor

No login or cookies needed. Works as a instagram hashtag posts, hashtag scraper and instagram hashtag. Scrapes Instagram hashtag and keyword pages with no login. Give it hashtags or phrases; get each top post's caption, real publish time, likes, comments, plays, owner and images as rows, with an onl

- **URL**: https://apify.com/h1018y/anvil-instagram-hashtag-scraper-pro.md
- **Developed by:** [Veriloc](https://apify.com/h1018y) (community)
- **Categories:** Social media, Marketing
- **Features:** Limited permissions
- **Stats:** 3 total users, 3 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.71 / 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 Hashtag Scraper | Only New Posts | No Login

**Instagram Hashtag Scraper** - Give it hashtags or keywords and get each top post's real publish time, likes, comments, plays and owner - and only the new ones on a schedule.

### What does Instagram Hashtag Scraper do?

Every row's timestamp is the real publish time (read from the post id and the post's own page, timestampSource says which), keyword search included, and onlyNew returns only posts you have not seen before.

- timestamp is the real publish time, from the post id and the post page's own taken_at, with timestampSource and ageHours (fixes 'keywordSearch timestamp differs
- onlyNew for schedules: only posts not returned before, changeType new/same and firstSeenAt on every row (fixes 'It keeps showing up the same result')
- Exact likesCount, commentsCount, first and latest comments, ownerFullName, alt text, images, place, sound and AI label from each post's public page
- keywordSearch reads a phrase like 'seoul cafe' as a keyword page; resultsLimit above 12 adds the tag's reels and related keyword pages, and the log says plainly
- Same input and output field names as the most used Instagram hashtag scraper - switch by changing the actor id

### Who uses Instagram Hashtag Scraper, and for what

- Social media managers - get each morning's new top posts for a hashtag list with exact likes and dates
- Brand teams - track which creators lead a campaign hashtag and when they posted
- Developers - poll hashtags through the API with onlyNew and get only posts they have not seen
- Agencies - switch a hashtag job from the most used scraper by changing only the actor id

### What this Instagram Hashtag Scraper does that users of the usual tools ask for

- **Not the same posts again on every scheduled run** - in the `changeType` field
- **The real publish time of each post, also in keyword search** - in the `timestamp` field

#### Switching takes one minute

The input and result field names are the ones the most used Instagram Hashtag Scraper has, so the input JSON your code already sends works unchanged and your pipeline reads the same fields - plus the new ones above.

### Why this Instagram Hashtag Scraper?

Small copies fail because they use other field names, return few fields and go empty when Instagram refuses a request. This Instagram Hashtag 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 Hashtag Scraper

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

| Field | Example |
|---|---|
| `hashtag` | fitness |
| `rank` | 1 |
| `id` | 3874475482351989615 |
| `shortCode` | DXE5uxgjPNv |
| `url` | https://www.instagram.com/reel/DXE5uxgjPNv/ |
| `type` | Video |
| `caption` | 😰 #gymmotivation #bodybuilding #fitnessreels  #aestheticphys... |
| `hashtags` | \["gymmotivation", "bodybuilding", "fitnessreels", "aesthetic... |
| `mentions` | \[] |
| `timestamp` | 2026-04-13T15:18:32Z |
| `ageHours` | 5132 |
| `timestampSource` | post page |
| `queryTag` | fitness |
| `ownerFullName` | Workout motivation |
| `alt` | Video by Workout motivation on April 13, 2026. |
| `playCount` | 4985993 |
| `videoPlayCount` | 4985993 |
| `videoViewCount` | 4985993 |
| `igPlayCount` | 4985993 |
| `fbLikeCount` | null |
| `fbPlayCount` | null |
| `reshareCount` | null |
| `audioUrl` | null |
| `viewsPerHour` | 972 |
| `displayUrl` | https://scontent-mia3-3.cdninstagram.com/v/t51.71878-15/6707... |

### How to use Instagram Hashtag 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** (with **only new** on, where the form has it) to get just what is new every day; add a **webhookUrl** to get each run's rows sent to your own system, Zapier, Make or Slack.
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
{
  "hashtags": [
    "travel",
    "cats"
  ],
  "keywordSearch": false,
  "resultsType": "posts",
  "resultsLimit": 3,
  "onlyNew": false,
  "includePostDetails": true,
  "useApifyProxy": true,
  "proxyGroups": [
    "RESIDENTIAL"
  ]
}
```

#### Output example (a real run)

```json
[
  {
    "hashtag": "fitness",
    "rank": 1,
    "id": "3874475482351989615",
    "shortCode": "DXE5uxgjPNv",
    "url": "https://www.instagram.com/reel/DXE5uxgjPNv/",
    "type": "Video",
    "caption": "😰\n#gymmotivation #bodybuilding #fitnessreels \n#aestheticphysique #workoutmotivation \ngymedit fitnesslifestyle",
    "hashtags": [
      "gymmotivation",
      "bodybuilding",
      "fitnessreels",
      "aestheticphysique",
      "workoutmotivation"
    ],
    "mentions": [],
    "timestamp": "2026-04-13T15:18:32Z",
    "ageHours": 5132,
    "timestampSource": "post page",
    "queryTag": "fitness",
    "ownerFullName": "Workout motivation",
    "alt": "Video by Workout motivation on April 13, 2026.",
    "playCount": 4985993,
    "videoPlayCount": 4985993,
    "videoViewCount": 4985993,
    "igPlayCount": 4985993,
    "fbLikeCount": null,
    "fbPlayCount": null,
    "reshareCount": null,
    "audioUrl": null,
    "viewsPerHour": 972,
    "displayUrl": "https://scontent-mia3-3.cdninstagram.com/v/t51.71878-15/670728815_1481938606797754_7011176063326471726_n.jpg?stp=dst-jpg_e35_s640x640_tt6&_nc_cat=103&_nc_map=urlgen_bucketless&ccb=7-5&_nc_sid=18de74&efg=eyJlZmdfdGFnIjoiQ0xJUFMuYmVzdF9pbWFnZV91cmxnZW4uQzMifQ%3D%3D&_nc_ohc=ta5-w-7_rhcQ7kNvwFTDBrs&_nc_oc=Adq_a3K5-FBP-SjDihzf4K4qN_TXAIKTkyK5_m9zaUE4KsN8n1QhwL4_DYVs9VM0tbA&_nc_zt=23&_nc_ht=scontent-mia3-3.cdninstagram.com&_nc_gid=7rrDlfv0Ep_fTNPnOEkpjg&_nc_ss=70a8c&_nc_ct=RQosPBUKFQQAAAA&oh=00_AQRTNBOzcrmmzrQaVsJxV1yVaQnlg1Pqsq5nGFCvTcOJxA&oe=6AFCC9DA",
    "images": [
      "https://instagram.fdar12-1.fna.fbcdn.net/v/t51.71878-15/670728815_1481938606797754_7011176063326471726_n.jpg?stp=dst-jpg_e15_tt6&_nc_cat=103&_nc_map=urlgen_bucketless&ig_cache_key=Mzg3NDQ3NTQ4MjM1MTk4OTYxNQ%3D%3D.3-ccb7-5&ccb=7-5&_nc_sid=58cdad&efg=eyJ2ZW5jb2RlX3RhZyI6IkNMSVBTLnhwaWRzLjY0MC5zZHIudmlkZW9fZGVmYXVsdF9jb3Zlcl9mcmFtZS5DMyJ9&_nc_ohc=ta5-w-7_rhcQ7kNvwEOBkB6&_nc_oc=AdrNRnrIa08sI14P5E1nw3JcB0qP7Y8z52oVxoqrJiYDiJPuWlqpjLfOw3O9Bv1u-xM&_nc_zt=23&_nc_ht=instagram.fdar12-1.fna&_nc_gid=AIIf1AAKBJsDbb4pD4sPyA&_nc_ss=70a8c&oh=00_AQT10IIidYYpdRjvr3fVcyZZjO9Qj0uTLhmKfNCGoVjddg&oe=6AFCC9DA"
    ],
    "videoUrl": "https://scontent-mia3-3.cdninstagram.com/o1/v/t2/f2/m86/AQPCzhaSmvtXegdELYWAv6fJsBNuNx2R72yxzzkcWAXeFU1hja7hDkE-TYre-nYlo9xqr35xEAPNHhEYZlxADcnL74Bdst6vn8eCAg8.mp4?_nc_cat=107&_nc_sid=5e9851&_nc_ht=scontent-mia3-3.cdninstagram.com&_nc_ohc=w3NfjsMLIAYQ7kNvwEWp9oJ&efg=eyJ2ZW5jb2RlX3RhZyI6Inhwdl9wcm9ncmVzc2l2ZS5JTlNUQUdSQU0uQ0xJU
```

One flat row per result.

### Built for pipelines

- **Field names never change** - fixes and new features only ever add fields, so your code keeps working.
- **Every row has the same shape** - a missing value is `null`, never a dropped field.
- **A plain status line** on every run - how many results, and on a problem what to change in the input - for your logs and for AI agents.
- **Runs on its own** - put it on an Apify Schedule and add a `webhookUrl`: each run's rows go straight to your system, Zapier, Make or Slack.

### How much does Instagram Hashtag 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 hashtag posts
- hashtag scraper
- instagram hashtag
- instagram keyword search
- instagram hashtag api

### FAQ

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

**Can I run Instagram Hashtag 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 Hashtag 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 Hashtag 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 Hashtag 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 for Twitter & X Posts: By URL, No Login](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 & Captions Scraper: Find Any Word Said](https://apify.com/h1018y/anvil-youtube-transcript-scraper)
- [Facebook Ads Library Scraper & Meta Ad Spy: Only New Ads](https://apify.com/h1018y/anvil-facebook-ads-library-scraper)
- [Twitter Scraper: New Tweets From Any X Account, No Login](https://apify.com/h1018y/anvil-twitter-scraper)
- [Facebook Page & Posts Scraper: New Posts & Engagement Growth](https://apify.com/h1018y/anvil-facebook-posts-scraper)
- [Google Trends Scraper: Rising Searches & Interest by Region](https://apify.com/h1018y/anvil-google-trends-scraper)

# Actor input Schema

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

Hashtags to scrape, with or without #, or hashtag links, one per line, e.g. travel or #seoul cafe. Every row has a queryTag column.

## `keywordSearch` (type: `boolean`):

true reads a phrase of several words as a keyword page first (seoul cafe), false joins it into one hashtag first (seoulcafe), e.g. true.

## `resultsType` (type: `string`):

What each row is, e.g. posts. reels keeps only videos; details gives one row per hashtag with its post count, related keywords and top posts.

## `resultsLimit` (type: `integer`):

How many posts per hashtag, e.g. 12. Above 12 the rest come from the hashtag's reels and related keyword pages; the log says if fewer exist.

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

For schedules: return only posts this Actor has not returned before for the same input, e.g. true. false = every post with changeType new/same.

## `onlyPostsNewerThan` (type: `string`):

Keep only posts published on or after this date, YYYY-MM-DD or a relative time, e.g. 2026-01-01 or 30 days. Empty keeps every post.

## `includePostDetails` (type: `boolean`):

Opens each post's public page for exact likes, comments, owner full name, alt text, place and sound, e.g. true. false is faster.

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

Instagram blocks most datacenter addresses, so keep this on: true uses Apify Proxy, false connects directly.

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

Apify Proxy groups to use, as a list, e.g. RESIDENTIAL. RESIDENTIAL works best for Instagram.

## `webhookUrl` (type: `string`):

Optional. An https address - your own system, Zapier, Make or a Slack incoming webhook - that gets each run's results as JSON (with 'only new' on: just the new ones). Example: https://hooks.slack.com/services/T000/B000/XXXX

## Actor input object example

```json
{
  "hashtags": [
    "travel",
    "cats"
  ],
  "keywordSearch": false,
  "resultsType": "posts",
  "resultsLimit": 3,
  "onlyNew": false,
  "includePostDetails": true,
  "useApifyProxy": true,
  "proxyGroups": [
    "RESIDENTIAL"
  ]
}
```

# 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 = {
    "hashtags": [
        "travel",
        "cats"
    ],
    "resultsLimit": 3,
    "useApifyProxy": true,
    "proxyGroups": [
        "RESIDENTIAL"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("h1018y/anvil-instagram-hashtag-scraper-pro").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 = {
    "hashtags": [
        "travel",
        "cats",
    ],
    "resultsLimit": 3,
    "useApifyProxy": True,
    "proxyGroups": ["RESIDENTIAL"],
}

# Run the Actor and wait for it to finish
run = client.actor("h1018y/anvil-instagram-hashtag-scraper-pro").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 '{
  "hashtags": [
    "travel",
    "cats"
  ],
  "resultsLimit": 3,
  "useApifyProxy": true,
  "proxyGroups": [
    "RESIDENTIAL"
  ]
}' |
apify call h1018y/anvil-instagram-hashtag-scraper-pro --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,h1018y/anvil-instagram-hashtag-scraper-pro"
        }
    }
}
```

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/I5fk8feCzOn3EReBs/builds/UlwtLuhJ5nE3VD76I/openapi.json
