Xiaohongshu note details by note id and xsec token
tikhub.x.xiaohongshu-web-v3-fetch-note-detailXiaohongshu: fetch note detail (web_v3)
- Price
- $0.01/successプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- 2026/07/28Verified working
GEThttps://toolswitch.dev/v1/tools/tikhub.x.xiaohongshu-web-v3-fetch-note-detail?note_id=6a2f423d000000001003cb36&xsec_token=%3Comitted%3A+expires%3EPreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
note_id | 文字列 | 必須 | Note ID | 6a2f423d000000001003cb36 |
xsec_token | 文字列 | 必須 | Security token, can be obtained from the sharing link of Xiaohongshu | ABtexB6bX5HgLD42SFrK1scGUmSO8YV5_isaLrDy9sLxQ= |
- クエリパラメータ
note_id文字列必須Note ID
例:
6a2f423d000000001003cb36xsec_token文字列必須Security token, can be obtained from the sharing link of Xiaohongshu
例:
ABtexB6bX5HgLD42SFrK1scGUmSO8YV5_isaLrDy9sLxQ=
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.x.xiaohongshu-web-v3-fetch-note-detail?note_id=6a2f423d000000001003cb36&xsec_token=%3Comitted%3A+expires%3E' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.x.xiaohongshu-web-v3-fetch-note-detail?note_id=6a2f423d000000001003cb36&xsec_token=%3Comitted%3A+expires%3E",
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-web-v3-fetch-note-detail?note_id=6a2f423d000000001003cb36&xsec_token=%3Comitted%3A+expires%3E", {
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.01/success です。サービス料を含みます。