Creator metrics API
2 endpoints on 2 platforms answer in one response shape. How a creator's posts did over the last 30 or 90 days. A call costs from $0.0040 to $0.0400, each endpoint at its own price; a failed call is free.
Creator metrics on each platform
One row per endpoint: what it is called, how much comes back in a call, and what a call costs.
The Xingtu creator metrics object
Every endpoint above returns these fields, with the same names and types.
creator_idtextXingtu creator IDvideosintegerVideos in the periodmedian_viewsintegerMedian views of a videoaverage_likesintegerAverage likes of a videoaverage_commentsintegerAverage comments of a videoaverage_sharesintegerAverage shares of a videoengagement_ratenumberEngagement rate, 0 to 1engagement_rate_percentilenumberShare of comparable creators whose engagement rate it exceeds, 0 to 1completion_ratenumberCompletion rate, 0 to 1completion_rate_percentilenumberShare of comparable creators whose completion rate it exceeds, 0 to 1currencytextCurrency of the amounts belowcpm_21_60samountExpected cost per thousand views of a 21 to 60 second videocpm_over_60samountExpected cost per thousand views of a video over 60 secondscpe_21_60samountExpected cost per interaction of a 21 to 60 second videocpe_over_60samountExpected cost per interaction of a video over 60 secondsWhich platform fills which field
A field an endpoint cannot give is listed in meta.unavailable on every answer, so a gap is never a surprise.
The same call on two platforms
Same parameter names, same paging, same answer. Only the path changes.
# Douyin curl -G "https://api.dataxapi.com/v1/douyin/xingtu/creators/metrics" \ --data-urlencode "id=6763236383382306828" \ -H "Authorization: Bearer $DATAXAPI_API_KEY" # Xiaohongshu (RedNote): the same call on its own path curl -G "https://api.dataxapi.com/v1/xiaohongshu/pgy/creators/metrics" \ --data-urlencode "id=5c0017ef6b58b740c92463fb" \ -H "Authorization: Bearer $DATAXAPI_API_KEY"
// Douyin import { DataXAPI } from "@dataxapi/sdk"; const dx = new DataXAPI(); // reads DATAXAPI_API_KEY const result = await dx.douyin.xingtu.creators.metrics({ id: "6763236383382306828" }); console.log(result.data.item); // Xiaohongshu (RedNote): the same call on its own path const other = await dx.xiaohongshu.pgy.creators.metrics({ id: "5c0017ef6b58b740c92463fb" }); console.log(other.data.item);
# Douyin from dataxapi import DataXAPI dx = DataXAPI() # reads DATAXAPI_API_KEY result = dx.douyin.xingtu.creators.metrics(id="6763236383382306828") print(result["data"]["item"]) # Xiaohongshu (RedNote): the same call on its own path other = dx.xiaohongshu.pgy.creators.metrics(id="5c0017ef6b58b740c92463fb") print(other["data"]["item"])
# Douyin dataxapi call douyin.xingtu.creators.metrics id=6763236383382306828 # Xiaohongshu (RedNote): the same call on its own path dataxapi call xiaohongshu.pgy.creators.metrics id=5c0017ef6b58b740c92463fb
{
"code": "ok",
"request_id": "b00b80a0-88cc-4177-9e0a-3334acbccd1f",
"data": {
"item": {
"creator_id": "6660491594420292860",
"videos": 763,
"median_views": 237059,
"average_likes": 11712,
"average_comments": 993,
"average_shares": 938,
"engagement_rate": 0.0148,
"engagement_rate_percentile": 0.512,
"completion_rate": 0.2377,
"completion_rate_percentile": 0.7391,
"currency": "CNY",
"cpm_21_60s": "537.29",
"cpm_over_60s": "2238.73",
"cpe_21_60s": "36.92",
"cpe_over_60s": "153.84"
}
},
"warnings": [],
"meta": {
"capability": "douyin.xingtu.creators.metrics",
"result_status": "complete",
"fetched_at": "2026-10-12T21:49:37.000Z",
"cached": false,
"replayed": false,
"unavailable": {},
"billing": {
"amount": "0.004",
"currency": "USD",
"balance_after": "9.996"
}
}
}Douyin Xingtu creator metrics: From a response recorded 2026-10-12 21:49 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.
What comes back
The objects these endpoints answer with: one set of fields each, the same on every platform.
The Xingtu creator metrics object
What every field means, which number each platform puts in it, and where it is missing.
The PGY creator metrics object
What every field means, which number each platform puts in it, and where it is missing.
Questions about the Creator metrics API
Short answers. Each endpoint's page has its own limits and examples.
Douyin Xingtu creator metrics API →How much does it cost?
$0.0040 a call on Douyin; $0.0400 a call on Xiaohongshu (RedNote). You are charged when data comes back; a failed call costs nothing. No subscription, no monthly minimum.
Does every platform fill every field?
No. 13 of the 15 fields are missing on at least one platform; the table on this page says which. A field an endpoint cannot give is named in meta.unavailable on every answer, never filled with a guess.
Do I need an account on the platform?
No. One DataXAPI key reads all 2 platforms. No platform account and no cookie.
Other data types
The same idea everywhere: one action, every platform that has it.
Start with one key.
207 endpoints on 21 platforms, from $0.0003 a call. Errors and timeouts are not charged.