Analytics
Get revenue analytics
Changed onRetrieve revenue metrics including total revenue, MRR (monthly recurring revenue), and revenue breakdown by period. Supports filtering by date range and currency.
get/api/analytics/revenue
Request
- Base URLhttps://api.novabilling.one
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
dateFromstring
Example:2025-01-01
dateTostring
Example:2025-12-31
currencystring
groupBy'day' | 'week' | 'month'
Response
Revenue metrics and breakdown
Example response
{
"totalRevenue": "12500.0000",
"invoiceCount": 45,
"mrr": "4200.0000",
"arr": "50400.0000"
}Changes
- info
added the media type
application/jsonfor the response with the status
- info