Call it
curl https://api.peume.com/v1/call/x-twitter-tweet-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-tweet-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-tweet-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-tweet-2.
Parameters
routestringUpstream source to run on; omit for "anonymous-giraffe-5e3cbaa1". anonymous-giraffe-5e3cbaa1 ($0.00016 per call, 99.6% uptime); tiger ($0.00017 per call, 97% uptime); koala ($0.00019 per call, 99.7% uptime); lynx ($0.00022 per call, 99.9% uptime); badger ($0.00025 per call, 100% uptime); jackal ($0.00049 per call, 100% uptime); capybara ($0.00049 per call, 100% uptime); anonymous-giraffe ($0.0012 per call, 100% uptime). Output fields only some routes return: height (lynx, badger, jackal, anonymous-giraffe); videoUrl (lynx, jackal, capybara, anonymous-giraffe); width (lynx, badger, jackal, anon
anonymous-giraffe-5e3cbaa1 · tiger · koala · lynx · badger · jackal · capybara · anonymous-giraffe
urlRequiredstringCanonical x.com or twitter.com status URL with a numeric tweet ID, including /i/web/status and media-share variants.
