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-only

Return 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.

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.