Call it
curl https://api.peume.com/v1/call/x-mindshare-time-series \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"interval": "5m",
"include_category_breakdown": false
}
}'const res = await fetch("https://api.peume.com/v1/call/x-mindshare-time-series", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"interval": "5m",
"include_category_breakdown": false
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/x-mindshare-time-series",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"interval": "5m",
"include_category_breakdown": False
}
},
)
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-mindshare-time-series.
Parameters
usernamestringX username, with or without the leading @ (1-15 letters, digits or underscores). Example: VitalikButerin.
user_idstringNumeric X user id as a string. Example: 295218901.
intervalRequiredstringTime-series interval. Example: 1d.
5m · 1h · 1d · 7d
fromstringInclusive start: Unix seconds or a calendar date (YYYY-MM-DD). Example: 2026-10-01.
tostringExclusive end: Unix seconds or a calendar date (YYYY-MM-DD). Example: 2026-10-28.
include_category_breakdownbooleanInclude per-category mindshare series. Defaults to false.
Example: false
