For AI

Object

PgyCreatorCostHistory object

A PGY creator's costs and note medians over a period, with the figures day by day. The same fields on every platform. A field a platform does not show is null, and meta.unavailable names it with the reason.

FieldTypeFrom viewDescription
creator_idstringcompactPGY creator ID.
daysintegercompactHow many of the most recent days the figures cover.
currencystring | nullcompactCurrency of the costs (ISO 4217).
datestring | nullcompactThe last day the figures run to: a calendar day in China time (UTC+8), written as 00:00 UTC of that date.
cpmnumber | nullcompactCost of a thousand impressions, in yuan; null where there is none.
cpenumber | nullcompactCost of one interaction, in yuan; null where there is none.
cpvnumber | nullcompactCost of one read, in yuan, as the trend chart works it out; null where there is none.
shop_visit_costnumber | nullcompactCost per shop visitor a note brings, in yuan; null where there is none.
median_impressionsinteger | nullcompactMedian impressions of a note.
median_readsinteger | nullcompactMedian reads of a note.
median_engagementsinteger | nullcompactMedian interactions of a note.
median_shop_visitsinteger | nullcompactMedian shop visitors a note brings; a note that brought none counts as 0.
pointsPgyCostPoint[]compactThe figures day by day, oldest first.
extobjectfullPlatform-specific extras. Only returned with view=full. · only with view=full

PgyCostPoint

FieldTypeDescription
datestringThe day: a calendar day in China time (UTC+8), written as 00:00 UTC of that date.
cpmnumber | nullCost of a thousand impressions, in yuan; null where there is none.
cpenumber | nullCost of one interaction, in yuan; null where there is none.
cpvnumber | nullCost of one read, in yuan, as the trend chart works it out; null where there is none.
shop_visit_costnumber | nullCost per shop visitor a note brings, in yuan; null where there is none.
median_impressionsinteger | nullMedian impressions of a note.
median_readsinteger | nullMedian reads of a note.
median_engagementsinteger | nullMedian interactions of a note.
median_shop_visitsinteger | nullMedian shop visitors a note brings; a note that brought none counts as 0.

Endpoints that return a PgyCreatorCostHistory

Connect once, then just ask.

Every new key comes with $0.10 to try it. One sentence connects your agent.

Start free
Connect your AI

Paste this into your agent

Read https://okdata.online/agents.md and set up okdata for me; my key is in the OKDATA_API_KEY environment variable.

Claude Code, Cursor, Codex and other agents that can open a link set themselves up from it.

MCP serverhttps://api.okdata.online/mcp