Call it
curl https://api.peume.com/v1/call/instagram-followers \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"fullCoverage": false,
"username": "your username"
}
}'const res = await fetch("https://api.peume.com/v1/call/instagram-followers", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"fullCoverage": false,
"username": "your username"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/instagram-followers",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"fullCoverage": False,
"username": "your username"
}
},
)
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-followers.
Parameters
cursorstringOpaque pagination cursor from a previous response's nextCursor. Without fullCoverage, every source returns a single page of about 50 followers and nextCursor comes back empty. With fullCoverage:true, nextCursor can lead to one more page; send fullCoverage:true again with the cursor, or the page is refused as invalid input with no charge. 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.
routestringUpstream source to run on; omit for "chameleon". chameleon ($0.00173 per call, 99.6% uptime); lynx ($0.00188 per call, 98.2% uptime); fox ($0.016 per call, 100% uptime); fennec ($0.032 per call, 41.2% uptime). Output fields only some routes return: private (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.
chameleon · lynx · fox · fennec
fullCoveragebooleanAsk for more of the follower list. In tests the first page returned about 80 to 100 followers instead of about 50, and nextCursor sometimes led to one more short page; Instagram limits how far any follower list goes, so this never returns the whole list. Each page is billed separately, at a higher price than a request without fullCoverage. Send it on every page of a walk, including cursor pages.
Example: false
usernameRequiredstringThe Instagram username, user ID, or profile URL whose followers to list (e.g. natgeo).
