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"
}
}'const res = await fetch("https://api.peume.com/v1/call/instagram-hashtag-search", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"datePosted": "last-month",
"hashtag": "skincare",
"mediaType": "reel"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/instagram-hashtag-search",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"datePosted": "last-month",
"hashtag": "skincare",
"mediaType": "reel"
}
},
)
print(res.json()["output"])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
fieldsstringComma-separated keys (dotted paths descend) to keep on each result item. Trims the response, not the charge.
max_itemsintegerCaps 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.
jqstringjq expression over the result envelope; its output replaces `output`. A failed expression returns the full result with `jqError`.
cursorstringPagination cursor from a previous response.
datePostedstringRestrict results to posts published within this window.
last-hour · last-day · last-week · last-month · last-year
Example: last-month
hashtagRequiredstringHashtag to search, without the leading #.
Example: skincare
mediaTypestringFilter by media type. One of all, reel.
all · reel
Example: reel
Other ways to do it
Same job, other sources, cheapest first.
