Search RedNote (Xiaohongshu) notes by keyword, sorted by relevance, popularity or time, cursor paged.
13 credits/ call
Never more than 126 credits a call.
You only pay when data comes back.
curl -X POST "https://api.primaryapi.com/v1/run/rednote.search" \
-H "Authorization: Bearer $PRIMARYAPI_API_KEY" \
-H "Content-Type: application/json" \
-d '{"query":"露营"}'{
"output": {
"found": true,
"data": {
"nextCursor": "<string | null>",
"notes": [
{
"title": "<string | null>",
"likeCount": "<integer | null>",
"collectCount": "<integer | null>",
"commentCount": "<integer | null>", …
}
]
}
},
"credits": 13
}Input and output
4 fields
露营.16 fields
cursor for the next page; null at the endGood to know
One page per call. Send nextCursor back as cursor to read the next page.
Terms of use. Scraped from RedNote (Xiaohongshu), whose terms forbid scraping; payloads contain personal data of PRC users (PIPL) and can change without notice. Public, logged-out data only; use for lawful purposes and honour deletion requests.
More from RedNote. Same key, same credits.
The same key and credits work for every API.