All sites
Data API
Xiaohongshu Data API
Structured JSON data, on demand, with anti-bot bypass built in.
3 endpointsRate Limit · Captcha handled for you
Xiaohongshu Data API overview
Extract structured data from Xiaohongshu as structured JSON. Choose an endpoint below, check its parameters, and run it in the dashboard playground.
/v1/xiaohongshu/… Open playgroundKey Features
Structured JSON
Clean, normalized records for structured data. No HTML parsing on your side.
3 endpoints
Across 3 categories, all under one base path.
Anti-bot handled
Rate Limit, Captcha cleared for you behind the scenes.
Live data on every run
Every request scrapes the source live, so results are always current.
Regions & Languages
Global coverage. Results are returned for the default locale.
Pagination
These endpoints return a single result set (no pagination needed).
Quick Start
Use your dedicated Data API key. Follow this endpoint's method and parameters.
# Install: pip install requests
import json
import os
import requests
params = json.loads("{\"xsec_token\":\"ABT7mT4nzZLUZqgvl3xGAr8Vh3GrLHfn3cBp_vKNNmK00=\"}")
response = requests.request(
"GET", "https://api.capzy.ai/v1/xiaohongshu/notes/68c41032000000001b032039",
headers={"X-API-Key": os.environ["CAPZY_DATA_API_KEY"]},
params=params,
timeout=120,
)
response.raise_for_status()
print(response.json())Per-run pricing
failed requests are free| Endpoint | Category | Price / 1k results |
|---|---|---|
/v1/data/xiaohongshu/notes/{note_id}Note | Notes | 1 credit / run |
/v1/data/xiaohongshu/users/{user_id}User Profile | Users | 1 credit / run |
/v1/data/xiaohongshu/trendingTrending (Explore Feed) | Trending | 1 credit / run |