Search Xiaohongshu notes by keyword
justoneapi.xiaohongshu.search.notesSearch Xiaohongshu (RedNote) notes by keyword, with sort, note-type and time filters
- Price
- $0.02952/successAt provider cost
- Success rate
- —No success-rate data yetNo success-rate data yet
- Latency p50
- ——
- Last verified
- Jul 28, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/justoneapi.xiaohongshu.search.notes?page=1&keyword=%E5%92%96%E5%95%A1PreviewTry onlineComing soonProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Parameters
| Parameter | Type | Required | Description | Example |
|---|---|---|---|---|
| Query parameters | ||||
page | integer | Optional | 1-based | 1 |
keyword | string | Required | 咖啡 | |
noteType | string | Optional | ALL (default) | VIDEO_NOTE | NORMAL_NOTE | |
searchId | string | Optional | data.api_info.search_id from the previous page — required for stable paging | |
sortType | string | Optional | general (default) | popularity_descending | time_descending | |
sessionId | string | Optional | data.api_info.session_id from the previous page | |
timeFilter | string | Optional | ALL (default) | ONE_DAY | ONE_WEEK | HALF_YEAR | |
- Query parameters
pageintegerOptional1-based
Example:
1keywordstringRequiredExample:
咖啡noteTypestringOptionalALL (default) | VIDEO_NOTE | NORMAL_NOTE
searchIdstringOptionaldata.api_info.search_id from the previous page — required for stable paging
sortTypestringOptionalgeneral (default) | popularity_descending | time_descending
sessionIdstringOptionaldata.api_info.session_id from the previous page
timeFilterstringOptionalALL (default) | ONE_DAY | ONE_WEEK | HALF_YEAR
Code samples
Replace $TOOLSWITCH_KEY with the key you created in the console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/justoneapi.xiaohongshu.search.notes?page=1&keyword=%E5%92%96%E5%95%A1' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/justoneapi.xiaohongshu.search.notes?page=1&keyword=%E5%92%96%E5%95%A1",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/justoneapi.xiaohongshu.search.notes?page=1&keyword=%E5%92%96%E5%95%A1", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.02952/success, including the service fee.