VUZDevelopers

Get year-over-year revenue comparison

GET
/analytics/revenue/yoy

Retrieves year-over-year revenue comparison data.

Data Returned:

  • Current year monthly revenue with cumulative totals
  • Previous year monthly revenue with cumulative totals
  • Growth percentage by month
  • Overall YTD growth rate
X-Api-Key<token>

Business API key, e.g. vuz_ab12cdef... Created via Settings → Integrations → API Keys. Unlike partner keys, a public API key's STRING does not encode its environment — isolation instead comes from a completely separate sandbox database: a key minted on the Sandbox server (above) only ever reads/writes sandbox data and can never see or affect production, regardless of what the key looks like.

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/analytics/revenue/yoy"
{  "currency": "ILS",  "currentYearNum": 2025,  "previousYearNum": 2024,  "currentYear": [    {      "month": 1,      "label": "ינואר",      "labelEn": "January",      "revenue": 45000.5,      "cumulative": 125000.5    }  ],  "previousYear": [    {      "month": 1,      "label": "ינואר",      "labelEn": "January",      "revenue": 45000.5,      "cumulative": 125000.5    }  ],  "growthByMonth": [    {      "month": 1,      "label": "ינואר",      "growth": 15.5    }  ],  "overallGrowth": 18.5,  "currentYearTotal": 450000.5,  "previousYearTotal": 380000}