PeumeAPI

Places & travel · Instagram

Instagram Hashtag Top Posts

Instagram's own top-ranked posts for a hashtag, read from its live hashtag feed rather than a web search index, with view, like, and comment counts. Reels-heavy and engagement-ranked, so it answers what is performing on a tag right now. For older relevance-ranked results with date and media-type filters use instagram.search_hashtag; for the chronological feed use instagram.hashtag_recent_posts. Instagram's own top-posts ranking for the tag, not a date-ordered list and with no date input: recent posts come mixed with posts several years old, so filter each row on its timestamp before counting it as recent. For recent posts use `instagram.hashtag_recent_posts` (newest first) or `instagram.search_hashtag` (date filter). The poster's follower count is not returned, so likes per follower needs `instagram.profile` on the poster's handle. `views` is missing on most rows, reels included (12 of 112 rows in seven runs had it, none on route `fox`); likes and comments are on nearly every row. On route `lynx` only carousels carry `media` (reels and single posts come with an empty array); route `fox` returned a `media` item on every row. The same post has shown different like and view counts on runs for two hashtags minutes apart: treat counts as a snapshot and compare rows within one run. Not every row carries the tag: on popular tags about half lack it in `hashtags` (`#skincare` 23 of 44 rows, `#fitness` 4 of 8), some without the word in the caption either, so check `hashtags` when a row must carry it. A tag that is also a common word, place or brand name (`#dali`, `#shangrila`) returns unrelated posts, and a broad tag returns viral posts off topic, so prefer a niche tag and filter on the caption. A `cursor` can lead to a page with `found: false`, which is not billed.

From $0.0028 per call

Call it

curl https://api.peume.com/v1/call/instagram-hashtag-top-posts-2 \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "hashtag": "your hashtag"
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: instagram-hashtag-top-posts-2.

Parameters

cursorstring

Pagination cursor from a previous response's nextCursor. Pages can overlap: a page may repeat items an earlier page returned and is billed like any other, so de-duplicate by item id and stop when a page adds no new id.

routestring

Upstream source to run on; omit for "kiwi". lynx ($0.00188 per call, 95.9% uptime); kiwi ($0.00188 per call, 98.7% uptime); fox ($0.016 per call, 100% uptime). Output fields only some routes return: audioId (lynx, kiwi); coauthors (kiwi, fox); locationId (lynx, kiwi); locationLat (lynx, kiwi); locationLng (lynx, kiwi); locationName (lynx, kiwi); paidPartnership (lynx, kiwi); productType (lynx, kiwi); reshares (lynx, kiwi); soundAuthor (lynx, kiwi); soundTitle (lynx, kiwi); taggedUsers (lynx, kiwi). A route can refuse an input it cannot apply with a 400 source_unknown (not charged): retry on an

lynx · kiwi · fox

hashtagRequiredstring

Hashtag to fetch, without the leading #.

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.