Retrieve Platform Trends
Changed onRetrieves payments across all of Whop for up to four windows at once. Pass breakdown_by to split them by business type, industry type, product category, account country, or customer country. The report covers the whole platform, so it takes no account_id. Public mode requires no authentication.
Request
- Base URLhttps://api.whop.com/api/v1
- Auth
- none
- or HTTP bearer
Query parameters
What each row is. Omit it for one row per window, holding the window's total.
Comma-separated properties and metrics to return on each row. business_type can ride along on industry_type rows. Defaults to gross_revenue,businesses.
Comma-separated windows, at most four: 1d, 7d, 30d, 90d, 365d, mtd, qtd, ytd, all_time, an explicit 2026-09-01..2026-10-01, any of these prefixed prev: for the equal-length period before, or suffixed @2026-09-01 to end earlier. Defaults to 30d.
IANA zone that day, month, quarter and year boundaries fall in. Defaults to Etc/UTC.
The requested metric that ranks rows, by its value in the first window. Defaults to the first requested metric.
Ranking direction. Defaults to desc.
Currency every money metric is converted into. Defaults to usd.
Only counts payments to businesses of these comma-separated business types, such as education.
Only counts payments to businesses in these comma-separated industry types, such as options_trading.
Only counts payments for products in these comma-separated product categories, such as algo_trading_program.
Only counts payments to accounts located in these comma-separated countries, as ISO 3166-1 alpha-2 codes such as US.
Only counts payments from customers in these comma-separated countries, as ISO 3166-1 alpha-2 codes such as US.
Only counts payments to businesses with an app created from one of these comma-separated blueprint app IDs, such as app_xxxxxxxxxxxxxx.
Number of results to return from the start of the range.
Return results after this cursor. Use page_info.end_cursor from the previous response to fetch the next page.
Whose figures the report reads, one of the modes the report has. global reads all of Whop with nothing left out.
Headers
Pins the request to a dated API version.
Response
Platform trends for each requested window, with rows in the same order in every window.
Example response
{
"data": {
"breakdown_by": "industry_type",
"columns": [
{
"key": "industry_type",
"name": "Industry type",
"type": "property"
},
{
"key": "business_type",
"name": "Business type",
"type": "property"
},
{
"aggregate": "sum",
"key": "gross_revenue",
"name": "Gross revenue",
"type": "metric",
"unit": "money",
"weight": null
},
{
"aggregate": "sum",
"key": "businesses",
"name": "Businesses",
"type": "metric",
"unit": "count",
"weight": null
}
],
"data_as_of": "2026-10-07T04:48:34Z",
"report": "platform_trends",
"reports": [
{
"rows": [
{
"business_type": {
"id": "services",
"name": "Services"
},
"businesses": 828,
"gross_revenue": {
"amount": "7002670.25",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"industry_type": {
"id": "marketing_agency",
"name": "Marketing Agency"
}
}
],
"window": {
"as_of": null,
"from": "2026-09-30T04:00:00Z",
"key": "7d",
"kind": "range",
"time_zone": "Etc/UTC",
"to": "2026-10-07T04:00:00Z"
}
},
{
"rows": [
{
"business_type": {
"id": "services",
"name": "Services"
},
"businesses": 796,
"gross_revenue": {
"amount": "5841223.30",
"currency": "usd",
"decimals": 2,
"display_decimals": 2
},
"industry_type": {
"id": "marketing_agency",
"name": "Marketing Agency"
}
}
],
"window": {
"as_of": null,
"from": "2026-09-23T04:00:00Z",
"key": "prev:7d",
"kind": "range",
"time_zone": "Etc/UTC",
"to": "2026-09-30T04:00:00Z"
}
}
]
},
"page_info": {
"end_cursor": "MQ",
"has_next_page": true,
"has_previous_page": false,
"start_cursor": "MQ"
}
}Changes
- info
the security scope
stats:readwas added to the endpoint's security schemebearerAuth - info
added the new enum value
business_age_bandto thequeryrequest parameterbreakdown_by - info
added the new enum value
checkout_conversionto thequeryrequest parameterorder
30 more changes in this revision
- info