Xiaohongshu search API
You want to know what people are actually posting about a product, a place or a trend — not what a web page says about it. This API searches Xiaohongshu notes directly and returns them as structured data you can rank, filter and feed into your own product.
What you get
- Notes matching your query, with title, text and author on each one.
- Engagement counts — likes, comments and collects — so you can sort by what people actually responded to.
- The same request shape and response envelope as every other SerpHubAPI service: only engine and type change.
Example request
curl https://api.serphubapi.com/v1/search \
-H "X-API-Key: shapi_..." \
-H "Content-Type: application/json" \
-d '{"engine": "xiaohongshu", "type": "notes", "q": "露营装备", "num": 10}'Response points: meta.service is xiaohongshu/notes, meta.credits_charged is what the call cost, and results arrive under results.notes.
Price
cache_first: half price. Cache hits, failed calls and empty results: free. Paid balance never expires. Full rates are on the pricing page.
Questions
Notes matching your query, each with its title, text, author and engagement counts (likes, comments, collects). Results arrive under the notes key, in the same envelope as every other SerpHubAPI service.
7 credits per successful live call — about $0.007 at the Starter rate. cache_first is half price; cache hits, failed calls and empty results are free.
Yes. time_range accepts day or week for this service; other values are not sent.
Sign up for 1,000 free credits, copy your key from the console, and call POST /v1/search with engine xiaohongshu and type notes.