{"slug":"api-getanyapi-com-v1-run-instagram-trending-reels-978591","title":"AnyAPI instagram.trending_reels (Instagram Trending Reels)","host":"api.getanyapi.com","method":"POST","resource":"https://api.getanyapi.com/v1/run/instagram.trending_reels","category":"other","description":"AnyAPI instagram.trending_reels (Instagram Trending Reels)","price_listed":0.0012,"price_asked":0.0012,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":1006,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"properties":{"body":{"additionalProperties":false,"example":{},"properties":{"allowFallbacks":{"default":true,"description":"Optional, default true. When false, only the sources listed in `source` may serve; the request is refused with no charge if none of them can. When true, the listed sources are tried first and any other source may serve after them, at the normal price.","type":"boolean"},"ignoreSources":{"description":"Optional. Source ids to skip for this request, taken from this endpoint's `lanes[].source.id`. The cheapest remaining source serves and the price is that of the dearest remaining source. An id that does not serve this endpoint, or that is also in `source`, is rejected as invalid input with no charge; skipping every source is rejected the same way.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true},"preferLatencyUnderMs":{"description":"Optional; omit it and routing is unchanged, with the cheapest source serving. Prefer sources whose typical response time (median over the trailing 30 days, as published on this endpoint's lane health) is under this many milliseconds; among those, the cheapest serves. This can raise your price: when the cheapest source misses the target, a faster and dearer one serves, and you are quoted and charged its price. If no source is that fast the request is still served, by whichever source offers the best speed for its price - it is never refused for being slow. Sources we have not timed are tried last. This is a preference, not a guarantee: the median describes past requests and is not a ceiling on this one, and it excludes any wait this request itself asks for. On a paginated walk it applies to the first page only: later pages stay with the source that page chose, at the price it was quoted.","minimum":1,"type":"integer"},"source":{"description":"Optional. Source ids to prefer, in order, taken from this endpoint's `lanes[].source.id` in /catalog or /apis. Omit it and the cheapest source serves, with automatic failover. Listed sources are tried first in the order given, then the others, unless `allowFallbacks` is false. A single source with `allowFallbacks` false is served only by that source at its price, quoted and charged exactly, with no failover. The price is that of the dearest source that may serve. An id that does not serve this endpoint is rejected as invalid input with no charge; a listed source that is not serving right now is refused with no charge, so omit `source` to be served by another. On a paginated walk, later pages must include the source that served page one, or omit `source`.","items":{"minLength":1,"type":"string"},"type":"array","uniqueItems":true}},"required":[],"title":"Instagram Trending Reels input","type":"object"}},"type":"object"},"output":{"properties":{"example":{"properties":{"costUsd":{"description":"USD charged on the original run. On a replay this value is echoed for parity; the replay itself is free.","type":"number"},"hint":{"description":"Optional one-line nudge, absent when there is nothing to say. `large_result:` suggests the fields/max_items/summary/jq controls for a big response. `paging_unavailable:` means this result came from a source that cannot return a `nextCursor`, so it may be INCOMPLETE and cannot be continued - re-run with `requireFields: [\"nextCursor\"]` to be served only by a source that can page, which may cost more per request. `malformed_query:` means X read your search query differently than it looks (adjacent bare words are ANDed and OR binds tighter, so a multi-word alternative is not a phrase, and an operator after an unbracketed OR list applies to its last alternative only); the run was served and billed as X read it, and the hint carries the corrected query to send instead. `date_adjusted:` means a date you sent was outside the range the platform accepts, so the run used the nearest accepted date the hint names.","type":"string"},"items":{"description":"Number of result rows returned; an API that returns one record counts it as one row. For per-result APIs the per-item cost is charged against this count; for input-priced APIs the charge is per submitted input, independent of this count.","type":"integer"},"jqError":{"description":"Present only when a `jq` expression failed; `output` then carries the full unshaped result and this explains why the reshape did not apply.","type":"string"},"output":{"anyOf":[{"additionalProperties":false,"properties":{"data":{"oneOf":[{"type":"null"},{"additionalProperties":false,"properties":{"reels":{"description":"Populated whenever the provider has data for the entity.","items":{"properties":{"avatarUrl":{"description":"Profile picture URL of the author.","type":"string"},"caption":{"type":"string"},"comments":{"type":"integer"},"createdUtc":{"description":"UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.","type":"number"},"handle":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"hasAudio":{"description":"True when the reel carries an audio track.","type":"boolean"},"height":{"description":"Original pixel height of the media.","type":"integer"},"id":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"image":{"description":"Thumbnail image URL for the reel.","type":"string"},"likes":{"type":"integer"},"private":{"description":"True when the author's account is private.","type":"boolean"},"shortcode":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"url":{"description":"Populated whenever the provider has data for the entity.","type":"string","x-anyapi-must-populate":true},"userId":{"description":"Instagram user id of the author.","type":"string"},"verified":{"description":"True when the author's account carries a verified badge.","type":"boolean"},"videoUrl":{"description":"Direct URL to the reel video.","type":"string"},"width":{"description":"Original pixel width of the media.","type":"integer"}},"required":["id","shortcode","url","caption","likes","comments","handle"],"type":"object"},"type":"array","x-anyapi-must-populate":true}},"required":["reels"],"type":"object"}]},"found":{"type":"boolean"},"reason":{"description":"Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.","enum":["not_found"],"type":"string"}},"required":["found","data"],"title":"Instagram Trending Reels output","type":"object"},{"type":"null"}],"description":"Normalized output, or null when the replay payload was not retained."},"provider":{"description":"Always \"AnyAPI\".","type":"string"},"replayed":{"description":"True when this response replays the durable result of an earlier run without billing or upstream execution.","type":"boolean"},"resultId":{"description":"Opaque handle to the full unshaped result, cached ~15 min. Re-shape it for free (fields/max_items/summary/jq) via GET /v1/results/{id}, no re-billing. Absent when the result was too large to cache.","type":"string"},"source":{"description":"The source that served this run. Pass its `id` back as `source` to prefer it again, or as `ignoreSources` to avoid it. Absent when no source identity applies to the run.","properties":{"artworkKey":{"description":"Key for this source's artwork.","type":"string"},"id":{"description":"Stable identifier for this source.","type":"string"},"kind":{"description":"anonymous is a stable identity for an unattributed source; brand names the dataset that supplies the data.","enum":["anonymous","brand"],"type":"string"},"name":{"description":"Display name for this source.","type":"string"}},"required":["id","name","kind","artworkKey"],"type":"object"}},"required":["output","provider","costUsd","items","replayed"],"type":"object"}},"type":"object"}},"type":"object"},"history":[{"day":"2026-10-11","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.0012,"price_match":true,"latency_ms":1006,"error":null}],"description_full":"AnyAPI instagram.trending_reels (Instagram Trending Reels)","last_updated":"2026-10-11T10:47:03.299Z","schemes":["exact"]}