# Xiaohongshu (RED) Homepage Feed API

> Retrieves recommended notes from the Xiaohongshu homepage feed. Supports filtering by category channel, restricting results to image notes, and paginating via cursor score.

Source: https://www.sandbase.ai/apis/xiaohongshu/web-v3/homefeed
API reference: https://www.sandbase.ai/apis/xiaohongshu/web-v3/homefeed/docs

## Facts

- Provider: Xiaohongshu
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/xiaohongshu/web-v3/homefeed`
- 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/web-v3/homefeed` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `category` | string | no |  |
| `cursor_score` | string | no |  |
| `need_filter_image` | boolean | no |  |
| `num` | integer | no |  |

## FAQ

### How do I use the Xiaohongshu (RED) Homepage Feed API?

Send a POST request to https://api.sandbase.ai/v1/api/xiaohongshu/web-v3/homefeed 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) Homepage Feed 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) Homepage Feed API accept?

No parameters are required. Optional: category (string), cursor_score (string), need_filter_image (boolean) and num (integer). The Parameters table and the Playground on this page list every field.

### What does the Xiaohongshu (RED) Homepage Feed API return?

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

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

No. Xiaohongshu (RED) Homepage Feed 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) Homepage Feed API

Access recommended homepage feed notes using optional parameters such as `category`, `num`, `cursor_score`, and `need_filter_image`.

#### Use cases

- Retrieve recommended note feeds for discovery analysis.
- Filter homepage recommendations to image-only note posts.
- Monitor trending content across specific category channels.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/web-v3/homefeed" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `num` | integer | No | Number of results, max 40 |
| `category` | string | No | Category channel ID |
| `cursor_score` | string | No | Pagination cursor |
| `need_filter_image` | boolean | No | Image notes only |

#### Notes

- `num` specifies the count of returned results up to a maximum of 40.
- Use `cursor_score` to paginate through subsequent pages of the feed.

#### Related APIs

- [Xiaohongshu (RED) Homepage Categories](/model/xiaohongshu/web-v3/homefeed-categories): Returns a list of available homefeed category channels on Xiaohongshu (RED).
- [Xiaohongshu (RED) Web Note Details](/model/xiaohongshu/web-v3/note-detail): Returns detailed information for a specific Xiaohongshu note using its identifier and security token obtained from a web share link.
- [Xiaohongshu (RED) Search Suggestions](/model/xiaohongshu/web-v3/search-suggest): Returns search query suggestions and autocomplete terms from Xiaohongshu (RED).
