Instagram Hashtag Scraper

Collect public Instagram posts for one or more hashtags.

by ApifyReady to run$0.0025 per result · $0.25 per 100 results

Example

You ask your agent

“Find a recent Instagram post tagged #natgeo.”

You get

URL
https://www.instagram.com/p/Df81G1iEmyb/
Type
Sidecar
Caption
Scions of Dhikala Visit www.subramanyachandrashekar.com #subramanyachandrashekar #corbett #dhikala #natgeo #animalplanet
Hashtags
subramanyachandrashekar
Input URL
https://www.instagram.com/explore/tags/natgeo
Is pinned
No
Timestamp
2026-11-20 04:46 UTC
Likes count
-1
What your agent sends and gets back (JSON)

Your agent works out the exact inputs, such as IDs, dates and settings, from what you ask.

Request

{
  "tool_id": "apify.apify-instagram-hashtag-scraper",
  "input": {
    "input": {
      "hashtags": [
        "natgeo"
      ],
      "resultsType": "posts"
    },
    "maxItems": 1
  }
}

Response

{
  "items": [
    {
      "id": "4034332932479020187",
      "url": "https://www.instagram.com/p/Df81G1iEmyb/",
      "type": "Sidecar",
      "images": [],
      "caption": "Scions of Dhikala\n\nVisit www.subramanyachandrashekar.com \n\n#subramanyachandrashekar #corbett #dhikala #natgeo #animalplanet",
      "ownerId": "3442114459",
      "hashtags": [
        "subramanyachandrashekar"
      ],
      "inputUrl": "https://www.instagram.com/explore/tags/natgeo",
      "isPinned": false,
      "mentions": [],
      "shortCode": "Df81G1iEmyb",
      "timestamp": "2026-11-20T04:46:24.000Z",
      "likesCount": -1,
      "fbLikeCount": null,
      "fbPlayCount": null,
      "productType": "carousel_container",
      "firstComment": "",
      "commentsCount": 19,
      "ownerFullName": "Subramanya Chandrashekar",
      "ownerUsername": "subramanya.c",
      "videoDuration": null,
      "latestComments": [],
      "videoPlayCount": null,
      "dimensionsWidth": 1440,
      "paidPartnership": false,
      "dimensionsHeight": 901
    }
  ],
  "item_count": 1
}

Use it with your agent

Copy the prompt and paste it into your agent, then tell it what you need.

Read https://scrollport.com/start. Use my existing Scrollport connection, or help me connect if needed. Help me use Instagram Hashtag Scraper (tool ID: apify.apify-instagram-hashtag-scraper). Ask me for the details you need, then show me the result.

Provider access is included. If your agent isn't connected to Scrollport yet, it will help you set that up.

No agent yet? Create your account on the web and connect one from your dashboard later.

Other tools for this job

Compare all 25 →

Questions

Is Instagram Hashtag Scraper by Apify free?

Scrollport has no free tier: it costs $0.0025 per result ($0.25 per 100 results), paid per use from a prepaid wallet with no subscription. Connecting your first agent adds $1 of trial credit, so you can try it before adding funds.

Do I need an API key from Apify?

No. Your agent runs it through your Scrollport connection (MCP, the Scrollport CLI or the HTTP API), and Scrollport handles access to Apify, so you don't sign up with Apify or manage an API key.

Details

About this tool

Collect recent public Instagram posts or reels for up to five hashtags or keywords. maxItems is split evenly across the hashtags; resultsLimit can lower the per-hashtag count. Each result includes caption, hashtags, mentions, likes, comments, media links and timestamp. You're charged per post returned. The worked example shows selected fields: long text is shortened, nested lists keep one item and expiring media links are left out.

All inputs and outputs

Input

inputobject · required

Provider-specific public source, URL or search criteria.

maxItemsinteger · optional

Maximum number of records to return.

minimum: 1 · maximum: 100

Output

item_countnumber
itemsarray

Result records.

Errors and limits
  • upstream_error: The scraper could not return usable results; the wallet was not charged.Check the input and limits, or retry later.