Instagram Keyword Posts Scraper
Pricing
from $1.50 / 1,000 results
Instagram Keyword Posts Scraper
Search public Instagram posts, Reels and carousels by keyword. Batch up to 10 phrases and export captions, engagement, creator details and media URLs with query attribution. No Instagram login required.
Pricing
from $1.50 / 1,000 results
Rating
0.0
(0)
Developer
Data Slayer
Maintained by CommunityActor stats
0
Bookmarked
104
Total users
67
Monthly active users
19 days ago
Last modified
Categories
Share
Instagram Keyword Posts Scraper · No Login
Search public Instagram content with up to 10 phrases and export structured photo, carousel, and Reel records that retain the phrase responsible for each match.
Watch the demo
YouTube video coming soon.
What this Actor does
The Actor sends each phrase to Instagram keyword content search, follows continuation pages internally, removes repeated media IDs within that phrase, and writes one analysis-ready dataset row for each retained result. If the same media item appears for two different phrases, it is kept once for each phrase so attribution is not lost.
No Instagram account, cookie, proxy setting, or search token is requested in the input form.
Input
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
searchQueries | array of strings | Yes | — | Add 1–10 non-empty phrases. Exact duplicate phrases are removed after whitespace normalization. |
maxResultsPerQuery | integer | No | 50 | Maximum unique rows saved for each phrase. Accepted range: 1–500. Available results can be lower. |
Example:
{"searchQueries": ["specialty coffee india","marathon training india"],"maxResultsPerQuery": 50}
Output
Every dataset item contains:
query,id,shortCode,url, and normalizedmediaType- Caption and source posting time when available
- Like, comment, view, and play counts when returned by the source
- Creator username, ID, full name, and verification state
- Thumbnail, image, video, and normalized carousel media references when available
- Optional location data
retrievalModeand the UTCcollectedAttimestamp
IDs are stored as strings to avoid precision loss. Missing optional source fields remain null or an empty array rather than being guessed.
Pagination, limits, and duplicate handling
- Phrases run serially to protect shared upstream capacity and preserve input order.
- Continuation tokens are handled automatically.
- The runtime stops on a missing or repeated continuation token.
- Each phrase is capped at 50 upstream attempts, including retries.
- A run is capped at 100 upstream attempts across all phrases.
- A single page receives at most three attempts; only rate limits, server failures, and network failures are retried.
maxResultsPerQueryis applied after duplicate removal.- Deduplication uses the exact pair
query + Instagram media ID.
These safety limits mean a request for 500 results is a ceiling, not a guarantee. The OUTPUT key-value-store record explains why each phrase stopped: natural end, result cap, repeated token, request budget, supplier error, or customer charge limit.
Coverage and search semantics
The Actor returns the photo posts, carousel containers, and Reels surfaced by the keyword content search available at run time. It does not promise an exhaustive historical mention archive, comprehensive brand monitoring, Instagram Explore/Popular-page parity, or deterministic ranking. Search coverage and relevance depend on Instagram and the upstream source.
Empty, partial, and failed searches
A query with no returned items produces no fabricated dataset row. Supplier failures and bounded-budget stops are recorded in OUTPUT; status records are never mixed into or billed as content results. Successfully persisted rows from other phrases remain available when one phrase fails.
API example
curl -X POST \"https://api.apify.com/v2/acts/data-slayer~instagram-keyword-posts-scraper/runs?token=YOUR_APIFY_TOKEN" \-H "Content-Type: application/json" \-d '{"searchQueries": ["specialty coffee india", "marathon training india"],"maxResultsPerQuery": 50}'
Results can be downloaded in JSON, CSV, Excel, XML, or another Apify dataset format, or connected to schedules, webhooks, Make, Zapier, Google Sheets, and other Apify integrations.
Demo recording script
- Open the Actor input and enter
specialty coffee indiaandmarathon training india. - Keep the default limit of 50 and start the run.
- In the dataset, show the
querycolumn and compare photo, carousel, and Reel rows. - Open one carousel row and show its nested
carouselMediaitems. - Open
OUTPUTand point out page counts, duplicate counts, upstream attempts, and the completion reason for each phrase. - Run a deliberately unusual phrase and explain that returned ranking can be sparse or loosely related; do not describe the result set as comprehensive monitoring.
Responsible use
Use the Actor and its output responsibly and in accordance with applicable laws, platform terms, and your organization’s data policies. Avoid using personal data for unsolicited, discriminatory, deceptive, or harmful activity.
This independent Actor is not affiliated with, endorsed by, or sponsored by Instagram or Meta. Instagram is a trademark of its respective owner.
Support
If a public phrase produces an unexpected result, open an issue from the Actor’s Issues tab and include the run ID, phrase, and observed behavior. Do not include credentials or private data.
FAQ
How much does it cost to run this Actor? Pricing is listed in the Pricing section above, charged per row returned. You only pay for the rows the Actor actually produces, so a small test run costs cents.
Do I need cookies or a login? No. This Actor reads public data only - no cookies, no account, no browser automation.
Can I schedule it? Yes. Run it from the Apify API, on a schedule, or via a webhook, and export results as JSON, CSV or Excel.
What if I need a slightly different output? Open an issue on the Actor's Issues tab describing the shape you need.
Related actors
More Instagram actors from the same portfolio. Apify only auto-recommends actors in the same category, so here are the rest of ours: