Instagram Hashtag Scraper avatar

Instagram Hashtag Scraper

Pricing

from $0.85 / 1,000 results

Go to Apify Store
Instagram Hashtag Scraper

Instagram Hashtag Scraper

Search Instagram by hashtag or keyword for matching posts and reels. Get post code, like count, comment count, post date, and media type for every hit, with full media detail available for thin results. No Instagram login or cookies needed to search public content.

Pricing

from $0.85 / 1,000 results

Rating

0.0

(0)

Developer

ToolzerHub

ToolzerHub

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

a day ago

Last modified

Share

Instagram Hashtag & Keyword Search Scraper

Search Instagram by hashtag or by keyword and export the public media it returns. No login, no cookie, no session.

This is the discovery entry point — it starts from a subject rather than an account, so you don't need to know who posts about something to find the posts.

Input

FieldTypeDefaultWhat it does
scraperTypeenumhashtagMediaRequired. See the table below.
hashtagstringHashtag to search, no #. Hashtag mode only.
keywordstringSearch term. Keyword modes only.
tabenumrecentrecent or top. Hashtag mode only.
limitinteger100Rows to save. 0 pulls everything available.
addonMediaDetailsbooleanfalseSwaps each thin hit for its full media record.
scraperTypeSearchesUses
hashtagMediaA hashtaghashtag, tab
postsByKeywordPosts matching a keywordkeyword
reelsByKeywordReels matching a keywordkeyword
{
"scraperType": "hashtagMedia",
"hashtag": "streetphotography",
"tab": "recent",
"limit": 200
}

Fill the field the mode reads. Hashtag mode ignores keyword; the keyword modes ignore hashtag and tab. Filling the wrong one leaves the run with nothing to search.

Output

FieldWhat it holds
pkInstagram media ID
codeShortcode — the identifier in a post URL
like_countLikes
comment_countComments
taken_atWhen it was posted
media_typeImage, video, or carousel
enrichedWhether full media details were fetched
{
"pk": "3412987456123456789",
"code": "DDPp2UWzWEm",
"like_count": 4821,
"comment_count": 63,
"taken_at": 1785312000,
"enriched": false
}

Keep code — it feeds Instagram Media Engagement for comments and likers.

recent vs top

recent is chronological: what's being posted under the tag right now. Use it for monitoring, and for diffing one run against the next — the ordering is stable.

top is Instagram's ranking of the tag's best-performing posts. Use it for research into what works. It reshuffles between runs, so it's poor for tracking change.

Questions

Is this every post using the hashtag? No. Instagram serves a bounded window rather than a full tag archive. A hashtag with 40 million posts will not return 40 million rows, whatever limit says. You get a substantial slice in Instagram's ordering.

Hashtag or keyword — what's the difference? Hashtag mode searches the tag itself, so it only finds posts the author explicitly tagged. Keyword modes search more broadly and catch posts that discuss a subject without tagging it — which is often where the honest conversation is, since tags are chosen for reach.

Why did my run return nothing? Almost always the wrong field for the mode. hashtagMedia reads hashtag; postsByKeyword and reelsByKeyword read keyword. A keyword sitting in hashtag while the mode is Keyword Posts gives the run nothing to search.

Should the hashtag include #? No — pass it bare. streetphotography, not #streetphotography.

What does addonMediaDetails add, and what does it cost? Search and hashtag results come back thin. The addon swaps each for its full media record — like and comment counts, owner details. One extra request and one billable event per item, so 500 results is 500 extra requests. Search thin first, enrich the subset worth it.

Do keyword reels and keyword posts overlap? They can. Instagram surfaces reels in general results too, so postsByKeyword may include reels. reelsByKeyword is the reliable way to isolate them.

Do I need an Instagram login? No. Nothing logs in and no session is passed.

Other Instagram Actors

ActorUse when
Instagram Media EngagementYou want comments and likers (needs code)
Instagram User SearchYou want accounts rather than posts
Instagram Profile ContentYou want one account's whole output
Instagram Followers & FollowingYou want an account's audience

Support

Questions, bugs, or feature requests: contact@toolzerhub.com

Browse the rest: apify.com/toolzerhub