Call it
curl https://api.peume.com/v1/call/xiaohongshu-pugongying-creator-core-data-by-creator-id \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"userId": "your userId",
"business": "DAILY_NOTE",
"noteType": "PHOTO_TEXT_AND_VIDEO",
"dateType": "DAY_30",
"advertiseSwitch": "ALL"
}
}'const res = await fetch("https://api.peume.com/v1/call/xiaohongshu-pugongying-creator-core-data-by-creator-id", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"userId": "your userId",
"business": "DAILY_NOTE",
"noteType": "PHOTO_TEXT_AND_VIDEO",
"dateType": "DAY_30",
"advertiseSwitch": "ALL"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/xiaohongshu-pugongying-creator-core-data-by-creator-id",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"userId": "your userId",
"business": "DAILY_NOTE",
"noteType": "PHOTO_TEXT_AND_VIDEO",
"dateType": "DAY_30",
"advertiseSwitch": "ALL"
}
},
)
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-data-by-creator-id.
Parameters
userIdRequiredstringKOL's user ID.
businessstringBusiness type. Available Values: - `DAILY_NOTE`: Daily notes - `COOPERATE_NOTE`: Cooperative notes One of: DAILY_NOTE, COOPERATE_NOTE.
DAILY_NOTE · COOPERATE_NOTE
Example: DAILY_NOTE
noteTypestringType of note. Available Values: - `PHOTO_TEXT_AND_VIDEO`: Photo and Video - `PHOTO_TEXT`: Photo and Text - `VIDEO`: Video only One of: PHOTO_TEXT_AND_VIDEO, PHOTO_TEXT, VIDEO.
PHOTO_TEXT_AND_VIDEO · PHOTO_TEXT · VIDEO
Example: PHOTO_TEXT_AND_VIDEO
dateTypestringTime range for data. Available Values: - `DAY_30`: Last 30 days - `DAY_90`: Last 90 days One of: DAY_30, DAY_90.
DAY_30 · DAY_90
Example: DAY_30
advertiseSwitchstringAdvertisement filter. Available Values: - `ALL`: All notes - `ORGANIC_ONLY`: Organic notes only One of: ALL, ORGANIC_ONLY.
ALL · ORGANIC_ONLY
Example: ALL
Other ways to do it
Same job, other sources, cheapest first.
