Xiaohongshu topic notes by topic page id
tikhub.x.xiaohongshu-app-v2-get-topic-feedXiaohongshu: get topic feed (app_v2)
- Price
- $0.01/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/tikhub.x.xiaohongshu-app-v2-get-topic-feed?sort=trend&source=normal&page_id=5c1cc866febed9000184b7c1PreviewTry onlineBientôtProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
sort | chaîne | Facultatif | 排序方式/Sort: trend(最热), time(最新) | trend |
source | chaîne | Facultatif | Source | normal |
page_id | chaîne | Obligatoire | Topic page ID | 5c1cc866febed9000184b7c1 |
session_id | chaîne | Facultatif | Session ID, keep consistent for pagination | |
cursor_score | chaîne | Facultatif | Pagination cursor score for next page | |
last_note_ct | chaîne | Facultatif | Last note create time from previous page | |
last_note_id | chaîne | Facultatif | Last note ID from previous page | |
first_load_time | chaîne | Facultatif | First load timestamp, keep consistent for pagination | |
- Paramètres de requête
sortchaîneFacultatif排序方式/Sort: trend(最热), time(最新)
Exemple :
trendsourcechaîneFacultatifSource
Exemple :
normalpage_idchaîneObligatoireTopic page ID
Exemple :
5c1cc866febed9000184b7c1session_idchaîneFacultatifSession ID, keep consistent for pagination
cursor_scorechaîneFacultatifPagination cursor score for next page
last_note_ctchaîneFacultatifLast note create time from previous page
last_note_idchaîneFacultatifLast note ID from previous page
first_load_timechaîneFacultatifFirst load timestamp, keep consistent for pagination
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/tikhub.x.xiaohongshu-app-v2-get-topic-feed?sort=trend&source=normal&page_id=5c1cc866febed9000184b7c1' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/tikhub.x.xiaohongshu-app-v2-get-topic-feed?sort=trend&source=normal&page_id=5c1cc866febed9000184b7c1",
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-get-topic-feed?sort=trend&source=normal&page_id=5c1cc866febed9000184b7c1", {
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.01/success, frais de service inclus.