Skip to main content
They help you understand revenue, transactions, disputes, members, referrals, and advertising performance across reporting periods like days, weeks, or months. Use the Stats API to list the metrics you can chart and retrieve one as a time series over a date range, or list reports and retrieve aggregates that are not bucketed over time, such as platform-wide payment trends.

Endpoints

Metrics glossary

Every metric has a key that you pass as the {metric} path segment to Retrieve Metric Time Series. List Time Series Metrics returns the same catalog at runtime, with each metric’s unit and the properties you can filter or break down by. An unknown key returns a 404.

Units

Filtering and breaking down

Each property works two ways unless noted otherwise:
  • Filter — pass property=value to narrow the series to a single value, for example ?payment_method=card.
  • Break down — pass breakdown_by=property to split each point into one entry per value. For example, ?breakdown_by=currency returns an entry for usd, an entry for eur, and so on. One breakdown_by at a time.
Passing a property a metric doesn’t list returns a 400.

Query parameters

These apply to every metric on Retrieve Metric Time Series, independent of its properties:

Revenue

Payments

Fees

Every fee metric accepts a currency filter.

Disputes & refunds

Authorizations

Members & users

Partners

Cards

Card metrics report spend and cashback on the account’s issued Whop cards. They use only United States dollars and Coordinated Universal Time (UTC). They don’t accept convert_to or time_zone. Accounts without issued cards return an empty series.

Market data

market_prices is publicly available without authentication, account_id, or user_id. It returns historical prices for Bitcoin (btc) and Gold (xaut) in United States dollars. It supports ranges up to one year and returns at most 2,000 points.

Advertising & traffic

Traffic metrics cover pixel events on the merchant’s own websites plus whop.com store views, support interval=minute for ranges up to one hour, and cap their range at 30 days. High-cardinality breakdowns (such as page) return at most the top 500 entries per point.

Snapshot metrics

Snapshot metrics are captured once per day and preserve what was known at that time. They are day-only and UTC-only: interval must be day and time_zone is not accepted. You still pass from and to to choose the range of daily points. Use each metric’s windows catalog field to determine which snapshot_window values it accepts.

Card network program snapshots

These metrics track a business against the card networks’ monitoring programs: Visa’s Acquirer Monitoring Program (VAMP), Mastercard’s Excessive Chargeback (ECM) and Excessive Fraud (EFM) programs, and American Express Fraud Full Recourse. Each point covers the trailing snapshot_window ending at the capture time. Disputes exclude the Rapid Dispute Resolution (RDR) program, and fraud chargebacks are disputes with the normalized reason fraudulent. Mastercard metrics divide by sales in the preceding window of the same length, as Mastercard divides by the prior month’s transactions. A day with no sales in the denominator window has no point.

Cohorted dispute snapshots

Cohorted metrics attribute each dispute to the date of its original paid receipt. The attribution window in the metric name controls how long after purchase a dispute can count. The snapshot_window controls how many consecutive sales days contribute to a point. Use 7d for a more reactive series or 28d for a smoother denominator. Each captured point uses the latest sales cohort whose complete attribution window has elapsed. For a snapshot captured on date D, its cohort ends on D - attribution days - 1 day. The extra day ensures the final attribution day is complete. To reproduce a cohort-end-date chart, plot each point on that inferred cohort end date. Comparing 7d, 14d, and 28d attribution values at the same raw API timestamp compares different mature cohorts. Align them by cohort end date before expecting 7d ≤ 14d ≤ 28d.