Instagram Hashtag Scraper — Hashtag & Keyword Posts avatar

Instagram Hashtag Scraper — Hashtag & Keyword Posts

Pricing

from $1.25 / 1,000 results

Go to Apify Store
Instagram Hashtag Scraper — Hashtag & Keyword Posts

Instagram Hashtag Scraper — Hashtag & Keyword Posts

Find Instagram posts and reels by hashtag or keyword. Each row carries the post code, like and comment counts, publish date and media type, with full media detail on request.

Pricing

from $1.25 / 1,000 results

Rating

0.0

(0)

Developer

The Netaji

The Netaji

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

an hour ago

Last modified

Features

Limited permissions

Share

Instagram Hashtag Scraper

The Actor finds public Instagram posts and reels by hashtag, or by a keyword matched against posts or against reels, and saves one row per result. Each row carries the shortcode, like and comment counts, publish time and media type; results that arrive with incomplete data can be completed with a full media lookup.

Accepted input

  • scraperType: hashtagMedia searches a hashtag, postsByKeyword searches posts by keyword and reelsByKeyword searches reels by keyword. The default is hashtagMedia.
  • hashtag: the hashtag without #. Required in hashtagMedia mode.
  • keyword: the search words. Required in the two keyword modes.
  • tab: recent or top, applied in hashtagMedia mode only. The default is recent.
  • limit: the total number of results saved. The default is 100; 0 collects everything the search returns.
  • addonMediaDetails: replaces each result with its full media record. The default is false.
{
"scraperType": "hashtagMedia",
"hashtag": "streetphotography",
"tab": "top",
"limit": 200
}

Response fields

  • code and pk: the shortcode and numeric ID of the post or reel.
  • like_count and comment_count: the counts at the moment of collection.
  • taken_at: the publish time as a Unix timestamp in seconds.
  • media_type: 1 for a photo, 2 for a video and 8 for a carousel.
  • enriched: true when the row was replaced with the full media record.
{
"pk": "4032438367452261373",
"code": "Df2GVSWpev9",
"like_count": 5530,
"comment_count": 170,
"taken_at": 1794924316,
"media_type": 1,
"enriched": true
}

Behaviour on partial results

Search pages are read until the limit is reached or Instagram stops returning further pages. The run ends at whichever comes first, so a limit of 0 returns as many results as Instagram serves for the search rather than every post ever tagged. A run in hashtagMedia mode without a hashtag, or in a keyword mode without a keyword, stops with an error before any request is made.

When addonMediaDetails is enabled, the lookup runs only on results within the limit, and each lookup is charged once after it succeeds. A result whose full record cannot be read is left out of the dataset and is not charged.

Frequently asked questions

What is the difference between recent and top? recent follows the hashtag feed in publishing order; top follows the posts Instagram ranks highest for the hashtag, which are not ordered by date.

Which accounts posted the results? Rows identify posts, not authors. The shortcodes can be passed to the Instagram Post Details Scraper or the Instagram Comments Scraper for further detail on each post.