Call it
curl https://api.peume.com/v1/call/weibo-recommended-timeline-feed \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"refresh": 0,
"group_id": "102803",
"containerid": "102803",
"extparam": "discover|new_feed",
"max_id": "0",
"count": 10
}
}'const res = await fetch("https://api.peume.com/v1/call/weibo-recommended-timeline-feed", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"refresh": 0,
"group_id": "102803",
"containerid": "102803",
"extparam": "discover|new_feed",
"max_id": "0",
"count": 10
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/weibo-recommended-timeline-feed",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"refresh": 0,
"group_id": "102803",
"containerid": "102803",
"extparam": "discover|new_feed",
"max_id": "0",
"count": 10
}
},
)
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: weibo-recommended-timeline-feed.
Parameters
refreshintegerRefresh type, 0=normal refresh, 1=force refresh
Example: 0
group_idstringGroup ID
Example: 102803
containeridstringContainer ID
Example: 102803
extparamstringExtended parameters
Example: discover|new_feed
max_idstringMax ID
Example: 0
countintegerCount
Example: 10
Other ways to do it
Same job, other sources, cheapest first.
