# Xiaohongshu (RED) User Search API

> Returns Xiaohongshu user profiles matching a specified query term. Includes user identifiers, verification details, and follower count metrics.

Source: https://www.sandbase.ai/model/xiaohongshu/app-v2/search-users
API reference: https://www.sandbase.ai/model/xiaohongshu/app-v2/search-users/docs

## Facts

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

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `keyword` | string | yes |  |
| `page` | integer | no |  |
| `search_id` | string | no |  |
| `source` | string | no |  |

## FAQ

### How do I use the Xiaohongshu (RED) User Search API?

Send a POST request to https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/search-users 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) User Search 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) User Search API accept?

Required: keyword (string). Optional: page (integer), search_id (string) and source (string). The Parameters table and the Playground on this page list every field.

### What does the Xiaohongshu (RED) User Search 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) User Search 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) User Search API

Search for Xiaohongshu accounts by providing a search term in `keyword`. Supports pagination via `page` and `search_id`.

#### Use cases

- Find relevant creators on Xiaohongshu by niche or brand name.
- Retrieve profile identifiers and official verification status for influencer research.
- Track creator fan scale metrics through search results.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/app-v2/search-users" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "小红书"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `keyword` | string | Yes | Search keyword |
| `page` | integer | No | Page number, start from 1 |
| `source` | string | No | Source, default "explore_feed" |
| `search_id` | string | No | Search ID, pass value from first search response for pagination |

#### Example response

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

```json
{
  "data": {
    "users": [
      {
        "desc": "官方账号",
        "id": "59f985684eacab1ce3cc5409",
        "link": "xhsdiscover://1/user/user.59f985684eacab1ce3cc5409",
        "name": "小红书REDesign",
        "red_id": "63044481856",
        "red_official_verified": true,
        "red_official_verify_type": 0,
        "sub_title": "Fans 576.1k"
      }
    ]
  }
}
```

#### Notes

- `page` starts from 1 for paginating through search results.
- Pass `search_id` returned from the initial search response when requesting subsequent pages.
- `source` defaults to "explore_feed" if not specified.

#### Related APIs

- [Xiaohongshu (RED) Creator Hot Inspiration Feed](/model/xiaohongshu/app-v2/creator-hot-inspiration-feed): Retrieves creator center hot inspiration feed items with topic titles, popularity scores, and deeplinks.
- [Xiaohongshu (RED) Inspiration Feed](/model/xiaohongshu/app-v2/creator-inspiration-feed): Returns recommended inspiration feed items and trending topics from Xiaohongshu (RED).
- [Xiaohongshu (RED) Image Note Details](/model/xiaohongshu/app-v2/image-note-detail): Returns detailed information for a Xiaohongshu image note.
