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/successAu prix du fournisseur
- Success rate
- —Aucune donnée de taux de réussite pour le momentAucune donnée de taux de réussite pour le moment
- Latency p50
- ——
- Last verified
- 28 juil. 2026Verified 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
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
page | entier | Facultatif | Page number for pagination. | 1 |
sort | chaîne | Facultatif | 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 | chaîne | Obligatoire | Search keyword. | 咖啡 |
noteTime | chaîne | Facultatif | 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 | chaîne | Facultatif | Note type filter. Available Values: - `_0`: General - `_1`: Video - `_2`: Normal One of: _0, _1, _2. | _0 |
- Paramètres de requête
pageentierFacultatifPage number for pagination.
Exemple :
1sortchaîneFacultatifSort 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.
Exemple :
generalkeywordchaîneObligatoireSearch keyword.
Exemple :
咖啡noteTimechaîneFacultatifNote 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.
noteTypechaîneFacultatifNote type filter. Available Values: - `_0`: General - `_1`: Video - `_2`: Normal One of: _0, _1, _2.
Exemple :
_0
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
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());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.02214/success, frais de service inclus.