Call it
curl https://api.peume.com/v1/call/instagram-user-highlights-2 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"handle": "your handle"
}
}'const res = await fetch("https://api.peume.com/v1/call/instagram-user-highlights-2", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"handle": "your handle"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/instagram-user-highlights-2",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"handle": "your handle"
}
},
)
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-user-highlights-2.
Parameters
routestringUpstream source to run on; omit for "kiwi". manatee ($0.001 per call, 92.5% uptime); kiwi ($0.0012 per call, 100% uptime); giraffe ($0.0012 per call, 97.6% uptime); chameleon ($0.00157 per call, 97.4% uptime); lynx ($0.00164 per call, 100% uptime). Output fields only some routes return: createdUtc (kiwi, chameleon, lynx); mediaCount (kiwi, chameleon, lynx). A route can refuse an input it cannot apply with a 400 source_unknown (not charged): retry on another route, or omit that input.
manatee · kiwi · giraffe · chameleon · lynx
handleRequiredstringInstagram username without the leading @.
userIdstringInstagram numeric user id (optional, faster than handle).
