Search Xiaohongshu notes by keyword and filters
tikhub.x.xiaohongshu-app-v2-search-notesXiaohongshu: search notes (app_v2)
- Price
- $0.01/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/tikhub.x.xiaohongshu-app-v2-search-notes?page=1&source=explore_feed&ai_mode=0&keyword=%E7%BE%8E%E9%A3%9F%E6%8E%A8%E8%8D%90¬e_type=%E4%B8%8D%E9%99%90&sort_type=general&time_filter=%E4%B8%8D%E9%99%90PreviewTry onlineEm breveProvider docs ↗
- 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, start from 1 | 1 |
source | string | Opcional | Source | explore_feed |
ai_mode | inteiro | Opcional | AI mode: 0=off, 1=on | 0 |
keyword | string | Obrigatório | Search keyword | 美食推荐 |
note_type | string | Opcional | 笔记类型/Note type: 不限, 视频笔记, 普通笔记, 直播笔记 | 不限 |
search_id | string | Opcional | Search ID for pagination | |
sort_type | string | Opcional | Sort type | general |
time_filter | string | Opcional | 发布时间筛选/Time filter: 不限, 一天内, 一周内, 半年内 | 不限 |
search_session_id | string | Opcional | Search session ID for pagination | |
- Parâmetros de consulta
pageinteiroOpcionalPage number, start from 1
Exemplo:
1sourcestringOpcionalSource
Exemplo:
explore_feedai_modeinteiroOpcionalAI mode: 0=off, 1=on
Exemplo:
0keywordstringObrigatórioSearch keyword
Exemplo:
美食推荐note_typestringOpcional笔记类型/Note type: 不限, 视频笔记, 普通笔记, 直播笔记
Exemplo:
不限search_idstringOpcionalSearch ID for pagination
sort_typestringOpcionalSort type
Exemplo:
generaltime_filterstringOpcional发布时间筛选/Time filter: 不限, 一天内, 一周内, 半年内
Exemplo:
不限search_session_idstringOpcionalSearch session ID for pagination
Exemplos de código
Substitua $TOOLSWITCH_KEY pela chave criada no console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.x.xiaohongshu-app-v2-search-notes?page=1&source=explore_feed&ai_mode=0&keyword=%E7%BE%8E%E9%A3%9F%E6%8E%A8%E8%8D%90¬e_type=%E4%B8%8D%E9%99%90&sort_type=general&time_filter=%E4%B8%8D%E9%99%90' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.x.xiaohongshu-app-v2-search-notes?page=1&source=explore_feed&ai_mode=0&keyword=%E7%BE%8E%E9%A3%9F%E6%8E%A8%E8%8D%90¬e_type=%E4%B8%8D%E9%99%90&sort_type=general&time_filter=%E4%B8%8D%E9%99%90",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/tikhub.x.xiaohongshu-app-v2-search-notes?page=1&source=explore_feed&ai_mode=0&keyword=%E7%BE%8E%E9%A3%9F%E6%8E%A8%E8%8D%90¬e_type=%E4%B8%8D%E9%99%90&sort_type=general&time_filter=%E4%B8%8D%E9%99%90", {
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.01/success, incluindo a taxa de serviço.