Creators

Xiaohongshu (RedNote) PGY creator core figures history API

Get a Xiaohongshu creator's core figures for each of the last 30 or 90 days, by PGY creator ID: CPM, CPE (cost per interaction), CPV (cost per read), cost per shop visitor, and the median impressions, reads, interactions and shop visitors of a note, with the same figures for the whole period. Of everyday or of sponsored notes: shows whether a creator is getting better or worse value. One object a call; $0.0400 per call. Errors and timeouts are not charged.

GEThttps://api.dataxapi.com/v1/xiaohongshu/pgy/creators/costs/history
Also known asXiaohongshu PGY creator core trendxiaohongshu creator daily cpmrednote creator cpe historyIn Chinese: 小红书蒲公英博主核心数据趋势 API
Price$0.0400/ call · Errors and timeouts are not charged
Returns1 objectone pgy creator core figures history object
When a call failsRetried for youon the same route, or a backup route; never charged
StatusLive status30-day availability 100%

Try it

Change a value and the request on the right follows.
Run · $0.0400

Sign in to run it; it runs on your own balance. New accounts can try this endpoint free, up to 2 calls.

Used to call POST /v1/xiaohongshu/pgy/bloggers/core-data? It is this address now. What changed for old endpoints

The first 2 rows of a response recorded 2026-11-10 09:54 UTC.
datecpmcpecpvmedian_impressionsmedian_readsmedian_engagementsmedian_shop_visits
2026-10-114.46830.83240.01086,713,8996,511,47936,0410
2026-10-124.18860.51480.01047,162,3386,749,23058,2790
curl -G "https://api.dataxapi.com/v1/xiaohongshu/pgy/creators/costs/history" \
  --data-urlencode "id=5c0017ef6b58b740c92463fb" \
  -H "Authorization: Bearer $DATAXAPI_API_KEY"
{
  "code": "ok",
  "request_id": "71c96749-f3f4-4d85-9452-3a5438bfa3ad",
  "data": {
    "item": {
      "creator_id": "6db7d6c4000000008ff2aa80",
      "days": 30,
      "currency": "CNY",
      "date": "2026-11-09T00:00:00Z",
      "cpm": "6.2482",
      "cpe": "0.8591",
      "cpv": "0.0153",
      "shop_visit_cost": null,
      "median_impressions": 4801380,
      "median_reads": 4570345,
      "median_engagements": 34920,
      "median_shop_visits": 0,
      "points": [
        {
          "date": "2026-10-11T00:00:00Z",
          "cpm": "4.4683",
          "cpe": "0.8324",
          "cpv": "0.0108",
          "shop_visit_cost": null,
          "median_impressions": 6713899,
          "median_reads": 6511479,
          "median_engagements": 36041,
          "median_shop_visits": 0
        },
        {
          "date": "2026-10-12T00:00:00Z",
          "cpm": "4.1886",
          "cpe": "0.5148",
          "cpv": "0.0104",
          "shop_visit_cost": null,
          "median_impressions": 7162338,
          "median_reads": 6749230,
          "median_engagements": 58279,
          "median_shop_visits": 0
        },
        // … 28 more
      ]
    }
  },
  "warnings": [],
  "meta": {
    "capability": "xiaohongshu.pgy.creators.costs.history",
    "result_status": "complete",
    "fetched_at": "2026-11-10T09:54:34.000Z",
    "cached": false,
    "replayed": false,
    "unavailable": {},
    "billing": {
      "amount": "0.04",
      "currency": "USD",
      "balance_after": "9.96"
    }
  }
}

From a response recorded 2026-11-10 09:54 UTC. Names, text and IDs are examples, and so are the links: none is the recorded one (the page shows no one's personal data); the figures are as recorded. Long lists are cut. The request ID, cursor and balance are made up.

Size as sent: 6.5 KB in the standard view (6.5 KB compact, 6.5 KB full).

This example as a JSON file

curl -G "https://api.dataxapi.com/v1/xiaohongshu/pgy/creators/costs/history" \
  --data-urlencode "id=5c0017ef6b58b740c92463fb" \
  -H "Authorization: Bearer $DATAXAPI_API_KEY"
# pip install dataxapi
from dataxapi import DataXAPI

dx = DataXAPI()  # reads DATAXAPI_API_KEY
result = dx.xiaohongshu.pgy.creators.costs.history(id="5c0017ef6b58b740c92463fb")
print(result["data"]["item"])
// npm i @dataxapi/sdk
import { DataXAPI } from "@dataxapi/sdk";

const dx = new DataXAPI(); // reads DATAXAPI_API_KEY
const result = await dx.xiaohongshu.pgy.creators.costs.history({ id: "5c0017ef6b58b740c92463fb" });
console.log(result.data.item);
dataxapi call xiaohongshu.pgy.creators.costs.history id=5c0017ef6b58b740c92463fb
{
  "mcpServers": {
    "dataxapi": {
      "type": "http",
      "url": "https://api.dataxapi.com/mcp",
      "headers": {
        "Authorization": "Bearer ${DATAXAPI_API_KEY}"
      }
    }
  }
}

Add this to your MCP client, then ask your agent to call xiaohongshu.pgy.creators.costs.history.

Parameters

idtextrequired

PGY creator ID, 24 hexadecimal characters; take it from the PGY creator search. Example: 5c0017ef6b58b740c92463fb.

windowtext

The period: the last 30 or the last 90 days; 30d by default. Values: 30d (default), 90d. Example: 30d.

tabtext

Whose figures: everyday for the creator's everyday notes, sponsored for the sponsored ones; everyday by default, as the two tabs of the creator's PGY page. Values: everyday (default), sponsored. Example: everyday.

viewtext

How much of each item to return. All three cost the same. Values: compact, standard (default), full.

fieldslist of text

Return only these fields. Each by its path, such as author.name.

Known limits

  • One object per call: there is nothing to page.

Returned fields

data.item is one pgy creator core figures history object. Preview: the structure may change, announced beforehand.

creator_idtextcompact

PGY creator ID

daysintegercompact

How many of the most recent days the figures cover

currencytextcompact

Currency of the costs

datetimecompact

The day the period's figures run to: a calendar day in China time (UTC+8), written as midnight UTC of its date

cpmamountcompact

CPM: the cost of a thousand impressions, in yuan; null where there is none

cpeamountcompact

CPE: the cost of one interaction, in yuan; null where there is none

Show all 25 fields →
cpvamountcompact

CPV: the cost of one read, in yuan, as PGY's trend chart works it out; null where there is none

shop_visit_costamountcompact

Cost per shop visitor a note brings (PGY's spillover store visits), in yuan; null where there is none

median_impressionsintegercompact

Median impressions of a note

median_readsintegercompact

Median reads of a note

median_engagementsintegercompact

Median interactions of a note

median_shop_visitsintegercompact

Median shop visitors a note brings (PGY's spillover store visits); a note that brought none counts as 0

pointslist of objectcompact

The figures day by day, one entry a day, oldest first: each the figures PGY worked out that day

points[].datetimecompact

The day: a calendar day in China time (UTC+8), written as midnight UTC of its date

points[].cpmamountcompact

CPM: the cost of a thousand impressions, in yuan; null where there is none

points[].cpeamountcompact

CPE: the cost of one interaction, in yuan; null where there is none

points[].cpvamountcompact

CPV: the cost of one read, in yuan, as PGY's trend chart works it out; null where there is none

points[].shop_visit_costamountcompact

Cost per shop visitor a note brings (PGY's spillover store visits), in yuan; null where there is none

points[].median_impressionsintegercompact

Median impressions of a note

points[].median_readsintegercompact

Median reads of a note

points[].median_engagementsintegercompact

Median interactions of a note

points[].median_shop_visitsintegercompact

Median shop visitors a note brings (PGY's spillover store visits); a note that brought none counts as 0

approximatelist of objectcompact

Which numbers of this item are approximate or lower bounds; absent when all are exact

approximate[].fieldtextcompact

Path of the field, such as metrics.views

approximate[].kindtextcompact

Approximate, or a lower boundapproximatelower_bound

Typical size of one item: compact 6.2 KB, standard 6.2 KB, full 6.2 KB (measured on the response recorded 2026-11-10 09:54 UTC).

When you are charged

A result with data$0.0400, once per call
Invalid parameters, a failure or a timeoutnot charged
CaseCharged
The most one call can cost$0.0400 (send X-Max-Price to refuse anything above your own limit)

Prices as read 2026-11-21 02:40 UTC, under price book 19, in effect since 2026-11-17 18:04 UTC; the Playground reads the price in force before a run.

If the object does not exist

The answer is 404 not_found. charged and amount in the body say what this one cost. reason says which: not_found (it does not exist) or private_or_deleted.

Errors

What this endpoint can answer with; codes all endpoints share are on the full list.

HTTPCodeMeaningCharged
400invalid_paramsA parameter is invalidRetry: After a fixAs the answer's charged field says
402insufficient_balanceThe balance is too lowRetry: After a fixNo
404not_foundThe object does not exist, is private or was deletedRetry: NoAs the answer's charged field says
502upstream_failedNo result came back this time and nothing was charged; retry shortlyRetry: YesNo
504timeoutThe data did not arrive in time; retry with the same idempotency keyRetry: YesNo

All error codes →

Questions

How much does the Xiaohongshu (RedNote) PGY creator core figures history API cost?

$0.0400 per call. The most one call can cost is $0.0400.

When am I not charged?

Errors and timeouts are not charged.

What happens if the object does not exist?

The answer is 404 not_found. charged and amount in the body say what this one cost. reason says which: not_found (it does not exist) or private_or_deleted.

30-day availability

100% of the time over the last 29 days (since 2026-10-22, when the record began), this endpoint was serving calls: at least one of its routes was taking them, so it was neither paused nor down.

A failed call is not charged.

Every endpoint's state now, and each incident with whether anyone was charged: the status page →

All 30 Xiaohongshu (RedNote) endpoints

Xiaohongshu PGY endpoints
Xiaohongshu (RedNote) endpoints
Xiaohongshu Shop endpoints

Use it in your AI

Copy this prompt

Your API key is built in, so there is nothing to configure.

Read https://dataxapi.com/agents.md and set up DataXAPI in this agent. My API key is dx_…; use it for every DataXAPI call.
Sign in to copy it with your key

No account yet? Sign-up takes an email and no card, and a failed call is never charged.

then paste

Paste it into your agent

It reads the page the prompt points to and connects itself.

Your agent
Read https://dataxapi.com/agents.md and set up DataXAPI in this agent. My API key is dx_••••; use it for every DataXAPI call.
DataXAPI connected · 5 tools ready
now try it

Now ask something

Use one of these, or your own words.

Read https://dataxapi.com/apis/xiaohongshu/pgy/creators/costs/history.md and help me use the DataXAPI endpoint xiaohongshu.pgy.creators.costs.history (Xiaohongshu (RedNote) PGY creator core figures history).
Prefer to set it up by hand?
dataxapi setupgives the agents on your machine (Claude Code, Codex, Cursor) the DataXAPI MCP server and the base skill. The key is read from DATAXAPI_API_KEY; none is written into a file.MCP server: https://api.dataxapi.com/mcp. The entry for your client is under MCP in the request examples of this page; then ask your agent to call xiaohongshu.pgy.creators.costs.history.Other clients →
Ask with this pageSends the Markdown version
Brief for an AIEverything needed to call it, as text
Show the text
Use the DataXAPI endpoint xiaohongshu.pgy.creators.costs.history (Xiaohongshu (RedNote) PGY creator core figures history). Get a Xiaohongshu creator's core figures for each of the last 30 or 90 days, by PGY creator ID: CPM, CPE (cost per interaction), CPV (cost per read), cost per shop visitor, and the median impressions, reads, interactions and shop visitors of a note, with the same figures for the whole period. Of everyday or of sponsored notes: shows whether a creator is getting better or worse value.
Call GET https://api.dataxapi.com/v1/xiaohongshu/pgy/creators/costs/history with the header "Authorization: Bearer $DATAXAPI_API_KEY". Read the key from the environment variable DATAXAPI_API_KEY; never write it into code.
Parameters:
- id (required): PGY creator ID, 24 hexadecimal characters; take it from the PGY creator search. Example: 5c0017ef6b58b740c92463fb.
- window: The period: the last 30 or the last 90 days; 30d by default. Values: 30d (default), 90d. Example: 30d.
- tab: Whose figures: everyday for the creator's everyday notes, sponsored for the sponsored ones; everyday by default, as the two tabs of the creator's PGY page. Values: everyday (default), sponsored. Example: everyday.
- view: How much of each item to return. All three cost the same. Values: compact, standard (default), full.
- fields: Return only these fields. Each by its path, such as author.name.
Price: $0.0400 per call. Errors and timeouts are not charged.
The answer is JSON: data.item holds pgy creator core figures history; meta.billing.amount is what this call was charged.
Example:
curl -G "https://api.dataxapi.com/v1/xiaohongshu/pgy/creators/costs/history" \
  --data-urlencode "id=5c0017ef6b58b740c92463fb" \
  -H "Authorization: Bearer $DATAXAPI_API_KEY"
Full reference in Markdown: https://dataxapi.com/apis/xiaohongshu/pgy/creators/costs/history.md

Names and identifiers

In Chinese
小红书蒲公英博主核心数据趋势 API
Endpoint ID
xiaohongshu.pgy.creators.costs.history
Endpoint
GET /v1/xiaohongshu/pgy/creators/costs/history
Last checked 2026-11-21 02:40 UTC.View the Markdown versionopenapi.jsonllms.txt

Start with one key.

237 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.

Start free