Platforms / Social media
Xiaohongshu data, through one API.
Explore 6 documented endpoints for Xiaohongshu. Choose an operation, inspect its inputs, and test the response before adding it to your application.
Xiaohongshu API
Public-data endpoint catalog
- Documented endpoints
- 6
- Credits per success
- From 5
STARTING ENDPOINT
GET /v1/xiaohongshu/search
One API key. Shared response metadata. Availability varies by operation during preview.
API catalog
Choose the data you need.
Open an endpoint for its request parameters, examples, and credit cost. Each operation has its own data contract.
Coverage is rolling out during preview. Test the endpoint you need before integrating. Unavailable operations return an explicit error and use no credits.
Xiaohongshu Search API
Search Xiaohongshu using the documented query and filters, and return structured results.
Xiaohongshu Trending API
Xiaohongshu trending.
Xiaohongshu Profile API
Retrieve the public profile details available for a Xiaohongshu account.
Xiaohongshu Profile Posts API
Xiaohongshu profile posts.
Xiaohongshu Post API
Retrieve a public Xiaohongshu post and its available content and metadata.
Xiaohongshu Post Comments API
Retrieve available comments for the specified Xiaohongshu content.
API playground
Inspect a response before you integrate.
Select an operation and enter its required parameters. Browser tests are protected by Turnstile; an unavailable source returns an error instead of sample data.
curl -X GET 'https://socialquery.dev/v1/xiaohongshu/search?query=%E6%8A%A4%E8%82%A4' \
-H "x-api-key: $SOCIALQUERY_API_KEY"// Edit the params above and hit "Try it" to run a live request against the APIFrom browser to code
Use the same request in your application.
- 01 Create a SocialQuery API key and store it on your server.
- 02 Send the documented inputs with your x-api-key header.
- 03 Check the response status, data, credits, and request ID.
Example request
curl -X GET 'https://socialquery.dev/v1/xiaohongshu/search?query=%E6%8A%A4%E8%82%A4' \
-H "x-api-key: $SOCIALQUERY_API_KEY"FAQ
Questions teams ask
Are all Xiaohongshu endpoints available?
+
This is the documented catalog. Live coverage is rolling out during preview and depends on the operation. Test the specific request you need before using it in production.
How are requests charged?
+
The endpoint lists its credit cost before you call it. The response includes credits used and your remaining balance. Unavailable operations use no credits.
Do I need a separate key for each platform?
+
No. Use your SocialQuery key for available endpoints across the catalog. Keep it server-side and pass it in the x-api-key header.
Explore related platforms
Next step
Build with Xiaohongshu data.
Start with a documented endpoint and 100 free signup credits.