Call it
curl https://api.peume.com/v1/call/x-twitter-profile-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/x-twitter-profile-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/x-twitter-profile-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: x-twitter-profile-2.
Parameters
routestringUpstream source to run on; omit for "anonymous-giraffe-5e3cbaa1". anonymous-giraffe-5e3cbaa1 ($0.00008 per call, 99.2% uptime); anonymous-tiger-6f8f398d ($0.00009 per call, 99.4% uptime); owl ($0.0001 per call, 99.8% uptime); lynx ($0.00019 per call, 99.9% uptime); badger ($0.00019 per call, 99.8% uptime); jackal ($0.00019 per call, 99.9% uptime); octopus ($0.0002 per call, 99.8% uptime); capybara ($0.00049 per call, 100% uptime); anonymous-tiger ($0.0012 per call, 100% uptime); anonymous-giraffe ($0.0012 per call, 100% uptime). A route can refuse an input it cannot apply with a 400 source_unk
anonymous-giraffe-5e3cbaa1 · anonymous-tiger-6f8f398d · owl · lynx · badger · jackal · octopus · capybara · anonymous-tiger · anonymous-giraffe
handleRequiredstringTwitter/X handle without the leading @.
