Search Xiaohongshu notes by keyword
justoneapi.x.xiaohongshu-search-note-v2Searches Xiaohongshu (RedNote) notes by keyword with pagination plus sort, note-type, and publish-time filters.
- Price
- $0.02214/successプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- 2026/07/28Verified working
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.xiaohongshu-search-note-v2?page=1&sort=general&keyword=%E5%92%96%E5%95%A1¬eType=_0Preview- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
page | 整数 | 任意 | Page number for pagination. | 1 |
sort | 文字列 | 任意 | Sort order for the result set. Available Values: - `general`: General - `popularity_descending`: Popularity Descending - `time_descending`: Time Descending - `comment_descending`: Comment Descending - `collect_descending`: Collect Descending One of: general, popularity_descending, time_descending, comment_descending, collect_descending. | general |
keyword | 文字列 | 必須 | Search keyword. | 咖啡 |
noteTime | 文字列 | 任意 | Note publish time filter. Results may include notes published outside the selected time range. Available Values: - `ONE_DAY`: Within one day - `ONE_WEEK`: Within a week - `HALF_YEAR`: Within half a year One of: ONE_DAY, ONE_WEEK, HALF_YEAR. | |
noteType | 文字列 | 任意 | Note type filter. Available Values: - `_0`: General - `_1`: Video - `_2`: Normal One of: _0, _1, _2. | _0 |
- クエリパラメータ
page整数任意Page number for pagination.
例:
1sort文字列任意Sort order for the result set. Available Values: - `general`: General - `popularity_descending`: Popularity Descending - `time_descending`: Time Descending - `comment_descending`: Comment Descending - `collect_descending`: Collect Descending One of: general, popularity_descending, time_descending, comment_descending, collect_descending.
例:
generalkeyword文字列必須Search keyword.
例:
咖啡noteTime文字列任意Note publish time filter. Results may include notes published outside the selected time range. Available Values: - `ONE_DAY`: Within one day - `ONE_WEEK`: Within a week - `HALF_YEAR`: Within half a year One of: ONE_DAY, ONE_WEEK, HALF_YEAR.
noteType文字列任意Note type filter. Available Values: - `_0`: General - `_1`: Video - `_2`: Normal One of: _0, _1, _2.
例:
_0
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
curl -X GET 'https://toolswitch.dev/v1/tools/justoneapi.x.xiaohongshu-search-note-v2?page=1&sort=general&keyword=%E5%92%96%E5%95%A1¬eType=_0' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/justoneapi.x.xiaohongshu-search-note-v2?page=1&sort=general&keyword=%E5%92%96%E5%95%A1¬eType=_0",
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.x.xiaohongshu-search-note-v2?page=1&sort=general&keyword=%E5%92%96%E5%95%A1¬eType=_0", {
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());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.02214/success です。サービス料を含みます。