Call it
curl https://api.peume.com/v1/call/instagram-list-posts-under-a-hashtag \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"hashtag": "your hashtag",
"cursor": "your cursor"
}
}'const res = await fetch("https://api.peume.com/v1/call/instagram-list-posts-under-a-hashtag", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"hashtag": "your hashtag",
"cursor": "your cursor"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/instagram-list-posts-under-a-hashtag",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"hashtag": "your hashtag",
"cursor": "your cursor"
}
},
)
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-list-posts-under-a-hashtag.
Parameters
hashtagstringidentity
cursorstringfilter; the next page: the previous answer's output.next_cursor, sent with the same body otherwise. The page comes from the provider that served the first one; null there means no next page
Other ways to do it
Same job, other sources, cheapest first.
Posts of an Instagram hashtagList the posts on an Instagram hashtag page with caption, likes, comments, time, author and media type.Instagram hashtag posts by hashtag nameInstagram: fetch hashtag posts (v1)Search Instagram posts by hashtag — caption, engagementFinds public Instagram posts for a hashtag using Google Search, then returns post details such as caption, play count when available, like count, comment count, owner, and post timInstagram hashtag posts by hashtag nameInstagram: fetch hashtag posts (v2)Instagram Hashtag SearchSearch 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 reelsSearch Instagram posts by hashtagSearches Instagram posts by hashtag with cursor pagination.
