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/successPelo preço do provedor
- Success rate
- —Ainda não há dados da taxa de sucessoAinda não há dados da taxa de sucesso
- Latency p50
- ——
- Last verified
- 28 de jul. de 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
Parâmetros
| Parâmetro | Tipo | Obrigatório | Descrição | Exemplo |
|---|---|---|---|---|
| Parâmetros de consulta | ||||
page | inteiro | Opcional | Page number for pagination. | 1 |
sort | string | Opcional | 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 | string | Obrigatório | Search keyword. | 咖啡 |
noteTime | string | Opcional | 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 | string | Opcional | Note type filter. Available Values: - `_0`: General - `_1`: Video - `_2`: Normal One of: _0, _1, _2. | _0 |
- Parâmetros de consulta
pageinteiroOpcionalPage number for pagination.
Exemplo:
1sortstringOpcionalSort 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.
Exemplo:
generalkeywordstringObrigatórioSearch keyword.
Exemplo:
咖啡noteTimestringOpcionalNote 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.
noteTypestringOpcionalNote type filter. Available Values: - `_0`: General - `_1`: Video - `_2`: Normal One of: _0, _1, _2.
Exemplo:
_0
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no 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());Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.02214/success, incluindo a taxa de serviço.