Call it
curl https://api.peume.com/v1/call/instagram-basic-profile-2 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"userId": "your userId"
}
}'const res = await fetch("https://api.peume.com/v1/call/instagram-basic-profile-2", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"userId": "your userId"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/instagram-basic-profile-2",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"userId": "your userId"
}
},
)
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-basic-profile-2.
Parameters
routestringUpstream source to run on; omit for "anonymous-giraffe-5e3cbaa1". anonymous-giraffe-5e3cbaa1 ($0.00074 per call, 100% uptime); tiger ($0.00075 per call, 100% uptime); kiwi ($0.001 per call, 99.9% uptime); pangolin ($0.001 per call, 100% uptime); chameleon ($0.0011 per call, 89.5% uptime); anonymous-giraffe ($0.0012 per call, 100% uptime); lynx ($0.00188 per call, 100% uptime); fox ($0.0032 per call, 100% uptime). Output fields only some routes return: bioLinks (kiwi, pangolin, chameleon, anonymous-giraffe, lynx); isBusiness (kiwi, pangolin, chameleon, anonymous-giraffe, lynx); posts (kiwi, cha
anonymous-giraffe-5e3cbaa1 · tiger · kiwi · pangolin · chameleon · anonymous-giraffe · lynx · fox
userIdRequiredstringInstagram numeric user id (the account's internal all-digits id, e.g. 314216), NOT the @handle or profile URL. Passing a handle here returns no profile.
