Call it
curl https://api.peume.com/v1/call/xiaohongshu-pugongying-creator-core-metrics \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"user_id": "your user id"
}
}'const res = await fetch("https://api.peume.com/v1/call/xiaohongshu-pugongying-creator-core-metrics", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"user_id": "your user id"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/xiaohongshu-pugongying-creator-core-metrics",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"user_id": "your user id"
}
},
)
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: xiaohongshu-pugongying-creator-core-metrics.
Parameters
user_idRequiredstringBlogger user ID
note_typeinteger笔记类型 1=图文 2=视频 3=图文+视频(默认全部)
date_typeinteger统计时间范围(约 1=近7天 2=近30天 3=近90天)
advertise_switchinteger流量类型 1=全部(含合作) 0=仅自然流量
Other ways to do it
Same job, other sources, cheapest first.
Xiaohongshu Pugongying creator metrics summaryXiaohongshu: get blogger data summary (pgy)Xiaohongshu Pugongying creator note ratesXiaohongshu: get blogger notes rate (pgy)Pugongying creator core data by creator idRetrieves Xiaohongshu Pugongying core data for a creator with business, note-type, date-range, and advertisement filters.Pugongying creator data summary by creator idRetrieve the Xiaohongshu Pugongying data summary for a creator's daily or cooperation notes.Pugongying note performance metrics by creator idRetrieve Xiaohongshu Pugongying aggregate note performance metrics for a creator with business, note-type, date-range, and advertisement filters.
