Call it
curl https://api.peume.com/v1/call/xiaohongshu-comment-replies-by-note-and-comment-id-2 \
-H "Authorization: Bearer $PEUME_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"input": {
"note_id": "699916e6000000001d0253da",
"share_text": "http://xhslink.com/o/8GqargIxrko",
"comment_id": "699fb9930000000008030db6",
"index": 1
}
}'const res = await fetch("https://api.peume.com/v1/call/xiaohongshu-comment-replies-by-note-and-comment-id-2", {
method: "POST",
headers: {
Authorization: `Bearer ${process.env.PEUME_API_KEY}`,
"Content-Type": "application/json",
},
body: JSON.stringify({
"input": {
"note_id": "699916e6000000001d0253da",
"share_text": "http://xhslink.com/o/8GqargIxrko",
"comment_id": "699fb9930000000008030db6",
"index": 1
}
}),
});
const { output, cost_usd } = await res.json();import os, requests
res = requests.post(
"https://api.peume.com/v1/call/xiaohongshu-comment-replies-by-note-and-comment-id-2",
headers={"Authorization": f"Bearer {os.environ['PEUME_API_KEY']}"},
json={
"input": {
"note_id": "699916e6000000001d0253da",
"share_text": "http://xhslink.com/o/8GqargIxrko",
"comment_id": "699fb9930000000008030db6",
"index": 1
}
},
)
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-comment-replies-by-note-and-comment-id-2.
Parameters
note_idstringNote ID
Example: 699916e6000000001d0253da
share_textstringShare link
Example: http://xhslink.com/o/8GqargIxrko
comment_idRequiredstringParent comment ID
Example: 699fb9930000000008030db6
cursorstringPagination cursor, leave empty for first request, extract cursor from $.data.cursor for next page
indexintegerPagination index, pass 1 for first request, extract index from $.data.cursor for next page
Example: 1
Other ways to do it
Same job, other sources, cheapest first.
