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.
Try it
Change a value and the request on the right follows.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
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).
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
PGY creator ID, 24 hexadecimal characters; take it from the PGY creator search. Example: 5c0017ef6b58b740c92463fb.
The period: the last 30 or the last 90 days; 30d by default. Values: 30d (default), 90d. Example: 30d.
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.
How much of each item to return. All three cost the same. Values: compact, standard (default), full.
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.
PGY creator ID
How many of the most recent days the figures cover
Currency of the costs
The day the period's figures run to: a calendar day in China time (UTC+8), written as midnight UTC of its date
CPM: the cost of a thousand impressions, in yuan; null where there is none
CPE: the cost of one interaction, in yuan; null where there is none
Show all 25 fields →
CPV: the cost of one read, in yuan, as PGY's trend chart works it out; null where there is none
Cost per shop visitor a note brings (PGY's spillover store visits), in yuan; null where there is none
Median impressions of a note
Median reads of a note
Median interactions of a note
Median shop visitors a note brings (PGY's spillover store visits); a note that brought none counts as 0
The figures day by day, one entry a day, oldest first: each the figures PGY worked out that day
The day: a calendar day in China time (UTC+8), written as midnight UTC of its date
CPM: the cost of a thousand impressions, in yuan; null where there is none
CPE: the cost of one interaction, in yuan; null where there is none
CPV: the cost of one read, in yuan, as PGY's trend chart works it out; null where there is none
Cost per shop visitor a note brings (PGY's spillover store visits), in yuan; null where there is none
Median impressions of a note
Median reads of a note
Median interactions of a note
Median shop visitors a note brings (PGY's spillover store visits); a note that brought none counts as 0
Which numbers of this item are approximate or lower bounds; absent when all are exact
Path of the field, such as metrics.views
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
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.
invalid_paramsA parameter is invalidRetry: After a fixAs the answer's charged field saysinsufficient_balanceThe balance is too lowRetry: After a fixNonot_foundThe object does not exist, is private or was deletedRetry: NoAs the answer's charged field saysupstream_failedNo result came back this time and nothing was charged; retry shortlyRetry: YesNotimeoutThe data did not arrive in time; retry with the same idempotency keyRetry: YesNoQuestions
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
Use it in your AI
Copy this prompt
Your API key is built in, so there is nothing to configure.
No account yet? Sign-up takes an email and no card, and a failed call is never charged.
Paste it into your agent
It reads the page the prompt points to and connects itself.
Now ask something
Use one of these, or your own words.
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 →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
Start with one key.
237 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.