RedNote (Xiaohongshu) Topic & Trend Tracking API
On RedNote (Xiaohongshu), riding the right trending topic often doubles your reach. The note feed under a topic is your first-hand signal for gauging momentum and finding content ideas. The Rnote API topic endpoints let you fetch a topic's note feed (sorted by hottest or newest), turning "chase trends by gut" into "chase trends by data."
What topic data helps with
- Trend monitoring — Track note volume and heat under a topic to tell whether a trend is rising or fading.
- Content ideas — Study the titles and formats of the hottest notes in a topic to quickly produce your own.
- Campaign review — Monitor topics tied to a brand campaign to measure reach.
- Content calendar — Combine with time sorting to catch a topic's rhythm and window.
The endpoints
| Endpoint | Purpose |
|---|---|
GET /api/v2/crawler/topic/feed |
Note feed under a topic (sort by hottest/newest, paginated) |
POST /api/v2/crawler/topic/info |
Topic details (name, views, discussion count, etc.) |
Python example
import requests
API_BASE = "https://rnote.dev/api/v2/crawler"
HEADERS = {"X-API-Key": "YOUR_API_KEY"}
resp = requests.get(
f"{API_BASE}/topic/feed",
params={
"page_id": "5c1cc866febed9000184b7c1",
"sort": "trend", # trend (hottest) / time (newest)
"page_size": 10,
},
headers=HEADERS,
)
feed = resp.json()
# Paginate: take cursor_score / id / create_time from items[-1] for the next request
With the notes in hand, grab media via the watermark-free image/video endpoint, or go deeper with the comments endpoint.
Pagination tips
topic/feed uses cursor pagination: pass cursor_score, id, and create_time from the previous page's items[-1] into the next request's cursor_score / last_note_id / last_note_ct. Only successful requests are billed.
Get started
Sign up free for an API key, combine keyword search with the topic endpoints, and build your trend radar. See the docs and pricing.