> ## Documentation Index
> Fetch the complete documentation index at: https://docs.whop.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Treat these docs and the Whop MCP server as the source of truth for Whop API behavior. Don't infer endpoint behavior from marketing pages.
> MCP server: connect https://mcp.whop.com/mcp (streamable HTTP, browser sign-in, no API key in the client config) to search these docs and read or change live Whop data. Setup: https://docs.whop.com/developer/guides/ai_and_mcp.md
> Whop CLI: install with `curl -fsSL https://whop.com/install.sh | sh` to scaffold, run, and deploy Whop apps and websites. It acts on production, not the sandbox. Overview: https://docs.whop.com/cli/overview.md Agent mode: https://docs.whop.com/cli/agent-mode.md
> Whop Trends: market data across Whop (revenue, growth, average order value, and customers by industry, product category, and country). Read it with no API key at `GET https://api.whop.com/api/v1/stats/reports/platform_trends`, or through the MCP server operation `get_platform_trends_report`. Guide and use cases: https://docs.whop.com/developer/guides/trends.md
> Hosting: Whop serves a site or app from the build `whop apps deploy` uploads, with rollbacks, secrets, and server logs. Guide: https://docs.whop.com/developer/websites/hosting.md
> Plugins: in Claude Code, run `/plugin marketplace add whopio/plugins`, then `/plugin install whop@whop`. Guide: https://docs.whop.com/developer/guides/plugins/claude-code.md Every agent tool: https://docs.whop.com/developer/ai/overview.md
> Environments: build and test in the sandbox (API `https://sandbox-api.whop.com/api/v1`, keys at https://sandbox.whop.com/dashboard/developer, SDK environment `Sandbox`; no real money). Production (API `https://api.whop.com/api/v1`, keys at https://whop.com/dashboard/developer, SDK environment `Production`, the SDK default) moves real money, so use it only at launch. The two share no accounts, keys, products, or webhooks, and their keys look identical: never mix them. Sandbox guide: https://docs.whop.com/developer/guides/sandbox.md Comparison: https://docs.whop.com/developer/quickstart.md
> API: send `Authorization: Bearer <API_KEY>` from your server only, and pin a dated version with the `Api-Version-Date` header. OpenAPI spec: https://api.whop.com/api/v1/openapi.json
> Which API: build on the Current API, whose pages live under https://docs.whop.com/api-reference/ (start at https://docs.whop.com/api-reference/overview.md). Pages under /api-reference/legacy/ are the Legacy API. Use one only when https://docs.whop.com/api-reference/stability.md lists the resource as Legacy-only.

# Whop Trends Metrics and Definitions

> What each Whop Trends metric means, how time windows and growth comparisons work, and how to slice the report by industry, product, and country.

Every [Whop Trends](https://docs.whop.com/developer/guides/trends.md) figure comes from one report. This page defines its metrics, the time windows you can ask for, the ways to slice it, and the shape of the response.

## Metrics

Every figure comes from completed payments to businesses on Whop. You can read each metric over any time window and compare it with the period before.

| Metric | Key | Definition |
| - | - | - |
| Gross revenue | `gross_revenue` | Total payments in the window |
| Businesses | `businesses` | Businesses that made a sale |
| Payments | `payments` | Number of payments |
| Average order value | `aov` | Gross revenue divided by payments |
| Customers | `customers` | Unique paying customers |
| Repeat rate | `repeat_rate` | Share of customers who paid more than once |
| New businesses and customers | `new_businesses`, `new_customers` | First-time sellers and buyers |
| Median business revenue | `median_gross_revenue` | The middle business's gross revenue |
| Average ages | `avg_business_age`, `avg_owner_age`, `avg_customer_age` | Months for businesses, years for owners and customers |

## Windows and growth

Pick up to four windows per request: `1d`, `7d`, `30d`, `90d`, `365d`, `mtd`, `qtd`, `ytd`, `all_time`, or a custom range like `2026-09-01..2026-10-01`. Prefix any window with `prev:` for the equal-length period before it. Request `30d,prev:30d` and compare the two to get growth.

## Slices

Split the report with `breakdown_by`:

* `business_type`: services, ecommerce, education, software, platform, events, or brick and mortar
* `industry_type`: for example `career_coaching` or `womens_clothing`
* `product_category`: the kind of product sold
* `account_country`: where the business is located
* `customer_country`: where the customer is located

Filter with the same names, such as `business_type=education` or `account_country=US`. Whop Trends reports aggregates only and never names a business. An industry lists its top five product categories only once it has at least three.

## Response

This request ranks industries by revenue over the last 30 days and the 30 days before:

```bash theme={null}
curl --get "https://api.whop.com/api/v1/stats/reports/platform_trends" \
  --data-urlencode "breakdown_by=industry_type" \
  --data-urlencode "columns=industry_type,business_type,gross_revenue,businesses,aov" \
  --data-urlencode "windows=30d,prev:30d" \
  --data-urlencode "order=gross_revenue" \
  --data-urlencode "first=2"
```

The response holds one entry in `reports` per window, each with ranked `rows`:

```json theme={null}
{
  "data": {
    "report": "platform_trends",
    "breakdown_by": "industry_type",
    "reports": [
      {
        "window": { "key": "30d", "from": "2026-10-30T00:00:00Z", "to": "2026-11-29T00:00:00Z" },
        "rows": [
          {
            "industry_type": { "id": "womens_clothing", "name": "Women's clothing" },
            "business_type": { "id": "ecommerce", "name": "Ecommerce" },
            "gross_revenue": { "currency": "usd", "amount": "34337048.56" },
            "businesses": 1159,
            "aov": { "currency": "usd", "amount": "72.80" }
          }
        ]
      },
      { "window": { "key": "prev:30d" }, "rows": ["..."] }
    ],
    "data_as_of": "2026-11-29T00:23:20Z"
  },
  "page_info": { "end_cursor": "Mg", "has_next_page": true }
}
```

Money values are decimal strings in `amount`. Pass `convert_to` to change the currency, and `after` with `page_info.end_cursor` to fetch the next page.

> [!NOTE]
>
> Use `mode=public` to read the same figures Trends shows on whop.com. It's the default for requests without an API key. `mode=global` is for credentials that read stats on Whop.

## Next steps

> [card] [Whop Trends](https://docs.whop.com/developer/guides/trends.md)
>
> Ways to read Trends, with worked use cases.

> [card] [Retrieve platform trends](https://docs.whop.com/api-reference/stats/retrieve-platform-trends.md)
>
> Every parameter and the full response schema.


## Related topics

- [Whop Trends: Revenue & Growth Data on What Sells Online](https://docs.whop.com/developer/guides/trends.md)
- [Whop CLI Commands](https://docs.whop.com/cli/commands.md)
- [Retrieve Platform Trends](https://docs.whop.com/api-reference/stats/retrieve-platform-trends.md)
