Call it
curl https://api.peume.com/v1/call/x-list-user-replies \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"username": "your username",
"limit": 20
}
}'const res = await fetch("https://api.peume.com/v1/call/x-list-user-replies", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"username": "your username",
"limit": 20
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/x-list-user-replies",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"username": "your username",
"limit": 20
}
},
)
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-list-user-replies.
Parameters
usernameRequiredstringX username, with or without the leading @ (1-15 letters, digits or underscores). Example: VitalikButerin.
limitintegerMaximum number of records to return (1-100). Defaults to 20.
Example: 20
cursorstringPagination cursor. Pass ONLY the `meta.next_cursor` returned by the previous page of the same request; it is valid for 15 minutes. An unknown or expired cursor is not rejected upstream: it silently restarts at page 1.
