Platform statistics
GET
https://app.speybooks.com/api/v1/admin/statsRetrieve platform-wide statistics for the admin dashboard. Executes six parallel queries:
- User counts — total, active, locked
- Organisations by plan — total, trial, sole_trader, limited_company
- Trial pipeline — active trials, expiring within 48h, expired
- Revenue — MRR in pence (sole trader £14.95, limited company £24.95), formatted MRR, active counts per plan
- Recent signups — last 10 users with organisation and plan
- Webhook health — last 24h totals: processed, failed, overall status
MRR is calculated from active subscriptions only (subscription_status = 'active'). The mrrFormatted field includes the £ symbol for display.
Response
200 Platform-wide stats: user counts, org breakdown by plan, trial pipeline, MRR, recent signups, and webhook health.
Show response fields
organisations objectShow child attributes
limitedCompany integersoleTrader integertotal integertrial integerrecentSignups array<object>Show child attributes
createdAt string date-timeemail stringfullName stringid integerorgName stringplan stringrevenue objectShow child attributes
limitedActive integermrr integermrrFormatted stringsoleTraderActive integertrials objectShow child attributes
active integerexpired integerexpiringSoon integerusers objectShow child attributes
active integerlocked integertotal integerwebhookHealth objectShow child attributes
failed integerprocessed integerstatus stringtotal integer