# Xiaohongshu PGY keyword overview API

> PGY keyword overview on Xiaohongshu. Returns the platform data as structured JSON.

Source: https://www.sandbase.ai/apis/xiaohongshu/pgy/keyword-stat
API reference: https://www.sandbase.ai/apis/xiaohongshu/pgy/keyword-stat/docs

## Facts

- Provider: Xiaohongshu
- Type: Data API
- Endpoint: `POST https://api.sandbase.ai/v1/api/xiaohongshu/pgy/keyword-stat`
- Price: $0.02 per call
- 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/pgy/keyword-stat` with `Authorization: Bearer $SANDBASE_API_KEY` and the parameters as a JSON body.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `search_word` | string | yes |  |

## FAQ

### How do I use the Xiaohongshu PGY keyword overview API?

Send a POST request to https://api.sandbase.ai/v1/api/xiaohongshu/pgy/keyword-stat 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 PGY keyword overview API cost?

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

### What parameters does the Xiaohongshu PGY keyword overview API accept?

Required: search_word (string). The Parameters table and the Playground on this page list every field.

### What does the Xiaohongshu PGY keyword overview API return?

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

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

No. Xiaohongshu PGY keyword overview 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 PGY keyword overview API

PGY keyword overview on Xiaohongshu. Returns the platform data as structured JSON.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy/keyword-stat" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"search_word": "面膜"}'
```

The result is returned in `outputs[0].data`.

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `search_word` | string | Yes | Keyword |

#### Pricing

Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
