Instagram Hashtag Scraper avatar

Instagram Hashtag Scraper

Pricing

from $2.49 / 1,000 results

Go to Apify Store
Instagram Hashtag Scraper

Instagram Hashtag Scraper

Instagram Hashtag Scraper SD - Instagram Hashtag Scraper is a social media data tool that extracts posts and reels for any hashtag with captions, views, likes, owners and related hashtags, using Instagram public tag pages - Instagram hashtag extractor.

Pricing

from $2.49 / 1,000 results

Rating

0.0

(0)

Developer

Neuro Scraper

Neuro Scraper

Maintained by Community

Actor stats

0

Bookmarked

32

Total users

1

Monthly active users

2 days ago

Last modified

Share

Instagram Hashtag Scraper — posts and reels for any hashtag

The Instagram Hashtag Scraper exports public posts and reels for the hashtags you give it, with captions, views, likes, owners and dates, using the public tag pages Instagram shows logged out.

It runs on Apify, needs no Instagram login and no cookies, and exports to JSON, CSV, Excel or an API call. Every session key it needs (tokens, query ids, cursors) is read from Instagram on each run, so it keeps working when Instagram ships new code.

What the Instagram Hashtag Scraper does

  • Opens Instagram's public tag page and follows its cursor (12 posts per page).
  • Optionally continues with the related hashtags Instagram suggests.
  • Falls back to Google to find public posts when Instagram publishes no page for a tag.
  • Adds full details per post (likes, comments, date, audio).

Who uses the Instagram Hashtag Scraper

  • Marketers researching hashtag performance.
  • Brands monitoring campaign hashtags.
  • Researchers sampling public posts by topic.

How the Instagram Hashtag Scraper works

Instagram serves every public page to logged-out visitors together with the queries that fill it.

The Actor loads the page the way a browser does, reads the session values Instagram puts into it, and then asks Instagram's own GraphQL endpoint for the next page with the cursor the previous page returned.

Query ids that a page does not preload are read from the JavaScript bundles that page lists. Large files from Instagram's CDN (images, videos) are fetched directly with their signed links, so proxy traffic stays small.

Nothing is guessed: if Instagram stops publishing a value the Instagram Hashtag Scraper needs, the run log names it and the item is skipped instead of being filled with a stale value.

What is new in the Instagram Hashtag Scraper (October 2026)

These features were added on 2026-10-03 after comparing the Instagram Hashtag Scraper with the ten most used Actors of its kind on the Apify Store. Defaults keep the earlier behaviour.

  • mediaType keeps only reels, videos, photos or carousels (measured: #cats reels only, 8 rows).
  • onlyPostsNewerThan / onlyPostsOlderThan and minLikes leave posts out by date and likes.
  • position gives each post's rank on Instagram's tag page.
  • New fields with details on: musicInfo, audioUrl, images, coauthorProducers, latestComments, firstComment and place coordinates.

Input of the Instagram Hashtag Scraper

FieldTypeDefaultWhat it does
hashtagsarray["travel"]With or without #, one per line. Tag URLs work too.
maxItemsPerHashtaginteger30Upper limit per hashtag.
expandRelatedKeywordsbooleanFalseWhen a hashtag page ends before the limit, continue with the related keywords Instagram suggests.
googleFallbackbooleanTrueIf Instagram publishes no page for a hashtag, find its public posts through Google and read them.
includeDetailsbooleanTrueReads 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 faste
onlyPostsNewerThanstring—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
onlyPostsOlderThanstring—Leave out posts published after this date (same formats). Combine with "newer than" for a date range.
mediaTypestringallKeep only this kind of post.
minLikesinteger0Leave out posts with fewer likes (posts with hidden likes are left out too).
maxItemsinteger0Stops the whole run after this many dataset rows. 0 means only the per-target limits apply.
proxyConfigurationobject{"useApifyProxy": true, "apifyProxyGroups": ["RESIDENTIAL"]}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 Ins

Example input for the Instagram Hashtag Scraper:

{
"hashtags": [
"travel"
],
"maxItemsPerHashtag": 30,
"googleFallback": true,
"includeDetails": true
}

Output of the Instagram Hashtag Scraper

Each dataset row is one post. These are the fields the Instagram Hashtag Scraper produced in its test runs:

FieldMeaning
altTextaltText
audioMusic or original audio used
captionCaption text
carouselCountcarouselCount
childPostsItems of a carousel
coauthorsCollab co-authors
commentsCountComments count
detailsAvailabledetailsAvailable
displayUrlImage link (largest size)
hashtaghashtag
hashtagsHashtags found in the caption
heightheight
idPlatform id of the item
likesAndViewsHiddenlikesAndViewsHidden
likesCountLikes (or reactions) count
locationIdlocationId
locationNameTagged place
mentions@accounts mentioned in the caption
ownerFullNameOwner display name
ownerIdOwner account id
ownerUsernameAccount that posted it
productTypeproductType
scrapedAtWhen this row was read
shortCodeInstagram short code
sourcesource
taggedUsersAccounts tagged in the media
timestampPublication time (UTC, ISO 8601)
topicstopics
typeImage, Video or Sidecar (carousel)
urlPublic link of the item
videoDurationSecVideo length in seconds
videoPlayCountVideo plays
videoUrlVideo file link (signed CDN link, expires)
widthwidth
audioUrlAudio-only track link (signed CDN link, expires)
captionIsEditedCaption was edited after posting
coauthorProducersCollab co-authors with name, id and verified flag
firstCommentText of the newest comment
hasAudioThe video has sound
imagesEvery image link of the post (carousel items too)
latestCommentsNewest comments (about 13-15) with author, likes and date
locationLatLatitude of the tagged place
locationLngLongitude of the tagged place
musicInfoAudio: id, title, artist, original or licensed, explicit, trending
ownerIsVerifiedOwner has the verified badge
ownerProfilePicUrlOwner profile picture link
positionRank of the post on Instagram's page

Fields that Instagram does not publish for an item are left empty rather than guessed. Download the dataset as JSON, CSV, Excel, XML or HTML, or read it through the Apify API.

Data quality of the Instagram Hashtag Scraper

  • Every value in a Instagram Hashtag Scraper row is read from Instagram during your run; nothing is filled from a cache or an old snapshot.
  • Rows are de-duplicated by id inside a run, so the same post never appears twice in one dataset.
  • Counts are numbers you can sort and sum (not "1.2K" text) wherever Instagram publishes the exact number.
  • Dates are UTC in ISO 8601 format, which Excel, Google Sheets, Python and SQL all read directly.

Instagram Hashtag Scraper test results

These numbers come from live test runs of the Instagram Hashtag Scraper on 2026-10-03 (home connection, no proxy). Runs on the Apify platform use residential proxies and can be faster or slower.

TestRowsTime
prefill input (regression)3029 s
hashtag travel 303033 s
two tags, light mode306 s
NEW reels only + min likes823 s
NEW date window in light mode (dates read per post)526 s

Instagram Hashtag Scraper limits, stated plainly

  • Instagram decides which tags get a public page: measured, "travel", "cats" and "dhaka" have one; "food" and "fitness" do not.
  • A public tag page ends after about 48 to 60 posts; the related-hashtags option continues past that.
  • The Google fallback needs Apify's Google SERP proxy. Instagram shows no total post count for a tag logged out, so it is not in the rows.
  • Measured locally: 30 posts for #travel in 44 seconds.

How to run the Instagram Hashtag Scraper

  1. Open the Instagram Hashtag Scraper in Apify Console and fill in the input fields described above.
  2. Keep the default residential proxy unless you have a reason to change it; Instagram limits logged-out visitors per IP address.
  3. Start the run, watch the log, and download the dataset when the status says Done.
  4. To automate it, call the Instagram Hashtag Scraper from the Apify API, schedule it, or connect it to Make, Zapier, n8n or Google Sheets through an integration or webhook.

Python example with the Apify API client:

from apify_client import ApifyClient
client = ApifyClient("<YOUR_APIFY_TOKEN>")
run_input = {
"hashtags": [
"travel"
],
"maxItemsPerHashtag": 30,
"googleFallback": True,
"includeDetails": True
}
run = client.actor("neuro-scraper/instagram-reeel-scraper").call(run_input=run_input)
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
print(item)

Instagram Hashtag Scraper pricing

The Instagram Hashtag Scraper uses pay-per-event pricing: you pay per dataset row (event "result"), plus the Apify platform usage of your run. Free-plan users get up to 30 rows per run, which is enough to test the Instagram Hashtag Scraper on real data.

Set a maximum cost per run in Apify and the Instagram Hashtag Scraper stops cleanly when it is reached.

Tips for large runs of the Instagram Hashtag Scraper

  • Start with a small limit to check the Instagram Hashtag Scraper output, then raise it; the first rows arrive within seconds.
  • Split very large jobs into several inputs and run them in parallel tasks; each run gets its own proxy sessions.
  • Set a maximum cost per run in Apify; the Instagram Hashtag Scraper stops cleanly when the budget is reached and keeps every row it already saved.
  • Schedule repeat runs instead of one huge run when you track the same targets over time.
  • Keep the residential proxy: datacenter IPs are refused by Instagram far more often for logged-out visitors.

Instagram Hashtag Scraper compared with copying by hand

Instagram Hashtag ScraperManual work
SpeedSeconds per page of resultsMinutes per item
FieldsEvery public field, same order every timeWhatever you copy
FormatJSON, CSV, Excel, APISpreadsheet you build yourself
RepeatableSchedule it dailyStart again each time
ErrorsLogged per itemUnnoticed typos

Using the Instagram Hashtag Scraper in a workflow

  • Send every new row to Google Sheets or Airtable with the Apify integration and keep a live table.
  • Trigger a Make, Zapier or n8n scenario with a webhook when the run finishes.
  • Load the JSON export into Python or BigQuery for analysis and dashboards.
  • Use the Apify API: start the Instagram Hashtag Scraper with a POST request and read the dataset items endpoint when the run finishes.
  • Chain it: pass the Instagram Hashtag Scraper output to another Apify Actor (for example a downloader or a transcript Actor) in an Apify task.
  • Export straight to Excel from the dataset tab when you only need a one-off report.

Troubleshooting the Instagram Hashtag Scraper

  • The run ends with no rows: open the log. The Instagram Hashtag Scraper writes one line per target saying what Instagram returned, for example a login wall or a missing item.
  • Fewer rows than expected: the target may have fewer public items, or Instagram may stop serving more pages to logged-out visitors. The log names the reason.
  • Slow run: large limits mean many pages; the Instagram Hashtag Scraper waits briefly between pages so Instagram keeps answering. Split big jobs into several runs.
  • Proxy errors: keep the RESIDENTIAL group. The Instagram Hashtag Scraper already switches to a fresh IP when one is blocked.
  • Free plan stops at 30 rows: that is the free-plan cap of the Instagram Hashtag Scraper; any paid Apify plan removes it.

What changed in this version of the Instagram Hashtag Scraper

  • Rebuilt in October 2026 on Instagram's logged-out web endpoints; every token, query id and cursor is read at run time.
  • Pay-per-event pricing (one event per row) replaces the old monthly rental; free-plan users can test with 30 rows per run.
  • Residential proxy by default, with automatic switch to a fresh IP when Instagram blocks one.
  • October 2026 feature round: new filters and fields matching the most used Instagram Actors on the Store, every one measured in a live test; existing inputs and fields are unchanged.

The Instagram Hashtag Scraper reads only data that Instagram shows to any logged-out visitor. It never logs in and never touches private content.

Personal data may still be in public posts, so check GDPR and the other laws that apply to you before you store or reuse it, and respect Instagram's terms.

ActorLink
Instagram Scraperneuro-scraper/instagram-video-scraper
Instagram Profile Scraperneuro-scraper/instagram-reels-scraper-downloader-pro
Instagram Posts Scraperneuro-scraper/instagram-posts-scraper
Instagram Reels Scraperneuro-scraper/instagram-reels-scraper
Instagram Comments Scraperneuro-scraper/instagram-reels-scraper-and-downloader-premium
Instagram Search Scraperneuro-scraper/instagram-video-scraper-advanced
Instagram Video Downloaderneuro-scraper/instagram-video-downloader
Instagram Reels Downloaderneuro-scraper/instagram-reels-downloader
Instagram Image Downloaderneuro-scraper/instagram-video-scraper-and-downloader
Instagram Transcript Scraperneuro-scraper/instagram-video-scraper-and-downloader-pro
Instagram Mentions Scraperneuro-scraper/instagram-video-scraper-and-downloader-premium
Instagram Keyword Scraperneuro-scraper/instagram-video-scraper-and-downloader-fastest

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 users find the Instagram Hashtag Scraper and tell us what to improve next.

Frequently asked questions

Why does the Instagram Hashtag Scraper return nothing for some hashtags?

Instagram publishes logged-out tag pages only for some tags. For the others the Instagram Hashtag Scraper tries Google; if that finds nothing either, the log says so.

Does the Instagram Hashtag Scraper need my Instagram login?

No. The Instagram Hashtag Scraper works logged out and never asks for your password or cookies. It reads only what Instagram shows to any visitor.

Do I need my own proxy for the Instagram Hashtag Scraper?

No. The Instagram Hashtag Scraper uses Apify residential proxies by default and switches to a fresh IP when Instagram blocks one. You can choose another proxy in the input.

What formats can I export from the Instagram Hashtag Scraper?

JSON, CSV, Excel, XML, HTML and RSS from the dataset tab, or any format through the Apify API, webhooks and integrations.

How fast is the Instagram Hashtag Scraper?

In the test runs above the Instagram Hashtag Scraper took between 6 and 33 seconds per run. Speed depends on how many items you ask for and on the proxy.

Why did the Instagram Hashtag Scraper return fewer rows than I asked for?

The Instagram Hashtag Scraper stops when Instagram has nothing more to show logged out, when your limit is reached, or when the free-plan cap of 30 rows applies. The run log always says which one happened.

Can I schedule the Instagram Hashtag Scraper?

Yes. Create a schedule in Apify Console to run the Instagram Hashtag Scraper daily or hourly and send the results to Google Sheets, Make, Zapier or n8n through an integration.

Can the Instagram Hashtag Scraper read private accounts or private groups?

No. The Instagram Hashtag Scraper reads public data only. Private content needs a login, and the Instagram Hashtag Scraper never logs in.

What happens when Instagram changes its website?

The Instagram Hashtag Scraper reads every key it needs from Instagram at run time, so routine changes are picked up automatically. If something can no longer be read, the log says so instead of returning wrong data.

Can I use the Instagram Hashtag Scraper with Make, Zapier or n8n?

Yes. Add the Instagram Hashtag Scraper as an Apify step in Make, Zapier or n8n, or send a webhook when the run finishes and fetch the dataset items from the Apify API.

Does the Instagram Hashtag Scraper work in every country?

The Instagram Hashtag Scraper reads Instagram through residential proxies that rotate across countries. Content that Instagram restricts by country follows those rules.

How do I collect only new items with the Instagram Hashtag Scraper?

Schedule the Instagram Hashtag Scraper and keep the item ids from earlier runs. Every row has a stable id, so a simple de-duplication against your previous export keeps only the new ones.

Can the Instagram Hashtag Scraper process many targets in one run?

Yes. Put as many targets as you like in the input; the Instagram Hashtag Scraper handles them one after another and a failing target never stops the others.

Can the Instagram Hashtag Scraper return only reels?

Yes. Set mediaType to reels (or videos, photos, carousels). Tag pages list no dates or likes, so date and likes filters read each candidate post once.

Does the Instagram Hashtag Scraper give the total number of posts for a hashtag?

No. Instagram does not publish that count to logged-out visitors; the Instagram Trends Scraper returns post counts for trending keywords.