raw.xiaohongshu.commentsXiaohongshu note comments
https://api.qovia.ai/v1/raw/xiaohongshu/commentsFirst-level comments of a note, cursor-paginated: text, likes, reply count, time, IP location, images and the commenter. sort=default (the default) follows Xiaohongshu's own order (pinned and popular first), about 5 a page, with the commenter's user ID; sort=latest is newest first, 10-15 a page, without like counts and with the commenter's Xiaohongshu ID (red_id) only. Pass the previous page's cursor back unchanged to continue; stop when has_more is false. Replies come from raw.xiaohongshu.comment_replies. A note without comments, or one that does not exist, answers empty and is not charged.
- Price
- $0.005 / call$5 per 1k · fixed price
- Billing
- Charged only for successful, non-empty resultsfree quota first
- Scope
raw:xiaohongshuThe API key needs this scope- Rate cap
- Account limit onlyYour per-minute limit
Parameters
Only these parameters are accepted; any other one returns 400.
note_idNote ID (24 hex characters)
Pattern^[0-9a-f]{24}$Example
6a14846d000000000702d0d4sortOrder: default is Xiaohongshu's own (pinned and popular first), latest is newest first
DefaultdefaultOne ofdefault · latestcursorThe cursor returned by the previous page, passed back unchanged; omit it for the first page
DefaultPattern^([0-9a-f]{24})?$
Response
A success is HTTP 200 with the shared envelope: request_id, data (this endpoint's data, see the example) and meta (the charge). An empty result is also 200, with meta.empty true, not charged, and data may be an empty structure or null.
Errors
| code | HTTP | Billing | Description |
|---|---|---|---|
scope_denied | 403 | Not charged | This API key lacks the scope the endpoint requires. |
endpoint_unavailable | 503 | Not charged | The endpoint is not available right now (no data source connected yet, or no price configured); nothing ran. |
invalid_params | 400 | Not charged | The parameters failed validation: a required one is missing, a type or format is wrong, an unknown one was sent, or the POST body is not a JSON object. An error in one parameter starts with its name (item_id: …); a missing or unknown parameter starts with params: …. |
rate_limitedRetryable | 429 | Not charged | Over the account's per-minute limit (sliding 60-second window); wait for Retry-After. |
too_many_unbilledRetryable | 429 | Not charged | In the last 10 minutes at least 50 of your calls to data sources, and over 80% of them, came back empty, not found or rejected; slow down. |
insufficient_balance | 402 | Not charged | The balance cannot pay for this call (the free quota is used up, or the endpoint does not use it). |
upstream_busyRetryable | 503 | Refunded | The data source is busy or cooling down; refunded. Retry after Retry-After. |
upstream_timeout | 504 | Refunded | The data source timed out; refunded. |
upstream_error | 502 / 503 | Refunded | The data source failed; refunded. |
upstream_rejected | 400 | Refunded | The data source rejected these parameters (well-formed, but not accepted); refunded. |
not_found | 404 | Refunded | The data source has no such item (deleted, or the ID does not exist); refunded. |
reservation_expired | 504 | Refunded | The call took too long and was refunded automatically; no data is returned. |
Any request can also fail authentication: 401 invalid_api_key, 403 account_disabled, 429 too_many_auth_failures.
Needs an account; playground calls are billed like API calls and use the free quota first too.