Call it
curl https://api.peume.com/v1/call/xiaohongshu-image-note-details-by-note-id-or-link \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"note_id": "697c0eee000000000a03c308",
"share_text": "http://xhslink.com/o/8GqargIxrko"
}
}'const res = await fetch("https://api.peume.com/v1/call/xiaohongshu-image-note-details-by-note-id-or-link", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"note_id": "697c0eee000000000a03c308",
"share_text": "http://xhslink.com/o/8GqargIxrko"
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/xiaohongshu-image-note-details-by-note-id-or-link",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"note_id": "697c0eee000000000a03c308",
"share_text": "http://xhslink.com/o/8GqargIxrko"
}
},
)
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-image-note-details-by-note-id-or-link.
Parameters
note_idstringNote ID
Example: 697c0eee000000000a03c308
share_textstringShare link
Example: http://xhslink.com/o/8GqargIxrko
Other ways to do it
Same job, other sources, cheapest first.
Xiaohongshu note details by note id and xsec tokenXiaohongshu: fetch note detail (web_v3)Xiaohongshu video note details by note id or linkXiaohongshu: get video note detail (app_v2)Xiaohongshu note details by note id or URLA single Xiaohongshu (RedNote) note by note id or explore URLXiaohongshu video note details by note idRetrieves Xiaohongshu (RedNote) video-note details by note ID.
