🎬 Instagram Reels Posts | The play counts Instagram hides everywhere else Give it a numeric Instagram user id and get every Reel as a row: real play count, likes, comments, caption, duration, coauthor count and link — plus a per-account summary with median plays, the view-to-like ratio, and the sh…
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.5] - 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 accounts x 3 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.4] - 2026-10-12
The run can no longer be killed by the key-value store. Under
LIMITED_PERMISSIONS — which is 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
the run reported FAILED with 0 items. Measured on the live build before this
release: instagram-reels-posts with an empty input failed after three lines,
every time. Every store open now goes through a wrapper that returns a no-op
store instead of throwing, so the counter and the run SUMMARY degrade and the
scraping 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 this Actor's gate store once the account passed 50 stores
— and the account creates a new default store on every run, so the list grows
by itself. The lookup now pages (100 per page, up to 20 pages) and stops as
soon as a short page proves there is nothing further to read.
[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 Instagram Reel: real play count, likes, comments, the view-to-like ratio, a hidden-counts flag, caption with a caption-less flag, duration in seconds, coauthor count, media, publish time and a direct /reel/<shortcode>/ link, with the source account attached.
The summary reports, per account: Reels collected, how many rows carried a play count and that as shareWithPlayCount, median and total plays, median likes and comments, medianViewToLikeRatio, median duration, captionless/coauthored/hidden-count rows, has-more-pages and the five most-played Reels.
Input takes numeric Instagram user ids (handles are refused up front with an explanation, since this data source does not accept them) and profile URLs ending in /<id>/, up to 20 accounts and 200 Reels each, paged through Instagram's cursor with de-duplication by shortcode.
Measured quirks handled: rows arrive wrapped as item.media rather than as bare media objects (reading item.code silently yields nothing); play_count and ig_play_count carried the same number so both are read with a fallback; video_duration is a float in seconds while other legs use MM:SS; like_and_view_counts_disabled marks rows where a 0 means hidden rather than unliked; and paging stops when the cursor does not advance so a repeated cursor cannot spin the run.
Verified on a live account: 24 Reels, every row carrying a play count (962,820 → 8,176,424, median 1,807,272), median view-to-like ratio 2.38%.
Free tier: 5 runs/day (counter persisted in a cross-run named KV store).