Endpoints
Metrics glossary
Every metric has akey 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=valueto narrow the series to a single value, for example?payment_method=card. - Break down — pass
breakdown_by=propertyto split each point into one entry per value. For example,?breakdown_by=currencyreturns an entry forusd, an entry foreur, and so on. Onebreakdown_byat a time.
400.
Query parameters
These apply to every metric on Retrieve Metric Time Series, independent of its properties:Revenue
Payments
Fees
Every fee metric accepts acurrency 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 acceptconvert_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, supportinterval=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 trailingsnapshot_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. Thesnapshot_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.
