PeumeAPI

Social media data · Instagram

Instagram Hashtag Search

Search posts under an Instagram hashtag through a web search index rather than Instagram's own hashtag feed. That is what lets it filter by date and media type and return reels whose like counts have settled, and it is also why results skew older (median around three months) and stop at roughly 110 per hashtag. If that web search index is unavailable, a first-page request that sets no date and no media type is served from Instagram's own live top feed instead. For Instagram's own live ranking of a tag use instagram.hashtag_top_posts, and for the chronological feed use instagram.hashtag_recent_posts.

$0.003 per callUsually answers in under a minute

Call it

curl https://api.peume.com/v1/call/instagram-hashtag-search \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "datePosted": "last-month",
    "hashtag": "skincare",
    "mediaType": "reel"
  }
}'

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-search.

Parameters

fieldsstring

Comma-separated keys (dotted paths descend) to keep on each result item. Trims the response, not the charge.

max_itemsinteger

Caps the result rows returned; `_truncated` says how many were withheld. Not the charge.

summaryboolean

`true` returns only an outline: keys, item counts, per-field sizes.

jqstring

jq expression over the result envelope; its output replaces `output`. A failed expression returns the full result with `jqError`.

cursorstring

Pagination cursor from a previous response.

datePostedstring

Restrict results to posts published within this window.

last-hour · last-day · last-week · last-month · last-year

Example: last-month

hashtagRequiredstring

Hashtag to search, without the leading #.

Example: skincare

mediaTypestring

Filter by media type. One of all, reel.

all · reel

Example: reel

Other ways to do it

Same job, other sources, cheapest first.

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.