Instagram Keyword Posts Scraper avatar

Instagram Keyword Posts Scraper

Pricing

from $1.50 / 1,000 results

Go to Apify Store
Instagram Keyword Posts Scraper

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

Data Slayer

Maintained by Community

Actor stats

0

Bookmarked

104

Total users

67

Monthly active users

19 days ago

Last modified

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

FieldTypeRequiredDefaultDescription
searchQueriesarray of stringsYes—Add 1–10 non-empty phrases. Exact duplicate phrases are removed after whitespace normalization.
maxResultsPerQueryintegerNo50Maximum 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 normalized mediaType
  • 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
  • retrievalMode and the UTC collectedAt timestamp

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.
  • maxResultsPerQuery is 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

  1. Open the Actor input and enter specialty coffee india and marathon training india.
  2. Keep the default limit of 50 and start the run.
  3. In the dataset, show the query column and compare photo, carousel, and Reel rows.
  4. Open one carousel row and show its nested carouselMedia items.
  5. Open OUTPUT and point out page counts, duplicate counts, upstream attempts, and the completion reason for each phrase.
  6. 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.

More Instagram actors from the same portfolio. Apify only auto-recommends actors in the same category, so here are the rest of ours:

Actor
Instagram Audio & Trending Sounds Scraper · No Login
Instagram Brand Mentions & UGC Monitor
Instagram Comments Scraper with Replies · No Login
Instagram Creator Lead Finder · Keywords & Hashtags
Instagram Engaged Audience Exporter
Instagram Follower Count & Growth Monitor
Instagram Followers & Following Search
Instagram Followers Scraper & Enricher · No Login
Instagram Following Scraper & Enricher · No Login
Instagram Hashtag Finder · No Login
Instagram Hashtag Posts & Reels Scraper · No Login
Instagram Hashtag Research Reports
Instagram Highlights Scraper · No Login
Instagram Likes Scraper · No Cookies
Instagram Location Posts Scraper · No Login
Instagram Media Archive Downloader
Instagram Place Finder & Details
Instagram Post & Reel Details Scraper · No Login
Instagram Profile Posts & Reels Scraper · No Login
Instagram Profile Reels Scraper · No Login
Instagram Profile Scraper · Account Age & Verified Emails
Instagram Public Contact Finder
Instagram Reel Performance Tracker
Instagram Reel Transcript Scraper
Instagram Reels Search & Trend Discovery · No Login
Instagram Reels by Audio ID · Sound & Music Tracker · No Login
Instagram Related Creator Network
Instagram Reposts Scraper · Profile Repost History · No Login
Instagram Similar Accounts Scraper · No Login
Instagram Similar Accounts Scraper · No Login
Instagram Stories Scraper · No Login
Instagram Tagged Posts & Mentions Scraper · No Login
Instagram Trending Audio & Sounds Search · No Login
Instagram User Search · Find Leads by Keyword · No Login