Instagram Keyword Posts Scraper: Search Posts and Reels avatar

Instagram Keyword Posts Scraper: Search Posts and Reels

Pricing

from $1.35 / 1,000 posts

Go to Apify Store
Instagram Keyword Posts Scraper: Search Posts and Reels

Instagram Keyword Posts Scraper: Search Posts and Reels

Search Instagram posts and reels by keyword, phrase or hashtag with no login. One row per post: caption, hashtags, owner, likes, comments, plays, type, post time, cover image and video link. Related keyword pages for more depth.

Pricing

from $1.35 / 1,000 posts

Rating

0.0

(0)

Developer

The Mine Works

The Mine Works

Maintained by Community

Actor stats

0

Bookmarked

38

Total users

15

Monthly active users

6 days ago

Last modified

Features

Limited permissions

Share

60 Instagram posts for two keywords with likes, comments, plays and captions, 14 seconds

From The Mine Works, makers of Amazon Product Scraper and B2B Leads Finder, with over 290,000 runs across 310+ public actors.

Updated 31 Oct 2026: first release. Keyword, phrase and hashtag search for public Instagram posts and reels, with likes, comments, plays, caption, hashtags, owner and post time on every row, related keyword pages for depth, and a Google lookup for brand names Instagram has no page for. Bookmark this Actor on its Store page so it is one click away next time.

Why choose this actor?

  • Likes, comments and plays on every row, from one search. Each post comes with likesCount, commentsCount, videoPlayCount, the exact post time, the caption with its hashtags and mentions, the owner and the cover image. In our 1,000 row test across 20 keywords, every row had likes, comments, time, owner and link. No second actor to look the posts up.
  • No login, and it says where each post came from. The actor reads the public keyword pages Instagram itself publishes (instagram.com/popular/your-keyword/), the ones a visitor who is not signed in can open. Every row carries matchedKeyword and matchType, so you always know whether a post came from your keyword's own page or from a related one.
  • Brand names and broad words still work. Instagram has no public page for many brand names and single words (nike, starbucks, bmw, fitness). For those the actor finds Instagram's keyword pages that contain the word through one Google search, at our cost, and reads them: in our test, 6 of 20 keywords were answered this way, 50 posts each.

Run it on Apify

Part of The Mine Works Social media and video family: Threads Scraper, Reddit Scraper, Threads Search Scraper, Instagram Profile Scraper, Instagram Followers & Following, Reddit Search Scraper.

Try it in one minute

Paste this into the input (JSON view) and press Start. It returns 30 posts each for "skincare routine" and "home workout", with likes, comments and plays. It took 11, 14 and 16 seconds in three test runs:

{
"keywords": ["skincare routine", "home workout"],
"maxPostsPerKeyword": 30
}

Put each keyword on its own line. A post that two of your keywords find is delivered once.

Apify's free plan includes $5 of credit every month, which covers about 2,200 posts at this actor's price.

Copy to your AI assistant

themineworks/instagram-keyword-posts-scraper on Apify. Searches public Instagram posts and reels by keyword, phrase or hashtag with no login and returns one flat row per post. Call ApifyClient("TOKEN").actor("themineworks/instagram-keyword-posts-scraper").call(run_input={"keywords": ["skincare routine"], "maxPostsPerKeyword": 100}), then client.dataset(run["defaultDatasetId"]).list_items().items. Required: keywords (list of keywords, phrases or hashtags, up to 100; case and a leading # do not matter; instagram.com/popular/<keyword>/ and /explore/tags/<tag>/ links also work). Optional: maxPostsPerKeyword (default 50, 1 to 1000), includeRelatedKeywords (default true: when the keyword's own page ends, read Instagram's related keyword pages), googleFallback (default true: for a keyword Instagram has no page for, find its keyword pages through Google), newerThan (a date like 2026-09-01 or a period like "30 days"; filters, results are not sorted by date), minLikes (integer). Post rows have no _type field and carry keyword, searchKeyword, matchedKeyword, matchType (keyword, related or google), position, id, shortCode, url, type (Image, Video, Sidecar), mediaType (photo, reel, carousel), caption, hashtags, mentions, likesCount, commentsCount, videoPlayCount, countsHidden, timestamp, timestampIsExact, ownerUsername, ownerId, ownerIsVerified, ownerProfileUrl, ownerProfilePicUrl, thumbnailUrl, displayUrl, dimensionsWidth, dimensionsHeight, videoUrl, videoDuration, hasAudio, detailsComplete, scrapedAt. Each run also writes one row with _type "summary", one with _type "info" when posts were delivered, and a row with _type "error" for each input that is not a keyword; none of these is charged. Full spec: GET https://api.apify.com/v2/acts/themineworks~instagram-keyword-posts-scraper/builds/default (Bearer TOKEN), which returns inputSchema and readme. Token: https://console.apify.com/account/integrations?fpr=ymnoit&utm_source=apify-readme&utm_medium=referral

Key features

  • Keywords, phrases or hashtags. coffee shop, best pizza in new york, #skincareroutine and Lab Grown Diamond all work: the actor matches them the way Instagram does, in lower case and without the #. Accented words are tried without the accent too (café finds the cafe page).
  • Engagement on every row. Likes, comments, plays of reels, the exact post time, video length, frame size and whether the reel has sound. Rows Instagram sends without likes and comments are flagged with detailsComplete: false and are free (none in our tests).
  • Related keywords for depth. A keyword's own page lists 24 to 92 posts. With includeRelatedKeywords on (the default), the actor continues with the related keywords Instagram lists for the page, those holding every word of yours first. In our test "skincare routine" returned 1,000 posts from 16 keyword pages, and every one of those pages had both words in its name (skincare routine order, glow skincare routine, best skincare routine steps and so on).
  • Google lookup for keywords without a page. One Google search for site:www.instagram.com/popular/ your-keyword finds Instagram keyword pages such as "american starbucks menu" or "nike shoes men sale", which the actor then reads. Google is asked for its United States results, which name the broader pages. It is included in the price. Switch it off with googleFallback: false.
  • Filters that cost nothing. newerThan keeps recent posts only and minLikes drops weak ones; filtered posts are not charged.
  • Stops cleanly. A keyword with no page ends after one request. A request is retried at most twice on a new IP, six failed requests in a row end the run, Google is dropped for the rest of a run after five lookups that find nothing, and the run stops before its time limit and keeps every row. The summary row says why each keyword stopped.

How to use it

Content research: what ranks for a topic

{
"keywords": ["sourdough starter tips", "home workout"],
"maxPostsPerKeyword": 100
}

Sort by videoPlayCount to see which reels are pulling views, and read their captions and hashtags for hooks.

Influencer and creator discovery

{
"keywords": ["skincare routine", "glass skin", "kbeauty"],
"maxPostsPerKeyword": 300,
"minLikes": 1000
}

Open the Creators view of the dataset: one line per post with ownerUsername, ownerIsVerified and the profile link. Count posts per owner to find the accounts that keep coming up.

Brand and competitor mentions

{
"keywords": ["starbucks", "dunkin"],
"maxPostsPerKeyword": 100,
"newerThan": "90 days"
}

Brand names usually have no Instagram page of their own, so the actor finds the keyword pages that contain them through Google (for starbucks in our test: american starbucks menu, starbucks goods usa, what should i try at starbucks) and reads those. matchedKeyword shows which one each post came from.

Local business research

{
"keywords": ["nail salon", "dentist", "best pizza in new york"],
"maxPostsPerKeyword": 50
}

Only the keyword's own page

{
"keywords": ["real estate agent"],
"maxPostsPerKeyword": 100,
"includeRelatedKeywords": false,
"googleFallback": false
}

Use this when you want exactly what Instagram lists for the phrase and nothing from related pages.

Input parameters

ParameterTypeDefaultWhat it does
keywordsarray of strings["skincare routine", "home workout"]Keywords, phrases or hashtags, one search each. Up to 100. instagram.com/popular/... and /explore/tags/... links also work.
maxPostsPerKeywordinteger50Most posts per keyword, 1 to 1,000.
includeRelatedKeywordsbooleantrueWhen a keyword's own page ends before the max, continue with Instagram's related keyword pages.
googleFallbackbooleantrueFor a keyword Instagram has no page for, find its keyword pages through one Google search (included in the price).
newerThanstringemptyKeep posts published on or after a date (2026-09-01) or within a period (30 days, 6 months).
minLikesinteger0Skip posts with fewer likes. Posts with hidden likes are skipped when this is set.
proxyConfigurationobjectApify proxyApify datacenter proxy, included. Residential and Google SERP groups are removed if chosen.

What data do you get?

One row per post or reel. Post rows have no _type field; the summary, info and error rows do, so a filter on _type separates them. Fields Instagram does not send for a post are left out of that row.

FieldWhat it is
keyword, searchKeywordYour keyword as given, and as Instagram matches it (lower case, no #)
matchedKeyword, matchType, positionThe Instagram keyword page the post was listed on, how it was reached (keyword, related or google) and the post's rank on that page
id, shortCode, urlMedia id, shortcode and the link to the post or reel
type, mediaTypeImage, Video or Sidecar, and in plain words photo, reel or carousel
caption, hashtags, mentionsCaption, its hashtags without # and mentioned usernames without @
likesCount, commentsCount, videoPlayCountLikes, comments and plays of a reel
countsHiddenTrue when the owner hides the like count
timestamp, timestampIsExactWhen the post was published (ISO 8601 UTC), and false when the time is read from the media id
ownerUsername, ownerId, ownerIsVerified, ownerProfileUrl, ownerProfilePicUrlThe account that posted it
thumbnailUrl, displayUrl, dimensionsWidth, dimensionsHeightCover image at 640 px and at full size, and the frame size
videoUrl, videoDuration, hasAudioMP4 link, length in seconds and whether the reel has sound
detailsCompleteTrue when Instagram sent likes, comments and the exact time; rows with false are free
scrapedAtWhen the row was written

Summary row (_type: "summary", never charged): keywords_requested, keywords_with_own_page, keywords_via_google, keywords_no_results, keyword_pages_read, related_pages_read, pages_read, posts_seen, posts_delivered, charged_for, free_rows_without_counts, duplicates_skipped, filtered_by_date, filtered_by_likes, http_requests, http_megabytes, kilobytes_per_row, google_lookups, stopped_early, shortfall_reason when fewer rows came back than asked, and per_keyword, one entry per keyword with whether it has its own page, the Google result, posts delivered, why it stopped, and each keyword page read (keyword, via, pages, posts_seen, delivered, stopped). The same summary is saved as the OUTPUT record of the run.

Stable fields for automations

These were present in every row of our 1,000 row test (20 keywords), and their names will not change:

FieldWhat it is
shortCodeThe key to store and join on
urlLink to the post
keyword, matchedKeyword, matchTypeWhat found it
likesCount, commentsCountEngagement
timestampPost time
ownerUsername, ownerIdThe owner
mediaTypephoto, reel or carousel
thumbnailUrlCover image
hashtagsHashtags (can be empty)

Optional, present only when Instagram shows a value: caption (993 of 1,000 rows), videoPlayCount (994 of 999 reels), videoDuration, videoUrl and hasAudio (reels), mentions.

Output example

{
"keyword": "coffee shop",
"searchKeyword": "coffee shop",
"matchedKeyword": "coffee shop",
"matchType": "keyword",
"position": 1,
"id": "3891191701607594502",
"shortCode": "DYASjx3RLoG",
"url": "https://www.instagram.com/reel/DYASjx3RLoG/",
"type": "Video",
"mediaType": "reel",
"caption": "Stop by for a quick warm drink. Cappuccino, latte, americano…we have it ☕️\n\nFor more, follow along @imaginativemike \n\nMade with Photoshop, AI.\n\n#coffee #coffeelovers #cozy #relaxing #coffeeshop",
"hashtags": ["coffee", "coffeelovers", "cozy", "relaxing", "coffeeshop"],
"mentions": ["imaginativemike"],
"likesCount": 29203,
"commentsCount": 464,
"videoPlayCount": 512370,
"countsHidden": false,
"timestamp": "2026-05-06T16:50:45.000Z",
"timestampIsExact": true,
"ownerUsername": "imaginativemike",
"ownerId": "60009509848",
"ownerIsVerified": false,
"ownerProfileUrl": "https://www.instagram.com/imaginativemike/",
"ownerProfilePicUrl": "https://scontent-lga3-1.cdninstagram.com/v/t51.2885-19/34941...",
"thumbnailUrl": "https://scontent-lga3-3.cdninstagram.com/v/t51.71878-15/6848...",
"displayUrl": "https://scontent-lga3-3.cdninstagram.com/v/t51.71878-15/6848...",
"dimensionsWidth": 1056,
"dimensionsHeight": 1878,
"videoUrl": "https://scontent-lga3-1.cdninstagram.com/o1/v/t2/f2/m86/AQOj...",
"videoDuration": 10.03,
"hasAudio": false,
"detailsComplete": true,
"scrapedAt": "2026-10-30T18:40:09.912Z"
}

Summary row of the same run (shortened):

{
"_type": "summary",
"keywords_requested": 2,
"keywords_with_own_page": 2,
"keyword_pages_read": 2,
"related_pages_read": 1,
"pages_read": 4,
"posts_seen": 96,
"posts_delivered": 60,
"free_rows_without_counts": 0,
"http_requests": 8,
"http_megabytes": 0.48,
"google_lookups": 0,
"per_keyword": [
{
"keyword": "coffee shop",
"status": "ok",
"own_page": true,
"posts_delivered": 30,
"stopped": "max_posts_reached",
"sources": [
{ "keyword": "coffee shop", "via": "keyword", "pages": 1, "posts_seen": 24, "delivered": 24, "stopped": "last_page" },
{ "keyword": "best coffee shops in indiranagar", "via": "related", "pages": 1, "posts_seen": 24, "delivered": 6, "stopped": "max_posts_reached" }
]
}
],
"run_seconds": 14
}

Pricing

Pay per event: you pay for the posts you receive, plus a flat $0.002 per run, whatever memory you choose. Related keyword pages, the Google lookup, the filters and the proxy cost nothing extra.

EventWhen it is chargedFree planBronze (Starter)Silver (Scale)Gold (Business)
post-scrapedOnce per post row with likes and comments stored in your dataset$2.25 per 1,000$1.95 per 1,000$1.65 per 1,000$1.35 per 1,000
run-startOnce per run, after the first page returned posts$0.002$0.002$0.002$0.002

The price of one post is the price per 1,000 divided by 1,000.

Never charged:

  • a post that a second keyword of the same run finds again;
  • posts dropped by newerThan or minLikes, and posts past your maxPostsPerKeyword;
  • rows Instagram sent without likes and comments (detailsComplete: false);
  • the summary, info and error rows;
  • a run whose keywords have no page and no Google match: the start fee is charged only once a page has returned posts;
  • anything past your "Max cost per run". The actor checks the budget before each batch of rows and stops while the total is still below your limit, so the run ends SUCCEEDED with a partial result and a status message saying so.

Run it on a schedule

  1. Open the actor in Apify Console, set your input and click Save as a new task.
  2. In the task, open Schedules, click Add schedule and pick how often (every day, every Monday at 08:00 and so on).
  3. Compare shortCode with the previous run to see only new posts, or set newerThan to 7 days for a weekly run.
  4. Optional: add an integration (Google Sheets, Slack, a webhook) so each run lands where your team works.

FAQ

What does this actor read?

The public keyword pages Instagram publishes for search engines, such as instagram.com/popular/coffee-shop/, which anyone can open without logging in, and the reel viewer on those pages for likes, comments and post time. Instagram's own search bar needs a login, so this actor does not use it. It does not log in, post, follow or read anything private.

How many posts can I get per keyword?

A keyword's own page lists 24 to 92 posts in our tests (coffee shop 24, real estate agent 48, lab grown diamond ring 60, skincare routine 84, home workout 88, dentist 92). With includeRelatedKeywords on, more come from Instagram's related keyword pages, closest first: one keyword returned 1,000 posts from 16 keyword pages in 4 minutes. A keyword with few related pages returns fewer; the summary row says why each keyword stopped.

Why are almost all results reels?

Instagram's keyword pages list reels first. In our 1,000 row test, 999 rows were reels and 1 was a carousel. Photo and carousel posts appear when Instagram lists them, with mediaType photo or carousel.

Why do some rows come from another keyword?

Two cases, both marked on the row. matchType: "related": your keyword's own page ended before your max, so the actor read a related keyword Instagram lists for it (for coffee shop: coffee shop design inspiration, coffee shops for studying and so on). matchType: "google": Instagram has no page for your keyword, so the actor read the keyword pages that contain it. Turn both off with includeRelatedKeywords: false and googleFallback: false.

Why does a brand name or a single word find nothing on its own?

Instagram does not publish a keyword page for every word. In our tests nike, starbucks, bmw, food, fitness and coffee had none, while yoga, travel, wedding and dentist did. With googleFallback on, all six of those keywords returned 50 posts each from keyword pages that contain the word.

Are results sorted by date?

No. Instagram ranks the posts on a keyword page, and the actor keeps that order (position). newerThan drops older posts but cannot reach further back than what the pages list. In our 1,000 row test, 601 posts were from 2026 and 283 from 2025.

Yes. thumbnailUrl, displayUrl, videoUrl and ownerProfilePicUrl are signed Instagram CDN links that stop working after a few days. Download the files soon after the run if you need them. url is the permanent link to the post.

How long does a run take?

In our tests: 11 to 16 seconds for the "Try it" input (60 posts), 163 seconds for 20 keywords of 50 posts (1,000 posts, 6 of them through Google), and 4 minutes for 1,000 posts of one keyword. A page of 24 posts takes about 3 seconds; a Google lookup adds 5 to 20 seconds. Three keywords are read at the same time.

Do I need an account, cookies or a proxy?

No. The actor reads Instagram as a visitor who is not logged in, over Apify's datacenter proxy, which is included. You never share a login or a cookie.

Which formats can I download?

JSON, CSV, Excel, XML, RSS and HTML from the run's Storage tab or through the API. The dataset has three ready views: Posts, Engagement and Creators. In CSV and Excel, list fields such as hashtags are flattened into columns such as hashtags/0.

Can I use it from Claude, ChatGPT or Cursor (MCP)?

Yes, through Apify's MCP server. Connector URL: https://mcp.apify.com/?tools=themineworks/instagram-keyword-posts-scraper

  • Claude: Settings > Connectors > Add custom connector, paste the URL, sign in with Apify.
  • ChatGPT: turn on developer mode, add an MCP connector with the URL, sign in with Apify.
  • Cursor or VS Code: add it as an HTTP MCP server with that URL.
  • Claude Code: claude mcp add -t http instagram-keyword-posts-scraper "https://mcp.apify.com/?tools=themineworks/instagram-keyword-posts-scraper"

The actor reads only public pages that anyone can open without logging in. Usernames, captions and profile pictures are personal data under GDPR, CCPA and similar laws: collect only what you need and have a lawful basis for processing it. You are responsible for how you use the data, including Instagram's terms. This is general information, not legal advice.

Integrations

  • Google Sheets: send each run's rows to a sheet with Apify's Google Sheets integration; one row per post fits a sheet as is.
  • Make, Zapier and n8n: start a run and read its dataset with the Apify apps and nodes, for example "new reels for our brand keywords every morning to Slack".
  • Clay and AI agents: call it once per keyword from a table or an agent and read the rows back; a single keyword with maxPostsPerKeyword 20 returns in about 10 seconds.
  • Webhooks: have Apify call your URL when a run succeeds, then fetch the dataset.
  • API and SDKs: run it from Python or JavaScript with the Apify client, or with a plain HTTP call (see "Copy to your AI assistant" above).
  • MCP clients: Claude, ChatGPT, Cursor and VS Code can run it as a tool through the connector URL in the FAQ.

More from The Mine Works

Social media and video

Leads and business directories

Marketing, SEO and reviews

LinkedIn

Real estate

Science, health and government data

Jobs and hiring

Company and business data

E-commerce and marketplaces

Food and local services

Developer and AI tools

More tools

Support

Found a keyword that returns fewer posts than you expected, or a field that comes back empty? Open an issue in the Issues tab with the input and the run ID, and we will look at it. For a field you need or a new source, email dmineworks@gmail.com.