---
title: "Get category analytics"
method: GET
path: "/analytics/categories"
tags: ["analytics"]
---

# Get category analytics

`GET /analytics/categories`

## Request

- Base URL: `http://localhost:3001`
- URL: `http://localhost:3001/analytics/categories`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Get category analytics for user

## Query parameters

- `currencies` string
- `types` string
- `startDate` string, required
- `endDate` string, required
- `groupId` string
- `breakdown` 'parent' | 'leaf'
- `parentId` string

## Response `200`

Category analytics retrieved successfully

- object
  - `data` object, nullable
  - `success` boolean
  - `message` string

## Other responses

- `400`: Bad Request - Invalid input or validation failed
- `401`: Unauthorized - Authentication required or invalid token
- `403`: Forbidden - Insufficient permissions to access this resource
- `404`: Not Found - The requested resource does not exist
- `500`: Internal Server Error - An unexpected error occurred

---

[API](https://skmtc.dev/spliteo/apis/spliteo-api.md) · [All operations](https://skmtc.dev/spliteo/apis/spliteo-api/llms.txt) · [OpenAPI document](https://skmtc.dev/spliteo/apis/spliteo-api/revisions/bd9b84f4e407?raw)
