# Xiaohongshu (RED) Blogger Core Data API

> Returns Pugongying core performance metrics and daily trend data for a specified Xiaohongshu blogger, filterable by date range, note type, and traffic source.

Source: https://www.sandbase.ai/apis/xiaohongshu/pgy/blogger-core-data
API reference: https://www.sandbase.ai/apis/xiaohongshu/pgy/blogger-core-data/docs

## Facts

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

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `user_id` | string | yes |  |
| `advertise_switch` | integer | no | 0, 1 |
| `date_type` | integer | no |  |
| `note_type` | integer | no | 1, 2, 3 |

## FAQ

### How do I use the Xiaohongshu (RED) Blogger Core Data API?

Send a POST request to https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-core-data 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) Blogger Core Data 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 (RED) Blogger Core Data API accept?

Required: user_id (string). Optional: advertise_switch (one of 0, 1), date_type (integer) and note_type (one of 1, 2, 3). The Parameters table and the Playground on this page list every field.

### What does the Xiaohongshu (RED) Blogger Core Data 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) Blogger Core Data 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) Blogger Core Data API

Retrieve daily performance metrics and summary statistics for a creator using `user_id`. You can refine the returned dataset with `date_type`, `note_type`, and `advertise_switch`.

#### Use cases

- Track daily performance trends for specific Xiaohongshu creators.
- Compare organic versus paid traffic metrics across blogger content.
- Filter creator engagement metrics across image and video formats.

#### Request

```bash
curl -X POST "https://api.sandbase.ai/v1/api/xiaohongshu/pgy/blogger-core-data" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"user_id": "60b137080000000001000301"}'
```

#### Parameters

| Name | Type | Required | Description |
|---|---|---|---|
| `user_id` | string | Yes | Blogger user ID |
| `date_type` | integer | No | Date range (~1=7d, 2=30d, 3=90d) |
| `note_type` | integer | No | Note type, 1=image, 2=video, 3=all (default) |
| `advertise_switch` | integer | No | Traffic type, 1=all (incl. ads), 0=organic only |

#### Example response

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

```json
{
  "data": {
    "dailyData": [
      {
        "dateKey": "2026-09-06",
        "thirdUserNum": 0
      }
    ]
  }
}
```

#### Notes

- Set `date_type` to 1 for 7 days, 2 for 30 days, or 3 for 90 days.
- Configure `note_type` as 1 for images, 2 for video, or 3 for all notes.
- Use `advertise_switch` to toggle between organic traffic only (0) and all traffic including ads (1).

#### Related APIs

- [Xiaohongshu (RED) PGY Blogger Data Summary](/model/xiaohongshu/pgy/blogger-data-summary): Returns an account-level data summary for a Xiaohongshu blogger on the Pugongying (PGY) platform based on the specified blogger user ID.
- [Xiaohongshu (RED) PGY Blogger Details](/model/xiaohongshu/pgy/blogger-detail): Retrieves detailed profile information for a specific Xiaohongshu blogger on the PGY platform using their user ID.
- [Xiaohongshu (RED) PGY Blogger Fan History](/model/xiaohongshu/pgy/blogger-fans-history): Returns historical follower growth counts for a Xiaohongshu Pugongying blogger over time based on user ID and a selected date range.
