# Xiaohongshu (RED) Note Comments API

> Get the comments on a Xiaohongshu note: comment text, time, likes, reply counts and location, with sorting and cursor pagination.

Source: https://www.sandbase.ai/apis/xiaohongshu/app-v2/note-comments
API reference: https://www.sandbase.ai/apis/xiaohongshu/app-v2/note-comments/docs

## Facts

- Provider: Xiaohongshu
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/note-comments`
- Price: $0.01 per call
- Free allowance: 100 calls per organization per UTC day, shared across eligible APIs
- Capabilities: api, xiaohongshu
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

`POST https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/note-comments` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `cursor` | string | no |  |
| `index` | integer | no |  |
| `note_id` | string | no |  |
| `pageArea` | string | no |  |
| `share_text` | string | no |  |
| `sort_strategy` | string | no |  |

## FAQ

### How do I use the Xiaohongshu (RED) Note Comments API?

Send a POST request to https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/note-comments with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.

### How much does the Xiaohongshu (RED) Note Comments API cost?

$0.01 per call. Every organization gets 100 free calls per UTC day, shared across eligible SandBase APIs including this one; after that each call is billed at this price from your SandBase balance. There is no subscription.

### What parameters does the Xiaohongshu (RED) Note Comments API accept?

No parameters are required. Optional: cursor (string), index (integer), note_id (string), pageArea (string), share_text (string) and sort_strategy (string). The Parameters table and the Playground on this page list every field.

### What does the Xiaohongshu (RED) Note Comments API return?

A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.

### Do I need a Xiaohongshu developer account or API key?

No. Xiaohongshu (RED) Note Comments runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for Xiaohongshu API access separately.

## README

### Xiaohongshu (RED) Note Comments API

Pass a Xiaohongshu note ID (or a share link) and get its comments.

#### Use cases

- Analyze consumer feedback on products.
- Find questions and pain points in comments.
- Monitor comments on brand notes.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/note-comments" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"note_id": "697c0eee000000000a03c308"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `index` | integer | No | Comment index, pass 0 for first request, pass index value from previous response for next page |
| `cursor` | string | No | Pagination cursor, leave empty for first request, pass cursor value from previous response for next page |
| `note_id` | string | No | Note ID, e.g. "697c0eee000000000a03c308" |
| `pageArea` | string | No | Fold status, default "UNFOLDED" (unfolded), pass pageArea value from previous response for next page |
| `share_text` | string | No | Xiaohongshu sharing link (support APP and Web sharing link) |
| `sort_strategy` | string | No | Sort strategy |

#### Example response

Real response for the request above, trimmed to the main fields. User names and long IDs are masked.

```json
{
  "data": {
    "cursor": "<cursor>",
    "has_more": true,
    "comments": [
      {
        "id": "69cb9fa90000000015001832",
        "note_id": "697c0eee000000000a03c308",
        "time": 1774952362,
        "like_count": 0,
        "sub_comment_count": 0,
        "content": "想起来一部纪录片，忘了名字🧐",
        "user": {
          "nickname": "<user>"
        }
      }
    ]
  }
}
```

#### Notes

- Paginate with `cursor`, `index` and `pageArea` from the previous response.

#### Related APIs

- [Xiaohongshu (RED) Note Search](/model/xiaohongshu/app-v2/search-notes): Search Xiaohongshu (RED / Little Red Book) notes by keyword and get titles, authors, cover images and like, collect, comment and share counts, with sort, note-…
- [Get creator hot inspiration feed](/model/xiaohongshu/app-v2/creator-hot-inspiration-feed): Get creator center hot inspiration feed, using cursor pagination.
- [Get creator inspiration feed](/model/xiaohongshu/app-v2/creator-inspiration-feed): Get creator center recommended inspiration feed, using cursor pagination.
