Instagram Hashtag Scraper
Pricing
from $5.00 / 1,000 results
Instagram Hashtag Scraper
Collect the public selection of posts and reels for up to 10 Instagram hashtags. Export available captions, engagement counts, author names, and media links, with a run summary that gives each hashtag's outcome.
Pricing
from $5.00 / 1,000 results
Rating
5.0
(1)
Developer
Rush
Maintained by CommunityActor stats
2
Bookmarked
123
Total users
3
Monthly active users
14 days ago
Last modified
Categories
Features
Share
Collect the public selection of posts and reels for Instagram hashtags. Export available captions, engagement counts, author names, and media links to JSON, CSV, or Excel. No Instagram login is needed. Each run accepts up to 10 hashtags and delivers up to 24 posts per hashtag. The available selection may be smaller; this is not a complete archive or a guaranteed chronological feed.
Features
- Enter hashtags the way you have them: hashtag names, names beginning with
#, or Instagram hashtag URLs, including hashtags in non-Latin letters. - Get each post's caption with its hashtags and mentions, its author, and its media links, plus like, comment, and view counts, publication time, tagged location, and music where Instagram provides them.
- Review the saved posts in three views: Posts Overview, Media Downloads, and Full Details.
- See what each run collected in its Run summary: saved posts, posts saved without details, and each hashtag's outcome, with the reason when something is missing.
- Keep what a stopped run saved: posts saved before an interruption remain available, and a stopped run can be resumed with Resurrect.
- Download the results as JSON, CSV, or Excel, or connect them to other tools with Apify integrations.
Input
| Field | Type | Required | Description | Default |
|---|---|---|---|---|
hashtags | List of text | Yes | Instagram hashtags to collect: hashtag names, names beginning with #, or Instagram hashtag URLs. From 1 to 10 entries, each at most 2,048 characters long. | None; the form starts with travel, tokyo, and yoga |
Duplicates are combined. Invalid text entries are skipped and counted in the summary; a run with no valid hashtags is rejected. Hashtags may use non-Latin letters. Private content is not supported.
Example input
{"hashtags": ["travel", "#yoga", "https://www.instagram.com/explore/tags/tokyo/"]}
Output
Each row belongs to one requested hashtag and one post. Instagram chooses the posts it shows for a hashtag, so a post's caption may not include that hashtag. A post shown for two requested hashtags appears once under each. Posts saved before an interruption remain available.
| Field | Type | Description |
|---|---|---|
hashtagName | Text | The requested hashtag |
hashtagMediaCount | Number or empty | Approximate count displayed by Instagram, when available |
hashtagPostUrl | Link | The requested hashtag's Instagram link |
username | Text or empty | Available author identity: the author's username |
postUrl | Link | The post's link |
mediaDownloadUrl | Link, list, or empty | Media link, or for a carousel a list of slide details (type, link, width, and height) |
mediaType | Text or empty | Image, video, or carousel classification; empty when unknown |
caption | Text or empty | Available caption |
hashtags | List of text | Tags extracted from the caption |
mentions | List of text | Mentions extracted from the caption |
title | Text or empty | Caption preview: the opening of the caption, up to 200 characters |
description | Text or empty | Instagram's image description, or a caption excerpt |
author | Text or empty | The author's username, the same as username |
shortcode | Text | Post identity: the code in the post's link |
likes | Number or empty | Available like count; empty when the author hides it |
comments | Number or empty | Available comment count |
commentsDisabled | True/false or empty | Empty in current results; do not rely on it |
timestamp | Date and time (UTC) or empty | Publication time |
scrapedAt | Date and time (UTC) | Collection time |
index | Number | Saved row number, starting at 1 |
dimensions | Width and height, or empty | Media dimensions in pixels |
isVideo | True/false or empty | Whether the post is a video; empty when its type is unknown |
displayUrl | Link or empty | Available thumbnail |
videoUrl | Link or empty | Video link; empty for images and carousels |
videoViewCount | Number or empty | Available view count, for videos |
videoDuration | Number or empty | Video length in seconds |
hasAudio | True/false or empty | Whether the video has sound |
ownerId | Text or empty | Available author identity: the author's Instagram user ID |
locationName | Text or empty | Tagged location, when the post has one |
taggedUsers | List of text | Usernames tagged in the media |
musicName | Text or empty | Music track and artist, for videos |
coauthors | List of text | Usernames of the post's collaborators |
Unknown values stay null; missing counts are not reported as zero. A list with nothing in it is empty ([]). A thumbnail alone does not establish the post type. Media links can expire. Counts and content can change after collection.
Posts saved without details
A post saved without its details carries only what the hashtag's post list shows, such as its link, author, caption, media type, thumbnail, media link, and view count. These fields then stay empty: likes, comments, timestamp, dimensions, videoDuration, hasAudio, locationName, taggedUsers, musicName, and coauthors, and for a carousel also mediaDownloadUrl. Its description is then a caption excerpt, or empty when the post has no caption. The run summary counts these posts in postsWithoutDetails.
Example output
Illustrative row (not a live result; every value is invented):
{"hashtagName": "travel","hashtagMediaCount": 1250000,"hashtagPostUrl": "https://www.instagram.com/explore/tags/travel/","username": "example_creator","postUrl": "https://www.instagram.com/reel/ExamplePost/","mediaDownloadUrl": "https://example.com/media/example-video.mp4","mediaType": "video","caption": "Sunrise walk through the old town #travel #morning with @example_friend","hashtags": ["travel", "morning"],"mentions": ["example_friend"],"title": "Sunrise walk through the old town #travel #morning with @example_friend","description": "Sunrise walk through the old town #travel #morning with @example_friend","author": "example_creator","shortcode": "ExamplePost","likes": 1520,"comments": 48,"commentsDisabled": null,"timestamp": "2026-11-01T08:30:00.000Z","scrapedAt": "2026-11-14T09:00:00.000Z","index": 1,"dimensions": { "width": 1080, "height": 1920 },"isVideo": true,"displayUrl": "https://example.com/media/example-thumbnail.jpg","videoUrl": "https://example.com/media/example-video.mp4","videoViewCount": 25400,"videoDuration": 14.5,"hasAudio": true,"ownerId": "1234567890","locationName": "Example Old Town","taggedUsers": ["example_friend"],"musicName": "Example Song - Example Artist","coauthors": []}
Run summary
Run summary reports savedPosts, postsWithoutDetails, postsWithoutDetailsToFinishInTime, postsWithoutDetailsLimitedByInstagram, postsWithoutDetailsAtRequestLimit, hashtagsNotCollected, hashtagsCollectedInPart, individual hashtag outcomes, skipped inputs, and one of complete, partial, budget_reached, or failed.
postsWithoutDetailscounts saved posts that carry only what the hashtag's post list shows, without details such as likes, comments, and publication time. Of those,postsWithoutDetailsToFinishInTimecounts the posts the run saved without details so that it could finish in time,postsWithoutDetailsLimitedByInstagramthose whose details Instagram limited, andpostsWithoutDetailsAtRequestLimitthose left without details because the run reached its request limit.hashtagsNotCollectedcounts the hashtags the run did not collect, andhashtagsCollectedInPartthose it collected only in part. A hashtag counts as collected only in part when some of its posts were saved and either its list was cut short (because Instagram temporarily restricted access, because the run reached its request limit or its spending limit, or to finish the run in time) or the run stopped before saving every post it had listed for it. A hashtag whose list was not cut short but whose further posts could not be read for another reason is counted in neither; its outcome gives the reason "Some additional posts could not be collected."- Each hashtag outcome gives its status and, when something is missing, the reason.
completemeans the available selection was processed, not that every Instagram post was collected.budget_reachedmeans the run saved as many posts as its spending limit allows. Review partial outcomes before using the results as a complete dataset.
The status message at the end of a run says the same in plain sentences: how many posts were saved, how many of them were saved without details and why, where the run knows it, and how many hashtags were not collected or were collected only in part, and why, where the run knows it. The run summary lists each hashtag with its status and issue, and carries these counts. The status message's wording can change, so an automated workflow should read the counts from the run summary (the OUTPUT record in the run's key-value store) rather than from the status message.
How to Use
- Open the Actor in Apify Console.
- Enter hashtag names, names beginning with
#, or Instagram hashtag URLs. The form starts with three examples,travel,tokyo, andyoga; replace them with your own. - Start the Actor.
- Open Posts Overview, Media Downloads, or Full Details to review the saved posts. Check Run summary for any incomplete hashtags or unavailable details.
- Download the results as JSON, CSV, or Excel, or use Apify integrations to connect the output to your workflow.
Use Cases
- Social media managers: review the posts and reels Instagram shows for the hashtags you use or plan to use.
- Marketers and brand teams: see the creators, captions, and media Instagram shows for a campaign or product hashtag.
- Researchers: collect a snapshot of public posts for a hashtag to study captions, hashtags, and mentions.
- Content creators: look at the formats, captions, and music of the posts Instagram shows for a hashtag.
- Analysts: export the results to spreadsheets or other tools for reporting.
FAQ
Why did I receive fewer than 24 posts? Instagram may supply a smaller public selection, restrict access, or withhold individual details. The summary distinguishes incomplete collection from a readable empty selection. An empty response does not establish that a hashtag has no posts. When Instagram answers a hashtag with its error page instead of a post list, no posts are saved for it: the log and the run summary name the hashtag, and the status message counts it. When Instagram temporarily restricts access and the run stops early, the hashtags it did not reach are named in the log and the run summary, and the status message gives that reason. Every post it had already listed is still saved; those whose details had not been collected yet are saved without them. A short run timeout can also leave hashtags not collected or collected only in part; the run summary and the status message say so.
Why are some values empty?
Only information returned for the matching post is included. Hidden engagement counts, unavailable detail pages, and omitted fields remain empty. hashtagMediaCount is read from the count shown in the title of the hashtag's own page; the topic pages Instagram currently shows for some hashtags instead of a post list show no count, so it is empty for them. When Instagram does not give a post's details, for example because it limited access during the run, the post is still saved with what the hashtag's post list shows, and the run summary counts it in postsWithoutDetails.
How long does a run collect? A run collects for about 10 minutes at most, or until the run's timeout if you set a shorter one. If the platform moves a run to another server, the run continues there from its saved progress, for up to another 10 minutes. It first lists the posts of every hashtag, then asks for their details in the time left. When the time left is only enough to save the remaining posts, it saves them without details, and the run summary and the status message count them. While it saves, the run measures how long saving really takes. When that leaves time, it goes back to the hashtags it has not listed, then to those it has listed only in part. While the run expects to list one of them in the time left, it saves posts without details; once it no longer does, it can ask for post details with the time that remains. With a short run timeout and several hashtags, that expectation can be wrong: the run can then save every post without details, keeping time for a hashtag it never lists, and end before the run's timeout. A short run timeout leaves less time for all of this: the run lists fewer hashtags, the others are not collected or are collected only in part, and more posts are saved without details. To collect more, keep the default timeout or set a longer one, or run fewer hashtags at a time.
Does this collect the newest posts or all historical posts? No. It collects the selection Instagram makes publicly available for the hashtag. Its ordering and coverage can change.
Can I resume an interrupted run? Yes. A stopped run keeps the posts it saved; the posts it had already listed but not yet saved stay in its saved progress. Open the stopped run and use Resurrect: it keeps the saved posts, saves the rest of the posts the run had already listed, and collects the hashtags it had not reached. It does not retry a hashtag that failed, including one Instagram temporarily restricted. If a run stopped because it reached its request limit, Resurrect cannot collect any further hashtags. Posts already saved without details stay that way; Resurrect does not fill them in. Starting a new run instead collects, and charges for, every post again. A changed input or progress from an older version requires a new run. If a save cannot be confirmed, the Actor stops so you can inspect the delivered posts before trying again.
Can I use these results in other tools? Download a dataset export or use Apify integrations to connect the output to your workflow.
Responsible use and disclaimer
Instagram controls the availability and accuracy of its public content. Results are a snapshot and may be incomplete. This Actor is not affiliated with Instagram or Meta. You are responsible for obtaining any permissions needed to use collected content and for complying with applicable laws and platform terms.
Instagram hashtag scraper · Instagram posts · Instagram Reels · hashtag research · captions · engagement data · Claude Code · OpenClaw · Gemini · Antigravity · Codex · ChatGPT