---
title: "Get Revenue Analytics"
method: GET
path: "/api/analytics/revenue"
tags: ["analytics"]
---

# Get Revenue Analytics

`GET /api/analytics/revenue`

## Request

- Base URL: `https://api.tintin-x.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tintin-x.com/api/analytics/revenue`
- Auth: HTTP bearer

Get daily revenue/cost breakdown (personal + team wallets).

group_by=None: aggregate totals per day
group_by=agent: breakdown per agent per day
group_by=user: breakdown per agent owner per day (useful for teams)

## Query parameters

- `days` integer
- `group_by` string, nullable
- `program_id` string, uuid, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

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