# Instagram Hashtag Scraper (`neuro-scraper/instagram-hashtag-scraper`) Actor

Instagram Hashtag Scraper SD - Instagram Hashtag Scraper is a social media data tool that exports the public posts and reels of any hashtag with captions, likes, plays, dates and related tags, no login (30 #travel posts in 29 s) - instagram hashtag search.

- **URL**: https://apify.com/neuro-scraper/instagram-hashtag-scraper.md
- **Developed by:** [Neuro Scraper](https://apify.com/neuro-scraper) (community)
- **Categories:** Social media, Automation
- **Features:** Limited permissions
- **Stats:** 34 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.19 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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: posts and reels for any hashtag

The Instagram Hashtag Scraper collects public Instagram hashtag data and returns it as a clean dataset you can download as JSON, CSV or Excel, or read through the Apify API. No login, no cookies and no code: give the Instagram Hashtag Scraper your input, start it and get structured Instagram data for research, monitoring, analytics or lead generation. You pay only for the results you receive.

> ⭐ **Featured by Neuro Scraper: [Facebook Reels Scraper](https://apify.com/neuro-scraper/facebook-reels-scraper)** - scrape Facebook Reels from any page, profile or reel link with exact views and plays, every reaction type (Like, Love, Care, Haha, Wow, Sad, Angry), comments, shares, captions, music and video links. No login and no cookies. [Try the Facebook Reels Scraper →](https://apify.com/neuro-scraper/facebook-reels-scraper)

The Instagram Hashtag Scraper exports the public posts and reels behind any hashtag: caption, likes, comments, plays, date, owner and media links, one row per post. It is an Instagram hashtag search without account sign-up, for one tag or hundreds.

Search Instagram hashtags in bulk and export JSON, CSV or Excel. Measured on 2026-10-03: the Instagram Hashtag Scraper returned 30 #travel posts with full details in 29 seconds.

#### Instagram hashtag search without an account

The Instagram Hashtag Scraper reads Instagram's public tag page for each hashtag as a logged-out visitor and follows its cursor, 12 posts per call. Every token and query id is read from Instagram on each run, never hardcoded.

That makes the Instagram Hashtag Scraper an Instagram hashtag viewer without account or app: you get the posts as rows, with Instagram's own ranking in `position`.

### Why choose this Instagram Hashtag Scraper

- **Full post data per tag.** The Instagram Hashtag Scraper read 30 #travel posts with likes, comments, plays and dates in 29 s (local test, 2026-10-03).
- **Fast light mode.** Two hashtags, #cats and #dhaka, gave 30 posts in 6 s with full details off.
- **Filters the top 10 offer.** mediaType (reels, videos, photos, carousels), minLikes and a date window: 8 #cats reels with 5,000+ likes in 23 s.
- **Related hashtags when a page ends.** expandRelatedKeywords turned a 100-post request into 60 #travel plus 40 "transfer travel" posts in 11 s.
- **Google fallback for tags without a page.** Through Apify's Google SERP proxy, #fitness (no public tag page) gave 15 posts in 50 s.
- **Each tag read once.** #Travel, travel and TRAVEL are one tag on Instagram, so the Instagram Hashtag Scraper reads and charges it once.

### What the Instagram Hashtag Scraper extracts

Each Instagram Hashtag Scraper row is one post or reel from a tag page. These fields appeared in the 2026-10-03 test runs; fields Instagram does not publish for a post stay empty.

| Field | Meaning |
|---|---|
| `hashtag` | The hashtag the row belongs to |
| `position` | Rank of the post on Instagram's tag page |
| `source` | instagram (the tag page), instagram-related (a related tag) or google-accounts (Google fallback) |
| `id`, `shortCode`, `url` | Media id, short code and public link |
| `type`, `productType` | Image, Video or Sidecar; Instagram's feed, clips or carousel_container label |
| `caption`, `hashtags`, `mentions` | Caption text, its #hashtags and its @mentions |
| `likesCount`, `commentsCount` | Likes and comments (full details) |
| `videoPlayCount` | Plays, shown on the tag page itself |
| `timestamp` | Publication time (UTC, ISO 8601, full details) |
| `likesAndViewsHidden` | The owner hides like and view counts |
| `ownerUsername`, `ownerId`, `ownerFullName` | Account that posted it |
| `ownerIsVerified`, `ownerProfilePicUrl` | Owner's verified badge and picture link |
| `displayUrl`, `images` | Largest image link; every image of the post |
| `videoUrl`, `audioUrl` | Video file and audio-only track (signed links that expire) |
| `videoDurationSec`, `width`, `height` | Length in seconds and size in pixels |
| `altText` | Instagram's accessibility caption |
| `childPosts`, `carouselCount` | Carousel items and how many there are |
| `taggedUsers`, `coauthors`, `coauthorProducers` | Tagged accounts; collab co-authors (with name, id, verified flag) |
| `locationName`, `locationId`, `locationLat`, `locationLng` | Tagged place, its id and coordinates |
| `audio`, `musicInfo`, `hasAudio` | Song or original audio (title, artist, id, licensed or original, explicit, trending); video has sound |
| `captionIsEdited` | Caption edited after posting |
| `topics` | Topic labels Instagram attaches to the post |
| `firstComment`, `latestComments` | Newest comment; first comments page (about 13-15) with author, likes and date |
| `detailsAvailable` | True when the post's own data was read, false in light mode |
| `scrapedAt` | When the row was read |

In light mode (`includeDetails` off) the Instagram Hashtag Scraper reads the tag page only: link, caption, owner, plays and media, but no likes, comments or date.

Export the Instagram Hashtag Scraper dataset as JSON, CSV, Excel, XML or HTML, or read it through the Apify API.

### What you can do with hashtag data

#### Instagram tag search for several hashtags at once

Put many tags in `hashtags`, with or without #, and the Instagram Hashtag Scraper reads them one after another: the way to search multiple hashtag Instagram pages in one run. Measured: #cats and #dhaka, 15 posts each, in 6 s.

#### Search Instagram by hashtag for market research

Collect what a niche posts: captions, hashtags, likes, comments, plays and dates per post. The Instagram Hashtag Scraper read 30 #travel posts with full details in 29 s; the top one had 30,196,792 plays.

#### Hashtag lookup: Instagram posts behind any tag

Check a tag with the Instagram Hashtag Scraper before you use it in a campaign: which accounts post there, which media types win, how many plays the top posts get. `position` keeps Instagram's own order of the tag page.

#### Instagram hashtag viewer for posts and reels

Read the public posts of any tag without logging in, as Instagram hashtag posts in a table instead of a feed. The Instagram Hashtag Scraper returns captions, owners and media links for photos, carousels and reels alike.

#### Search Instagram reels by hashtag

Set the Instagram Hashtag Scraper's `mediaType` to reels and add `minLikes` to keep only the clips that perform. Measured: 8 #cats reels with at least 5,000 likes in 23 s.

#### Instagram related hashtags: keep going after a tag page ends

Instagram ends a public tag page after about 48-60 posts. Turn on `expandRelatedKeywords` and the Instagram Hashtag Scraper continues with the related tags Instagram suggests; those rows carry `matchedKeyword`. Measured: 100 requested, 100 returned in 11 s.

#### Hashtag tracker: Instagram campaign posts on a schedule

Schedule the Instagram Hashtag Scraper with `onlyPostsNewerThan` set to "7 days" and it works as an Instagram hashtag tracker for a campaign tag. An Instagram hashtag search by date reads each candidate post's date: 5 #dhaka posts from the last year in 26 s.

### How to use the Instagram Hashtag Scraper

Here is how to search hashtags on Instagram with it:

1. Open the Instagram Hashtag Scraper (Apify Store) and add hashtags, with or without #, or tag links.
2. Set `maxItemsPerHashtag`, and if you need them, `mediaType`, `minLikes` or a date window.
3. Keep the residential proxy: Instagram limits logged-out visitors per IP address.
4. Press Start, then export the dataset or read it through the API.

Every input field of the Instagram Hashtag Scraper:

| Field | Type | Default | What it does |
|---|---|---|---|
| `hashtags` | array | \["travel"] | Tags with or without #, one per line; tag links work too |
| `maxItemsPerHashtag` | integer | 30 | Upper limit per hashtag |
| `expandRelatedKeywords` | boolean | false | When a tag page ends before the limit, continue with Instagram's related tags |
| `googleFallback` | boolean | true | If Instagram publishes no page for a tag, find its public posts through Google |
| `includeDetails` | boolean | true | Reads each post's own data (likes, comments, date); off is faster |
| `onlyPostsNewerThan` | string | - | Leave out older posts: 2026-09-01, an ISO time or "7 days" (UTC) |
| `onlyPostsOlderThan` | string | - | Leave out newer posts (same formats); combine both for a date range |
| `mediaType` | string | all | all, reels, videos, photos or carousels |
| `minLikes` | integer | 0 | Leave out posts with fewer likes (hidden likes are left out too) |
| `maxItems` | integer | 0 | Stops the run after this many rows; 0 = only the per-tag limit |
| `proxyConfiguration` | object | RESIDENTIAL | Apify proxy; a blocked IP is swapped for a fresh one |

Example input of the Instagram Hashtag Scraper: reels with 5,000+ likes from #cats.

```json
{
  "hashtags": ["cats"],
  "maxItemsPerHashtag": 8,
  "mediaType": "reels",
  "minLikes": 5000
}
```

### Instagram hashtag API: tag data in your code

Every Apify Actor is an API, so the Instagram Hashtag Scraper works as an Instagram hashtags API: send the JSON input over HTTPS and get the dataset back.

One request runs the Instagram Hashtag Scraper and returns the rows: POST the input to `https://api.apify.com/v2/acts/neuro-scraper~instagram-hashtag-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>`.

Instagram Hashtag Scraper Python example with the Apify client:

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("neuro-scraper/instagram-hashtag-scraper").call(
    run_input={"hashtags": ["travel", "cats"], "maxItemsPerHashtag": 30})
for post in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(post["hashtag"], post["position"], post["url"])
```

The same Instagram hashtag scraper API call, an Instagram tag API for your stack, works from Make, Zapier or n8n through their Apify integrations; a webhook can push each finished run into your system.

### Instagram Hashtag Scraper pricing, speed and limits

The Instagram Hashtag Scraper uses pay-per-event pricing: one `result` event per dataset row, plus the Apify platform usage of your run.

| Apify plan | Price per 1,000 rows |
|---|---|
| Free | $2.99 |
| Bronze | $2.89 |
| Silver | $2.69 |
| Gold and above | $2.49 |

Instagram Hashtag Scraper free-plan runs are capped at 30 rows. That is a size cap, not a free allowance: every row is charged. Set a maximum cost per run and the run stops when it is reached.

Instagram Hashtag Scraper speed in the local test runs (2026-10-03, home connection, no proxy):

| Test | Result | Rows | Time |
|---|---|---|---|
| prefill input (regression) | PASS | 30 | 29 s |
| hashtag travel 30 | PASS | 30 | 33 s |
| two tags, light mode | PASS | 30 | 6 s |
| tag with no public page -> Google fallback | PASS | 0 | 5 s |
| NEW reels only + min likes | PASS | 8 | 23 s |
| NEW date window in light mode (dates read per post) | PASS | 5 | 26 s |

The Instagram Hashtag Scraper's Google fallback test returned 0 rows from a home connection without the Google SERP proxy; with it, #fitness gave 15 posts in 50 s. On the Apify platform, 15 #travel posts took 59 s.

Instagram Hashtag Scraper limits, measured on 2026-10-03:

- Instagram decides which tags get a public page: travel, cats and dhaka have one; food and fitness do not, and need the Google fallback.
- A tag page ends after about 48-60 posts; related tags continue only with `expandRelatedKeywords` on.
- Logged-out tag pages are Instagram's top posts, not a newest-first list, and they show no total post count for a tag.
- Tag pages carry no dates or likes, so for a date or likes filter the Instagram Hashtag Scraper reads each candidate post once.
- Video and audio links are signed and expire after a few days.

### Frequently asked questions

#### How do I search Instagram hashtags without an account?

Add the tags to the Instagram Hashtag Scraper and press Start.

#### Can you search Instagram hashtags by date?

Yes, by filter: set `onlyPostsNewerThan` and `onlyPostsOlderThan`. The tag page has no dates, so the Instagram Hashtag Scraper reads each candidate post's date and keeps the ones inside your window.

#### Can I search several hashtags at once?

Yes. Put one tag per line in `hashtags`; the Instagram Hashtag Scraper reads them in turn, and duplicates in any spelling are read once. That is how to search multiple hashtags on Instagram in one run.

#### Can I get the most recent posts of a hashtag?

Not as a newest-first list. Logged-out tag pages show Instagram's top posts, and no recent tab is served without a login. A date window in the Instagram Hashtag Scraper keeps only recent posts among them.

#### Does it show how many posts a hashtag has?

No. Instagram publishes no total post count for a tag to logged-out visitors, so the Instagram Hashtag Scraper cannot return one. The Instagram Trends Scraper reports post counts for the keywords Instagram lists as trending.

#### Why does a hashtag return no posts?

Instagram gives only some tags a public page. For the others, the Instagram Hashtag Scraper tries Google through Apify's Google SERP proxy; without that proxy, or when Google names no accounts, the tag returns 0 rows and the log says why.

#### Can I search Instagram hashtags by location?

No, a tag page has no location filter. Rows carry `locationName` and coordinates when a post is tagged with a place; for all posts of one place, use the Instagram Location Scraper.

#### What are related hashtags on Instagram?

The tags Instagram suggests next to a tag page, such as "transfer travel" for #travel. With `expandRelatedKeywords` on, the Instagram Hashtag Scraper reads them when the first page ends.

### Leave a review

If the Instagram Hashtag Scraper saved you time, please leave a star rating and a short review on its Apify page. Reviews help other buyers judge the Instagram Hashtag Scraper and tell us what to build next; if something failed, open an issue instead.

### Why use the scraper

The Instagram Hashtag Scraper is a Instagram scraper and Instagram data extractor for anyone who needs public Instagram hashtag data as clean data. The Instagram Hashtag Scraper handles web scraping, proxy rotation and retries for you, so you get a ready dataset instead of raw pages. Use the Instagram Hashtag Scraper for market research, competitor analysis, lead generation, analytics or monitoring, and export the results to JSON, CSV, Excel or Google Sheets.

- No login and no code: the Instagram Hashtag Scraper runs on Apify with one click or one API call.
- Pay per result: the Instagram Hashtag Scraper charges only for rows delivered - no monthly Instagram API fee.
- Complete fields: the Instagram Hashtag Scraper returns every public field, with a stable schema for automation.
- Integrations: connect the Instagram Hashtag Scraper to Zapier, Make, n8n, Google Sheets, a webhook or your CRM.

### The scraper use cases

- Market research: the Instagram Hashtag Scraper collects Instagram hashtag data at scale, so you can compare trends across weeks and niches.
- Competitor analysis: run the Instagram Hashtag Scraper on a schedule and export the dataset to Google Sheets or Excel to watch what competitors publish.
- Lead generation and B2B prospecting: the Instagram Hashtag Scraper gives a sales or agency team a clean list to load into a CRM.
- Content and social media monitoring: the Instagram Hashtag Scraper keeps a fresh copy of Instagram data through an Apify schedule and a webhook.
- Analytics and dashboards: send the Instagram Hashtag Scraper output as JSON through the Apify API into Python, Node.js or a BI tool.
- Academic and data science projects: the Instagram Hashtag Scraper returns a consistent schema, ready for pandas, R or a notebook.
- Price, product and brand tracking: the Instagram Hashtag Scraper turns public Instagram data into a dataset you can diff run by run.
- Automation workflows: connect the Instagram Hashtag Scraper to Zapier, Make or n8n so every new row starts your next step.

### How to run it with the API, Python and Node.js

Start the Instagram Hashtag Scraper from the Apify Console, or call it from code. The Instagram Hashtag Scraper returns its dataset as JSON, CSV or Excel. With the Apify API you can run the Instagram Hashtag Scraper from Python or Node.js, wait for it to finish and read the rows, which makes the Instagram Hashtag Scraper easy to plug into an automation, a data pipeline or a scheduled export.

1. Open the Instagram Hashtag Scraper on Apify and fill in the input (or send the same input as JSON to the API).
2. Start the Instagram Hashtag Scraper. Follow the run log while the Instagram Hashtag Scraper collects public Instagram data.
3. Download the dataset as CSV, JSON, Excel or XLSX, or let a webhook send it on.
4. Schedule the Instagram Hashtag Scraper to keep your Instagram data fresh for monitoring and analytics.

### Tips for better results

- Start small: run the Instagram Hashtag Scraper with a low maximum first, check the fields, then scale up the same input.
- Split big jobs: several smaller Instagram Hashtag Scraper runs (by keyword, URL list or date) finish faster and are easier to resume.
- Keep a history: name a dataset or use a schedule so each Instagram Hashtag Scraper run adds to your Instagram data over time.
- Filter early: use the input filters of the Instagram Hashtag Scraper so you only pay for the Instagram hashtag data you really need.
- Automate the hand-off: a webhook or the Zapier and Make integrations can move every Instagram Hashtag Scraper result straight to Google Sheets, a CRM or a database.
- Watch the run log: the Instagram Hashtag Scraper writes what it is doing and why an item was skipped, so a surprising result is easy to explain.

### The scraper FAQ

### More scrapers from Neuro Scraper

| Actor | What it extracts |
|---|---|
| ⭐ **[Facebook Reels Scraper](https://apify.com/neuro-scraper/facebook-reels-scraper)** | Facebook Reels with exact views, plays, every reaction type, comments and shares |
| [Instagram Engagement Metrics Scraper](https://apify.com/neuro-scraper/instagram-engagement-metrics-scraper) | Instagram engagement metrics with all public fields, exported to JSON, CSV or Excel |
| [Instagram Follower Tracker](https://apify.com/neuro-scraper/instagram-follower-tracker) | Instagram follower data with all public fields, exported to JSON, CSV or Excel |
| [Instagram Posts Scraper](https://apify.com/neuro-scraper/instagram-posts-scraper) | Instagram posts with all public fields, exported to JSON, CSV or Excel |
| [Instagram Reels Downloader](https://apify.com/neuro-scraper/instagram-reels-downloader) | Instagram reels with all public fields, exported to JSON, CSV or Excel |
| [Instagram Reels Scraper](https://apify.com/neuro-scraper/instagram-reels-scraper) | Instagram reels with all public fields, exported to JSON, CSV or Excel |
| [Instagram Trends Scraper](https://apify.com/neuro-scraper/instagram-trends-scraper) | Instagram trends with all public fields, exported to JSON, CSV or Excel |
| [Instagram Location Scraper](https://apify.com/neuro-scraper/instagram-location-scraper) | Instagram location data with all public fields, exported to JSON, CSV or Excel |
| [Instagram Comments Scraper](https://apify.com/neuro-scraper/instagram-comments-scraper) | Instagram comments with all public fields, exported to JSON, CSV or Excel |
| [Snapchat Profile Scraper](https://apify.com/neuro-scraper/snapchat-profile-scraper) | Snapchat profile data with all public fields, exported to JSON, CSV or Excel |
| [Amazon Scraper](https://apify.com/neuro-scraper/amazon-scraper) | Amazon data with all public fields, exported to JSON, CSV or Excel |
| [Facebook Video Details Scraper](https://apify.com/neuro-scraper/facebook-video-details-scraper) | Facebook video details with all public fields, exported to JSON, CSV or Excel |
| [Facebook Reels Scraper Advanced](https://apify.com/neuro-scraper/facebook-reels-scraper-advanced) | Facebook reels  advanced data with all public fields, exported to JSON, CSV or Excel |

# Actor input Schema

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

With or without #, one per line. Tag URLs work too.

## `maxItemsPerHashtag` (type: `integer`):

Upper limit per hashtag.

## `expandRelatedKeywords` (type: `boolean`):

When a hashtag page ends before the limit, continue with the related keywords Instagram suggests.

## `googleFallback` (type: `boolean`):

If Instagram publishes no page for a hashtag, find its public posts through Google and read them.

## `includeDetails` (type: `boolean`):

Reads each post's own data (likes, comments count, date, caption, tagged users, location, audio, video link). One extra request per post. Turn off for the fastest, lightest run.

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

Leave out posts published before this date: 2026-09-01, an ISO time (2026-09-01T10:00:00Z) or relative ("7 days", "2 weeks", "1 month"). UTC. Profile lists stop paging once older posts are reached.

## `onlyPostsOlderThan` (type: `string`):

Leave out posts published after this date (same formats). Combine with "newer than" for a date range.

## `mediaType` (type: `string`):

Keep only this kind of post.

## `minLikes` (type: `integer`):

Leave out posts with fewer likes (posts with hidden likes are left out too).

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

Stops the whole run after this many dataset rows. 0 means only the per-target limits apply.

## `proxyConfiguration` (type: `object`):

Instagram limits logged-out visitors per IP address. Residential proxies (the default) give the most reliable results; the Actor switches to a fresh IP when Instagram blocks one.

## Actor input object example

```json
{
  "hashtags": [
    "travel"
  ],
  "maxItemsPerHashtag": 30,
  "expandRelatedKeywords": false,
  "googleFallback": true,
  "includeDetails": true,
  "mediaType": "all",
  "minLikes": 0,
  "maxItems": 0,
  "proxyConfiguration": {
    "useApifyProxy": true,
    "apifyProxyGroups": [
      "RESIDENTIAL"
    ]
  }
}
```

# 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"
    ],
    "proxyConfiguration": {
        "useApifyProxy": true,
        "apifyProxyGroups": [
            "RESIDENTIAL"
        ]
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("neuro-scraper/instagram-hashtag-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 = {
    "hashtags": ["travel"],
    "proxyConfiguration": {
        "useApifyProxy": True,
        "apifyProxyGroups": ["RESIDENTIAL"],
    },
}

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,neuro-scraper/instagram-hashtag-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/cgfgpdSGlLp2uLr8W/builds/SSdIJoRkyP6TSRhbz/openapi.json
