Stats

Retrieve Platform Trends

Changed on

Retrieves 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.

get/stats/reports/platform_trends

Request

  • Base URL
    https://api.whop.com/api/v1
  • Auth
    • none
    • or HTTP bearer

Query parameters

breakdown_by, 'business_type' | 'industry_type' | 'product_category' | 'account_country' | 'customer_country' | 'order_value_band' | 'customer_age_band' | 'owner_age_band' | 'business_age_band' | 'products_per_business_band' | 'payments_per_customer_band'

What each row is. Omit it for one row per window, holding the window's total.

columns, string

Comma-separated properties and metrics to return on each row. business_type can ride along on industry_type rows. Defaults to gross_revenue,businesses.

windows, string

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.

time_zone, string

IANA zone that day, month, quarter and year boundaries fall in. Defaults to Etc/UTC.

order, 'gross_revenue' | 'businesses' | 'products' | 'payments' | 'customers' | 'aov' | 'repeat_rate' | 'median_gross_revenue' | 'new_businesses' | 'new_customers' | 'avg_business_age' | 'avg_owner_age' | 'avg_customer_age' | 'p10_gross_revenue' | 'p25_gross_revenue' | 'p75_gross_revenue' | 'p90_gross_revenue' | 'whop_index' | 'checkouts' | 'payment_started' | 'completed_checkouts' | 'checkout_conversion'

The requested metric that ranks rows, by its value in the first window. Defaults to the first requested metric.

direction, 'asc' | 'desc'

Ranking direction. Defaults to desc.

convert_to, string

Currency every money metric is converted into. Defaults to usd.

business_type, string

Only counts payments to businesses of these comma-separated business types, such as education.

industry_type, string

Only counts payments to businesses in these comma-separated industry types, such as options_trading.

product_category, string

Only counts payments for products in these comma-separated product categories, such as algo_trading_program.

account_country, string

Only counts payments to accounts located in these comma-separated countries, as ISO 3166-1 alpha-2 codes such as US.

customer_country, string

Only counts payments from customers in these comma-separated countries, as ISO 3166-1 alpha-2 codes such as US.

blueprint, string

Only counts payments to businesses with an app created from one of these comma-separated blueprint app IDs, such as app_xxxxxxxxxxxxxx.

first, integer

Number of results to return from the start of the range.

after, string

Return results after this cursor. Use page_info.end_cursor from the previous response to fetch the next page.

mode, 'global' | 'public'

Whose figures the report reads, one of the modes the report has. global reads all of Whop with nothing left out.

Headers

Api-Version-Date, string
Example:2026-11-30

Pins the request to a dated API version.

Response

Platform trends for each requested window, with rows in the same order in every window.

object required
data, object required
page_info, object required

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:read was added to the endpoint's security scheme bearerAuth

    • info

      added the new enum value business_age_band to the query request parameter breakdown_by

    • info

      added the new enum value checkout_conversion to the query request parameter order

    30 more changes in this revision