How to Use an Instagram Scraper for Hashtag Research
Turn a hashtag into a reviewable table of Instagram posts, formats and engagement counts with a small, repeatable scrape.

Build a reviewable sample of posts for an Instagram hashtag. Paste this into your agent:
Set up https://monid.ai/SKILL.md, then use Monid to collect a small sample of Instagram posts for a hashtag and make a table of post type, likes, comments, and whether the hashtag appears in each returned hashtag list.
One prompt starts a reviewable sample. No 1 min setup claim; hrs saved not measured.
A social media manager researching a campaign can spend a morning opening posts and copying counts into a spreadsheet. Even a three-post sample requires three separate checks, and the sheet quickly loses the context of when the counts were collected.
An Instagram scraper turns that repeated copying into a structured collection. A result still needs review: a hashtag query is a discovery method, and a returned post is not automatically relevant to your campaign.
This guide uses Monid, the OpenRouter for agent tools, to collect a small sample and turn it into a review table. The tool supplies post data; you decide relevance and create the final table. It does not provide a complete census of the hashtag or private account analytics.
- Choose one hashtag and a small limit.
- Collect posts and save the response.
- Review the returned counts and label relevance before sharing.
Here is the actual sample collected on December 1, 2026. The row labels are anonymous; they refer to the three returned records, not people.
| Sample row | Returned type | Likes | Comments | Query tag in returned hashtag list |
|---|---|---|---|---|
| 1 | Sidecar | 6 | 0 | Yes |
| 2 | Video | 402234 | 7828 | No |
| 3 | Video | 277083 | 823 | No |
The two rows with empty hashtag arrays show why the query and the returned hashtag list need separate columns. They are returned results, but the list alone does not establish that the query tag was present in their captions. Review the underlying posts before treating them as campaign matches.
How to use an Instagram scraper for hashtag research
Start with one hashtag and ask Monid for a small sample using the Apify Instagram hashtag scraper. An endpoint is a specific tool you can call with an input; this one accepts hashtags or keywords and returns post or reel records. Apify supplies the underlying scraper.
Step 1. Set up access
For an agent, get a key at app.monid.ai and give it this setup instruction, followed by your key through your agent's normal secure configuration:
set up https://monid.ai/SKILL.md
For a command line workflow, install the CLI and add your key:
npm install -g @monid-ai/cli
monid keys add -k <your-api-key> -l main
The agent quickstart and CLI quickstart explain setup. Keep your key out of the prompt you share with colleagues and out of saved reports.
Step 2. Choose a hashtag and a limit
Give your agent one topic, the content type and a maximum number of results. For this example, use natgeo, choose posts and set the limit to three. A small sample lets you inspect relevance and field coverage before collecting a larger set.
The hashtags input is an array. Each entry is a separate query, so adding entries expands the possible number of results. In hashtag mode, words entered together become one combined hashtag. To research a phrase instead, the schema offers keywordSearch; treat that as a different search and label it separately in your report.
Use the same term, type and limit for subsequent samples when the goal is comparison. Record the date of each collection alongside those settings. Without that context, a count in a spreadsheet looks like a permanent property of a post instead of a snapshot.
Step 3. Collect the sample
Ask the agent to discover and inspect the hashtag scraper, then run it with those inputs. The December 1 run completed and returned three records; its displayed charge was $0.0047, Verified 2026-12-01. The run report showed creation and completion in the same minute, so it does not establish a precise elapsed time.
The output contains much more than the summary table, including captions, timestamps, URLs and nested fields. Keep the original response in a restricted working file and share only the columns needed for your research. The table here omits names, handles, captions and photos.
Step 4. Review and export the table
Have your agent make one row per returned post, with type, likes, comments and a yes or no flag for the query tag in hashtags. Add the collection date and your own relevance decision before exporting the table to a spreadsheet or CSV. The flag is derived from the returned array; it is not a judgment about the post.
Save both the input settings and the original response with the report, subject to your organization's retention rules. That makes it possible to trace a summary row back to its source and distinguish a missing field from a value of zero. For a broader tour of posts, reels and profiles, see the Apify Instagram scraper guide.
How do you read Instagram scraper results?
Read each row as a snapshot of one returned post, then review whether it serves your research question. Monid passes the scraper's output to your workflow; the research decision remains yours.
Separate a match from a discovery
Our sample returned one row whose hashtags array contained the query tag and two rows with empty arrays. Keep all three in the raw sample, but do not label all three confirmed tag matches. If your research requires the exact tag in the returned list, the first row meets that rule and the other two do not.
That rule answers a narrow question about the returned field. It does not prove that the other posts are unrelated, or that every relevant post was found. A human can inspect the source and assign a separate relevance label. Document that label as a judgment rather than as a scraper field.
Compare like with like
The sample contains a Sidecar and two Video records. Their like and comment counts differ substantially, but three observations cannot establish a format winner. Post age, distribution and audience are not controlled in this sample.
For a useful weekly report, keep the same collection settings, add timestamps, and compare posts of similar age and type. A missing count should stay blank; a returned zero is a value. This distinction prevents a missing measurement from being counted as no engagement. The guide to calculating Instagram engagement from raw post data explains how the denominator changes an engagement calculation.
Preserve the sample boundary
A result limit is a ceiling, not a promise that the returned records represent the whole conversation. A top three table is useful for reviewing examples and deciding what to investigate next. It is not enough to estimate the percentage of all posts in a campaign or rank every creator using a hashtag.
Keep the raw count of returned rows in the report and distinguish it from the number you accepted after review. If a later collection returns fewer records than requested, report that actual count instead of filling the missing rows with zeros. Never merge repeated observations of the same post without retaining collection dates.
How much does an Instagram scraper cost?
The Monid tools page lists the current price for the Instagram hashtag scraper. Live inspection on December 1, 2026 showed $0.00158 per result, Verified 2026-12-01. Discovery and inspection are free; running the tool is the paid step.
Budget by returned records
The limit applies to each hashtag or keyword in the input, so the number of queries and the per-query limit both matter. Begin with one query and a limit of three, then look at the resulting table before increasing either. Our three-record run displayed a total charge of $0.0047, Verified 2026-12-01.
A projected budget is a planning figure, not proof of the charge for a future run. Save the run's displayed cost with the input and result count so your team can reconcile its own report. The displayed total can be rounded, as it was for this sample.
Treat empty and failed runs separately
The sample completed with three results; it did not test an empty response or a failed run. The endpoint documentation states that a run timing out before any items are scraped is not billed. A run stopped near its time budget after collecting items can return and bill those items. Do not infer the billing of every other failure or empty response from this successful sample.
If a sample returns fewer records than requested, use the actual output and run status in your report. A shorter result is not a reason to invent missing records or assume that the requested limit was reached.
How do you use the scraper in your own code?
A developer can reproduce the sample with the CLI and save the returned response for downstream processing. Monid uses the same discover, inspect and run sequence for an agent and a human at a terminal.
Find the input contract
Discover and inspect before writing a call. Inspection is where you check the live input names and billing shape; the hashtag scraper uses a JSON body, and hashtags is required.
monid discover -q "instagram scraper" -l 10
monid inspect -p apify -e /apify/instagram-hashtag-scraper
The resultsType setting selects posts or reels, while resultsLimit applies to each input query. The sample uses posts; changing to reels is a new collection with its own output and cost, not a transformation of the sample shown above.
Run one small query
The following is the input used for the measured sample. -w waits for the result inline; the run identifier lets you retrieve it later.
monid run -p apify -e /apify/instagram-hashtag-scraper -w \
-i '{"hashtags":["natgeo"],"resultsType":"posts","resultsLimit":3}'
To retrieve this completed run, use monid runs get -r 01M8S5QF9S0BC8211R93AK820T. In your own workflow, substitute the identifier returned by your run. Store the query, collection time and returned records together so a later export retains its provenance.
Transform the response carefully
Map type, likesCount, commentsCount and hashtags into the review table. Test for membership of the query tag in the array and keep the original array in the working data. Use a separate column for the analyst's relevance decision, since that decision is not a returned field.
Counts can change between collections. Keep observations with their collection times instead of overwriting a prior count when you want to study change. A single post appearing twice across samples is one post with two observations, not two independent posts. For route selection beyond hashtag discovery, the Instagram agent guide discusses other data tasks.
When should you use something else?
Use Apify directly when you prefer working in its own interface and managing the scraper there. This is the Monid blog, and Monid provides access to the Apify tool; that relationship is relevant when judging this recommendation.
Choose the source for your question
The hashtag scraper is suited to finding a sample of posts to review. It does not establish complete hashtag coverage, provide private account analytics, or decide whether a post belongs in your campaign. If your task needs an exhaustive dataset or internal performance data, use a source that supplies that specific dataset.
For research on a known account instead of a hashtag, start with the Instagram tools and inspect the input and output for that task. A list built from a hashtag and a list built from an account answer different questions. Label the source and collection method in either case.
Keep the manual review
A scraper saves the copying step, but a campaign analyst still needs a review rule. Write that rule before collection: for example, require the tag in the returned array, then ask an editor to review the subject of each matching post. Keep rejected rows in the working file with a reason, so a colleague can reproduce the decision.
Which tool fits this job?
For the sampled hashtag workflow, the Monid Apify listing provides the tool and its current billing details. The table deliberately covers the tool tested for this guide.
| Use case | Best endpoint | Why? |
|---|---|---|
| Sample posts for one hashtag | Instagram hashtag scraper | Returns post records for review; $0.00158 per result, Verified 2026-12-01. |
Make the choice explicit
Pick a hashtag sample when discovery is the job and a human can review the results. Use a different source when the task requires a complete inventory or metrics that this response does not provide. A well-labeled small sample is more useful than a larger table whose inclusion rule nobody can explain.
Conclusion
You now have a repeatable way to turn one hashtag into a small table of post types and engagement counts, with a separate relevance check. Monid supplies the collection step, while your team defines the sample and reviews the output. Repeat the same inputs and record each collection date to give your team a traceable basis for its next content decision.
FAQ
Can I use an Instagram scraper for free?
Do I need to write code?
No. Give an agent the setup instruction, your hashtag, content type and a small result limit, then ask it to make a review table.
How many posts can I collect at once?
The input has a per-query resultsLimit, and each entry in the hashtags array is a separate query. Start with one query and a limit of three to check the result before increasing the scope.
Does a hashtag result prove the post contains that hashtag?
No. In our sample, two returned records had empty hashtags arrays. Check the returned list and review the source before labeling a row as an exact tag match.
Are failed or empty searches charged?
A run that times out before scraping any items is documented as not billed. This sample did not test other failures or empty responses, so its charge does not answer those cases.
Can I run the same search regularly?
Yes. Repeat the same inputs through your own scheduler or agent workflow, and save the collection time and run identifier for each observation. Scheduling is a separate part of your workflow.
Is scraping Instagram legal?
Rules differ by jurisdiction and use. Check the rules and platform terms that apply to your own collection and intended use.
Published December 2026.


