Xiaohongshu (RedNote) · Comments

Comments with all replies

Send note links or IDs; get comments together with their replies, including the full thread for long ones, with author and likes.

POST/v1/xiaohongshu/replies

$0.00275per record

1,000 records
≈ $2.75
minimum per page of 9 records
$0.012583

Works with trial balanceOne request, no cursor

Try it in the console

Send it

POST with a JSON body, or GET with the same parameters in the query string. Your key goes in the Authorization header.

curl -X POST "https://api.silklinedata.com/v1/xiaohongshu/replies" \
  -H "Authorization: Bearer $SILKLINE_KEY" \
  -H "Content-Type: application/json" \
  -d '{"limit":5,"notes":["6aa72fd3000000002802c3f4"]}'

What comes back

There is no stored real answer for this endpoint yet, so none is shown. Records come back as JSON objects in data.

Parameters 2

NameTypeRequiredDescriptionExample
limitintegernoHow many records to return, 1 to 100. A request never returns more than this.5
notesarrayyesNote links or 24-character note IDs, e.g. https://www.xiaohongshu.com/explore/6aa72fd3000000002802c3f4. xhslink.com share links also work.["6aa72fd3000000002802c3f4"]

Paging

This endpoint answers in one request: raise limit (up to 100) for more records. cursor is always null.

What a request costs

You pay per record; when a request returns few records or none, it is charged at most the endpoint minimum for each page it reads, possibly less, and errors or timeouts on our side are not charged.

Here a page holds up to 9 records and its minimum is $0.012583; a request for 100 records reads 12 pages.

  • 1 record: up to $0.012583
  • 20 records: up to $0.055
  • 100 records: up to $0.275

The response's meta says what was charged (charged_usd) and what is left (balance_usd). Errors on our side are not charged.

Questions

What parameters does Comments with all replies take?

Required: notes. Every request also takes limit (1 to 100).

How many records does one request return?

Up to 100 (limit 1 to 100). A page holds up to 9 records, so 100 records take 12 pages in one request.

Can I page through more results?

No. This endpoint answers in full in one request; the answer's cursor is null.

How much does it cost?

Per record: item $0.00275. The minimum is $0.012583 per page: with few records or none, a request pays at most that for each page it reads, possibly less. 100 records cost at most $0.275.

What does a request cost when it fails or comes back empty?

You pay per record; when a request returns few records or none, it is charged at most the endpoint minimum for each page it reads, possibly less, and errors or timeouts on our side are not charged. Each answer's meta says what the request was charged and the balance left.