🔍 Instagram Reels Search | What ranks for a keyword, and how far it actually reaches Give it keywords and get the matching Reels as rows with real play counts, the posting account's size, and a per-keyword report: median plays, how concentrated the results are in one account, and the biggest Reels…
One run-wide request budget for the whole run. Upstream requests are now
capped at 12 on the free plan / 40 on paid plans, shared by every
account, keyword, hashtag or post in the run and counting retries. Previously
only each item had a page cap, so cost multiplied by the number of items a
wide run could issue hundreds of calls under one actor-start charge. A single
item can still walk all of its pages; only wide runs are compressed.
The ceiling is enforced in UpstreamClient.getJson() before every real HTTP
call, so it covers helper-leg requests (profile lookups, enrichments) too.
Exhaustion is a business outcome: a type: "notice" dataset row,
SUMMARY.budgetExhausted, SUMMARY.maxRequestsPerRun and
SUMMARY.upstreamRequests, and a SUCCEEDED run — never a throw.
test/request-budget.js (wired into npm test) drives both tiers with a
fake upstream that never stops paginating, and asserts retries count toward
the same budget.
[0.6] - 2026-11-09
The Billing section claimed the Actor charges "pay per result". It does not: the
only charge event registered on the platform is apify-actor-start, collected once
when the run begins, so a run returning 300 rows costs the same as one returning 3.
The section now describes that, and stops promising something the invoice contradicts.
Free-plan runs are capped at 5 keywords x 2 pages x 60 reels. Every page, seed and enrichment is one upstream
request, so this is where the real cost sits. The cap is written to the dataset as a
notice row and to SUMMARY.appliedLimits.capped, and a capped run still ends
SUCCEEDED - exceeding a plan quota is never a failed run.
[0.5] - 2026-11-09
Free-plan callers now get a capped slice of a run: 5 keywords x 2 pages x 60
Reels, down from the full 20 x 15 x 200. Pricing is unchanged — still the
platform's $0.10 actor-start event — but at full width one run could spend
300 upstream requests ($0.002/page, so $0.60) against a charge that goes to
Apify rather than to us. The cap bounds a free run at 10 requests ($0.02).
The cap is reported, never silent: a type: "notice" row is pushed to the
dataset and SUMMARY.appliedLimits carries capped: true. A capped run still
ends SUCCEEDED and still delivers every row it fetched.
Paid-plan runs are byte-for-byte unchanged: same 20 keywords, 15 pages, 200
Reels, same request count.
Removed dead code that the counter retirement left behind: the usage-gate
key-value store open (one guaranteed 403 + warning per run), the unused
resolveBillingTier and userTag helpers, and the noopKeyValueStore /
openKeyValueStoreOrNoop wrappers that no longer had a caller.
README: "Pay per result" replaced with what the platform actually bills. The
pricing defines only apify-actor-start, so the old claim was false.
[0.4] - 2026-10-12
The run can no longer be killed by the key-value store. Under
LIMITED_PERMISSIONS — how Apify's automated QA and every API-triggered run
starts an Actor — opening the store is refused with HTTP 403
(KeyValueStoreCollectionClient.getOrCreate, path /v2/key-value-stores).
That call sat in a || fallback chain and was never inside a try/catch of
ours, so the throw ended the run with exit code 91 and a reported FAILED run
with zero items. Every store open now goes through a wrapper that returns a
no-op store instead of throwing, so the free-run counter and the run SUMMARY
degrade and the actual work proceeds.
The gate store's name-to-id lookup no longer depends on the store still being
on the first page. There is no GET-by-name endpoint, so the lookup pages
through /v2/key-value-stores; it used a fixed limit=50, which silently
stopped containing gate stores once the account passed 50 of them — and the
account creates a new default store on every run, so that list grows on its
own. The lookup now pages (100 per page, up to 20 pages).
[0.3] - 2026-10-09
Changed
README: added three sections before Quick start - what you can use it for, who it fits, and who it does not fit. The last section now names the Actor's real limits (what it cannot reach, which field is unavailable, which reading of a metric is wrong), so a buyer can tell whether it is the wrong tool before paying.
[0.2] - 2026-10-08
KV writes and status messages can no longer hang the run. Under
LIMITED_PERMISSIONS these calls do not merely fail — they can return a
promise that never resolves. Measured on a live run of a sibling Actor:
results were fetched successfully, then the following setValue never
returned and the run sat for 49 minutes before being aborted with an empty
dataset and a paid bill, and not one error in the log. try/catch cannot
help there — it catches a rejection, not a promise that never settles. Every
bookkeeping write now races a 15s timeout and reports the failure as
non-fatal, so a stuck store costs one summary field instead of the whole run.
0.1 (2026-10-05)
Initial release. One dataset row per Reel matching a keyword: real play count, likes, comments, view-to-like ratio, a hidden-counts flag, caption with a caption-less flag, the posting account's follower count and availability flag, account qualification flags, duration, coauthor count, publish time and a direct /reel/<shortcode>/ link, tagged with its keyword.
The summary reports, per keyword: Reels collected, how many carried a play count and that as a share, median and total plays, median likes and comments, median author follower count, unique authors, the accounts appearing most often (concentration), and the five biggest Reels.
Input takes up to 20 keywords with a leading #/@ stripped, up to 200 Reels each, paged through Instagram's cursor with de-duplication by shortcode.
Measured quirks handled: the provider's data.data.count was measured to equal the page size (12 on a keyword with far more matches), so it is reported as reportedResultCount and no coverage figure is claimed for a keyword search; play_count and ig_play_count carried the same number so both are read with a fallback; the author object does not always carry edge_followed_by, so authorFollowers stays null with authorFollowerCountAvailable: false rather than becoming 0; like_and_view_counts_disabled marks rows where a 0 means hidden; and paging stops when the cursor does not advance.
Verified on a live keyword: 24 Reels, 100% carrying play counts (up to 11,188,932, median 1,848,310), 24 distinct authors.
Free tier: 5 runs/day (counter persisted in a cross-run named KV store).