# Xiaohongshu Pugongying Cost Effectiveness Analysis API

> Get the Xiaohongshu Pugongying cost-effectiveness analysis for a known creator. Use it to assess cooperation efficiency when comparing creators for a campaign.

Source: https://www.sandbase.ai/model/xiaohongshu/pgy-v2/data-v2-cost-effective
API reference: https://www.sandbase.ai/model/xiaohongshu/pgy-v2/data-v2-cost-effective/docs

## Facts

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

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

## FAQ

### How do I use the Xiaohongshu Pugongying Cost Effectiveness Analysis API?

Send a POST request to https://api.sandbase.ai/v1/api/xiaohongshu/pgy-v2/data-v2-cost-effective 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 Pugongying Cost Effectiveness Analysis 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 Pugongying Cost Effectiveness Analysis API accept?

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

### What does the Xiaohongshu Pugongying Cost Effectiveness Analysis API return?

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

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

No. Xiaohongshu Pugongying Cost Effectiveness Analysis 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 Pugongying Cost Effectiveness Analysis API

Get the Xiaohongshu Pugongying cost-effectiveness analysis for a known creator. Use it to assess cooperation efficiency when comparing creators for a campaign.

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/pgy-v2/data-v2-cost-effective", "userId": "5a73c5fa4eacab4c4ccc9778"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `userId` | string | Yes | KOL's user ID. |

#### Pricing

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