Instagram Hashtag Scraper

  • apify/instagram-hashtag-scraper
  • Modified
  • Users 4k
  • Runs 197.3k
  • Created by Author's avatarApify

Scrape Instagram hashtags the fast and easy way. Just add one or more hashtags and the scraper will extract posts, images, URLs, comments, likes, users, locations, timestamps, and more. Download structured data in JSON, CSV, XML, Excel, and HTML to use in applications, reports, and spreadsheets.

What is Instagram Hashtag Scraper?

It's a simple tool that allows you to web scrape full data from Instagram posts based on hashtag search. To scrape every post that mentions a specific hashtag, just indicate the hashtag, the number of posts to scrape, and click the "Save & Start" button at the bottom of the page.

How to scrape Instagram hashtags

Instagram Hashtag Scraper is designed to be fast and easy to use, so there aren't too many parameters or settings. Just follow the steps below:

  1. Create a free Apify account.
  2. Open Instagram Hashtag Scraper.
  3. Add one or more Instagram hashtags to scrape.
  4. Click "Save & Start" and wait for the datasets to be extracted.
  5. Download your data in JSON, XML, CSV, Excel, or HTML.

Instagram Hashtag Scraper tutorial

If you want detailed guidance on how to use Instagram Hashtag Scraper, follow this video tutorial - it will show you exactly how to extract data from Instagram hashtags in just a few minutes: Watch the video


The input for Instagram Hashtag Scraper should be the Instagram hashtag or hashtags you want to scrape and number of results for each. Click on the input tab for an input example in JSON.

  "hashtags": [
    "WinterWarmer  ",
  "resultsLimit": 20


You can download the resulting datasets in various structured formats such as JSON, HTML, CSV or Excel. Each item in the dataset will contain a separate Instagram post (which mentions your hashtag) following this format:

  "id": "2968381439079951049",
  "type": "Image",
  "shortCode": "CkxzzESOSrJ",
  "caption": "Something to walk with… warm.. ‘to go’.⁠\n#WinterWarmer #Pastry & #Coffee ☕️🤍⁠\n⁠\n⁠\n#coffeeshop #walking #coffeelover #bakery #latte #cafe #coffeetime #coffeeaddict #latteart #coffeegram #barista #caffeine #instacoffee #coffeelovers #cappuccino #coffeelove #pastry #butcher #baker #savoury #sweet #artisan #artisanbakery",
  "hashtags": [
  "mentions": [],
  "url": "",
  "commentsCount": 0,
  "firstComment": "",
  "latestComments": [],
  "dimensionsHeight": 1334,
  "dimensionsWidth": 1080,
  "displayUrl": "",
  "images": [],
  "alt": null,
  "likesCount": 0,
  "timestamp": "2022-11-10T11:11:15.000Z",
  "childPosts": [],
  "ownerId": "51571511280"

Want to scrape Instagram profiles, videos, or comments?

You can use the dedicated scrapers below if you want to scrape specific Instagram data. Each of them is built for a relevant Instagram scraping case, e.g. comments, video, followers, or profile.

➡️ Instagram Post Scraper ➡️ Instagram Profile Scraper ➡️ Quick Instagram Posts Checker ➡️ Instagram Tagged Scraper ➡️ Instagram Reel Scraper ➡️ Instagram Comment Scraper

Need something more advanced?

Try our more advanced Instagram Scraper or Instagram API Scraper if you need more options and are comfortable with changing settings.

Let us know if you need a custom Instagram scraping solution.

What can I use the extracted data from Instagram hashtags for?

Scraping Instagram hashtags is the fastest, most efficient way to get datasets that you can use anywhere. Data from posts based on hashtags can help to follow and predict trends, assist in tracking brand awareness, direct you in how to improve your Instagram performance, and help to keep an eye on competing influencers.

How much will it cost me to scrape Instagram hashtags?

Extracting data from 1,000 hashtags consumes about 5 compute units and 0.24 GB of proxy traffic which means that scraping 1,000 Instagram posts from any number of hashtags will normally cost $4.25 in platform credits.

Our Instagram scrapers are ethical and do not extract any private user data, such as email addresses, gender, or location. They only extract what the user has chosen to share publicly. However, you should be aware that your results could contain personal data. You should not scrape personal data unless you have a legitimate reason to do so.

If you're unsure whether your reason is legitimate, consult your lawyers. You can also read our blog post on the legality of web scraping and ethical scraping.

Integrations and Instagram Hashtag Scraper

Instagram Hashtag Scraper can be connected with almost any cloud service or web app thanks to integrations on the Apify platform. You can integrate with Make, Zapier, Slack, Airbyte, GitHub, Google Sheets, Google Drive, and more. Or you can use webhooks to carry out an action whenever an event occurs, e.g. get a notification whenever Instagram Hashtag Scraper successfully finishes a run.

Using Instagram Hashtag Scraper with the Apify API

The Apify API gives you programmatic access to the Apify platform. The API is organized around RESTful HTTP endpoints that enable you to manage, schedule, and run Apify actors. The API also lets you access any datasets, monitor actor performance, fetch results, create and update versions, and more. To access the API using Node.js, use the apify-client NPM package. To access the API using Python, use the apify-client PyPI package.

Check out the Apify API reference docs for full details or click on the API tab for code examples.


See how Instagram Hashtag Scraper is used in industries around the world