Get revenue metrics
polar_get_metricsFetch revenue and subscription metrics over a date range, bucketed by interval — orders, revenue, MRR, active subscriptions. Polar: GET /v1/metrics/.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | End of the window, YYYY-MM-DD. | |
| interval | Yes | Bucket size for the series. | |
| product_id | No | Only this product's metrics. | |
| start_date | Yes | Start of the window, YYYY-MM-DD. | |
| customer_id | No | Only this customer's metrics. | |
| organization_id | No | Restrict to this organisation id. Needed when the token spans several organisations. |