# Xiaohongshu Note Comments API

> Get comments for a Xiaohongshu (RedNote) note with cursor pagination and normal, latest, or like-count sorting. Use it to support feedback review, discussion analysis, and comment moderation workflows.

Source: https://www.sandbase.ai/model/xiaohongshu/note-comment
API reference: https://www.sandbase.ai/model/xiaohongshu/note-comment/docs

## Facts

- Provider: Xiaohongshu
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/xiaohongshu/note-comment`
- Price: $0.03 per call
- Capabilities: api, xiaohongshu, social media
- Billing: pay per use from one SandBase balance; no provider account or subscription needed

## Call it

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

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `noteId` | string | yes |  |
| `lastCursor` | string | no |  |
| `sort` | string | no | normal, latest, like_count |

## FAQ

### How do I use the Xiaohongshu Note Comments API?

Send a POST request to https://api.sandbase.ai/v1/api/xiaohongshu/note-comment 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 Note Comments API cost?

$0.03 per call, billed from your SandBase balance. You are only charged for calls you make; there is no subscription.

### What parameters does the Xiaohongshu Note Comments API accept?

Required: noteId (string). Optional: lastCursor (string) and sort (one of normal, latest, like_count). The Parameters table and the Playground on this page list every field.

### What does the Xiaohongshu Note Comments API return?

A JSON response returned in the same HTTP request (synchronous).

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

No. Xiaohongshu 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 Note Comments API

Get comments for a Xiaohongshu (RedNote) note with cursor pagination and normal, latest, or like-count sorting. Use it to support feedback review, discussion analysis, and comment moderation workflows.

The response is the platform's original data structure.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/run" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model": "xiaohongshu/note-comment", "noteId": "6ae00b99000000001200a9f9"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `noteId` | string | Yes | A Xiaohongshu note ID or an explore URL containing /explore/. |
| `lastCursor` | string | No | Pagination cursor from the previous page (use the cursor value returned by the last response). |
| `sort` | string | No | Sort strategy for the result set. |

#### Pricing

Flat price per call. Failed calls and empty results are not charged.
