Retrieve Metric
Retrieves a metric as a time series of points for an account over a date range.
Authorizations
An account API key, account scoped JWT, app API key, or user OAuth token.
Headers
Pins the request to a dated API version. When omitted, the request uses the original (2025-01-01) request/response shapes, so existing unversioned callers are never broken. Generated SDKs always send the latest version they were built against. An unrecognized value is rejected with a 400. The schemas documented here always describe the latest version.
"2026-06-20"
Path Parameters
The metric to retrieve, for example net_revenue. Use GET /stats to see every metric key. The metric sets the unit and the properties you can filter or break down by.
Query Parameters
The account to measure, for example biz_AbC123.
Start of the date range (YYYY-MM-DD).
End of the date range (YYYY-MM-DD).
How wide each point is. Defaults to day. Snapshot metrics are day-only.
hour, day, week, month Split the metric out by one of its properties — each point gets a breakdown array. For example breakdown_by=currency returns an entry for usd, an entry for eur, and so on.
Display currency for money metrics — every amount is converted into this ISO currency using the exchange rate on each period's date. Defaults to usd. Ignored when you filter or break down by currency (those report the original transaction currency, unconverted).
Filter to transactions made in this original ISO currency, for example eur — reported in that currency, not converted. Pair with breakdown_by=currency to split a metric by currency. Available on metrics that list currency.
IANA time zone to bucket the series in, for example America/New_York. Defaults to UTC. Not accepted by snapshot metrics, which are UTC only.
Filter to a single payment method, for example card or crypto. Available on metrics that list payment_method.
Filter to a single card brand, for example visa. A refinement of payment_method=card. Available on metrics that list card_network.
Trailing window for snapshot metrics. Only accepted by snapshot metrics (each lists its allowed windows in the catalog); defaults to the metric's first supported window. Only 30d today.
30d Response
split into one segment per property value

