Call it
curl https://api.peume.com/v1/call/x-twitter-post-replies-2 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"url": "your url"
}
}'const res = await fetch("https://api.peume.com/v1/call/x-twitter-post-replies-2", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"url": "your url"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/x-twitter-post-replies-2",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"url": "your url"
}
},
)
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-post-replies-2.
Parameters
cursorstringOpaque pagination cursor from a previous response's nextCursor. Omit for the first page; pass it to fetch the next page of replies. 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 "giraffe". owl ($0.00029 per call, 98.9% uptime); giraffe ($0.00029 per call, 98.9% uptime); koala ($0.00031 per call, 99% uptime); lynx ($0.00045 per call, 99.7% uptime); jackal ($0.00049 per call, 100% uptime); capybara ($0.00049 per call, 99.5% uptime); badger ($0.0001 + $0.0001 per result, at most $0.0037, 92.3% uptime); octopus ($0.00006 + $0.00024 per result, at most $0.00966, 100% uptime). Output fields only some routes return: nextCursor (lynx, jackal, capybara, badger). A route can refuse an input it cannot apply with a 400 source_unknown (not charg
owl · giraffe · koala · lynx · jackal · capybara · badger · octopus
limitintegerMost replies to return (1-40, default 40). Ignored on sources that page: each call returns one full page of up to about 36 replies, never trimmed; follow nextCursor for more. Sources that cannot page return up to `limit` replies in one call with no nextCursor, and per-result ones cost less at lower limits; a source that bills its native page may cost up to the advertised request price.
urlRequiredstringFull URL of the post to fetch replies for (e.g. https://x.com/nasa/status/1846987139428634858).
