Get subscriptions data is a WordPress ability from Burst Statistics — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.
Install Free Plugin →Get subscriptions data
Read-onlyReturn ecommerce subscription metrics — active, canceled, and trialling subscribers plus recurring revenue — for a date range (Burst Pro only).
Requires the Burst Statistics plugin on WordPress 6.6+. All abilities register only when the 'Enable Abilities API' setting is turned on in Burst, and the current user needs the 'manage_burst_statistics' capability. The sales-data and subscriptions-data abilities additionally require Burst Pro (the BURST_PRO constant) to be active.
What it does
This ability returns Burst Pro's subscriptions datatable, grouped by plan by default, with metrics for active, canceled, and trialling subscribers, monthly recurring revenue, and product churn value, filtered to subscription-type transactions. Optional date_start/date_end, metrics, filters, group_by, and limit (1-500) inputs let you narrow the query, and requested metrics are validated against Burst's datatable allow-list. It requires Burst Pro to be active and returns a 503 error otherwise, giving an AI assistant a direct line to recurring-revenue health without digging through the subscriptions report.
See it in action
You ask your AI assistant
"Show me my current monthly recurring revenue and how many subscribers are in a trial right now."
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| date_start | integer | No | Unix timestamp for start date. |
| date_end | integer | No | Unix timestamp for end date. |
| metrics | array | No | Metrics to retrieve. Defaults to plan, active_subscribers, canceled_subscribers, trialling_subscribers, monthly_recurring_revenue, and product_churn_value. |
| filters | array | No | Additional filter objects for subscription retrieval. |
| group_by | array | No | Grouping columns for subscription results. Defaults to plan. |
| limit | integer | No | Maximum number of rows to return (1-500). Defaults to 100. |
Returns
An object with 'dimensions', 'metrics', 'rows' (grouped subscription rows filtered to subscription-type transactions), and 'row_count'.
Permission
The current user must have the 'manage_burst_statistics' capability, and Burst Pro must be active (the BURST_PRO constant defined) or the ability returns a 503 error. The ability is registered only when Burst's 'Enable Abilities API' setting is on.
More Burst Statistics abilities
Get data
Fetch Burst analytics data as either an insights time series or a specific datatable (pages, referrers, countries, campaigns, search terms, and more).
Get license notices
Return the current Burst Pro license status and any related notices.
Get live traffic
List the individual sessions currently active on the site, along with the pages they're viewing.
Get live visitors
Return the current number of visitors active on the site right now.
Get sales data
Return ecommerce sales metrics — products, sale counts, and revenue — for a date range (Burst Pro only).
Get tasks
Return Burst's current onboarding/setup task list and each task's completion status.