# Analyse your business's financials

The Analytics endpoints let you retrieve spending, income, cashflow, and total wealth metrics for your business, over any period of up to 365 days.
Together, they support a complete performance review: start from the overall position, follow the trend, filter the reports, and drill into the drivers.

These are the same insights that you can see on the **Analytics** tab in the Revolut Business app.

:::info
To learn more about the feature in the app, see the [Customer help documentation](https://help.revolut.com/help/accounts/budget-and-analytics/).
:::

## Before you start

Before you begin, make sure that you:

- Have **Analytics** enabled for your business.
  It's available on the **Grow** plan or higher.
- Have an API key with the correct permissions.
  See [Create an API key](/docs/guides/api-console/create-key).
- Understand how to make authenticated requests to the Business API.
  See [Make a request](/docs/guides/api-console/make-a-request).

:::info
The Analytics endpoints are read-only. The search requests are safe to retry and do not require an `Idempotency-Key`.
:::

## What the API offers

| Report | Endpoints | What it tells you |
|--------|-----------|-------------------|
| Cashflow | [Search cashflow reports](/docs/api/business#search-cashflow) | Net position: income minus spending |
| Spending | [Search spending reports](/docs/api/business#search-spending), [Search spending breakdown reports](/docs/api/business#search-spending-breakdown) | Where money was spent, over time and by dimension |
| Income | [Search income reports](/docs/api/business#search-income), [Search income breakdown reports](/docs/api/business#search-income-breakdown) | Where money came in, over time and by dimension |
| Total wealth | [Search total wealth reports](/docs/api/business#search-total-wealth), [Search total wealth breakdown reports](/docs/api/business#search-total-wealth-breakdown) | What the business holds, by asset type |

The analysed periods are specified by two dates: `from` (inclusive) and `to` (exclusive).
For example, the entire year 2025 is specified as `from: 2025-01-01` and `to: 2026-01-01`.

In other words, the analysed period starts on the `from` date and ends the day before the `to` date.

## Check the overall position

To understand how your business is doing overall, start from the two high-level reports:

- [Net position (cashflow)](#net-position-cashflow): whether the business brings in more money than it spends
- [Total wealth](#wealth): what the business holds

Use them for a quick health check before digging into details.

### Net position: cashflow

To see whether the business brings in more money than it spends, make a `POST` request to the `/analytics/cashflow/search` endpoint, setting the date range and the aggregation cycle (the time unit of the returned data points):

- ![$Production]

  ```shell
  curl -X POST https://b2b.revolut.com/api/1.0/analytics/cashflow/search \
    -H "Authorization: Bearer <your_api_key>" \
    -H "Revolut-Api-Timestamp: <your_timestamp_in_ms>" \
    -H "Revolut-Api-Signature: <your_signature>" \
    -H "Content-Type: application/json" \
    -d '{"from": "2025-01-01", "to": "2026-01-01", "aggregation_cycle": "month"}'
  ```

- ![$Sandbox]

  ```shell
  curl -X POST https://sandbox-b2b.revolut.com/api/1.0/analytics/cashflow/search \
    -H "Authorization: Bearer <your_api_key>" \
    -H "Revolut-Api-Timestamp: <your_timestamp_in_ms>" \
    -H "Revolut-Api-Signature: <your_signature>" \
    -H "Content-Type: application/json" \
    -d '{"from": "2025-01-01", "to": "2026-01-01", "aggregation_cycle": "month"}'
  ```

The response contains a summary with total income, total spent, and the net total (income minus spending), plus parallel income and spent time series with one data point per aggregation cycle bucket.
All totals in the response are in the business's base currency.

A sample response looks like this:

```json
{
  "summary": {
    "total": {"amount": "5873.13", "currency": "GBP"},
    "total_income": {"amount": "10209.15", "currency": "GBP"},
    "total_spent": {"amount": "4336.02", "currency": "GBP"}
  },
  "income": {
    "data_points": [
      {"from": "2025-01-01", "to": "2025-02-01", "total": {"amount": "0.00", "currency": "GBP"}},
      {"from": "2025-02-01", "to": "2025-03-01", "total": {"amount": "2650.00", "currency": "GBP"}},
      {"from": "2025-03-01", "to": "2025-04-01", "total": {"amount": "0.00", "currency": "GBP"}},
      {"from": "2025-04-01", "to": "2025-05-01", "total": {"amount": "3400.00", "currency": "GBP"}},
      {"from": "2025-05-01", "to": "2025-06-01", "total": {"amount": "600.00", "currency": "GBP"}},
      {"from": "2025-06-01", "to": "2025-07-01", "total": {"amount": "0.00", "currency": "GBP"}},
      {"from": "2025-07-01", "to": "2025-08-01", "total": {"amount": "0.00", "currency": "GBP"}},
      {"from": "2025-08-01", "to": "2025-09-01", "total": {"amount": "890.25", "currency": "GBP"}},
      {"from": "2025-09-01", "to": "2025-10-01", "total": {"amount": "0.00", "currency": "GBP"}},
      {"from": "2025-10-01", "to": "2025-11-01", "total": {"amount": "1560.40", "currency": "GBP"}},
      {"from": "2025-11-01", "to": "2025-12-01", "total": {"amount": "0.00", "currency": "GBP"}},
      {"from": "2025-12-01", "to": "2026-01-01", "total": {"amount": "1108.50", "currency": "GBP"}}
    ]
  },
  "spent": {
    "data_points": [
      {"from": "2025-01-01", "to": "2025-02-01", "total": {"amount": "525.63", "currency": "GBP"}},
      {"from": "2025-02-01", "to": "2025-03-01", "total": {"amount": "1799.62", "currency": "GBP"}},
      {"from": "2025-03-01", "to": "2025-04-01", "total": {"amount": "137.11", "currency": "GBP"}},
      {"from": "2025-04-01", "to": "2025-05-01", "total": {"amount": "754.78", "currency": "GBP"}},
      {"from": "2025-05-01", "to": "2025-06-01", "total": {"amount": "346.35", "currency": "GBP"}},
      {"from": "2025-06-01", "to": "2025-07-01", "total": {"amount": "37.85", "currency": "GBP"}},
      {"from": "2025-07-01", "to": "2025-08-01", "total": {"amount": "15.83", "currency": "GBP"}},
      {"from": "2025-08-01", "to": "2025-09-01", "total": {"amount": "89.90", "currency": "GBP"}},
      {"from": "2025-09-01", "to": "2025-10-01", "total": {"amount": "240.00", "currency": "GBP"}},
      {"from": "2025-10-01", "to": "2025-11-01", "total": {"amount": "74.25", "currency": "GBP"}},
      {"from": "2025-11-01", "to": "2025-12-01", "total": {"amount": "193.40", "currency": "GBP"}},
      {"from": "2025-12-01", "to": "2026-01-01", "total": {"amount": "121.30", "currency": "GBP"}}
    ]
  }
}
```

A sample diagram depicting the response could look like this, with the first line showing income and the second one spending:

```mermaid
xychart-beta
  title "Monthly income and spending (GBP)"
  x-axis [Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec]
  y-axis "Amount (GBP)" 0 --> 3500
  line [0.00, 2650.00, 0.00, 3400.00, 600.00, 0.00, 0.00, 890.25, 0.00, 1560.40, 0.00, 1108.50]
  line [525.63, 1799.62, 137.11, 754.78, 346.35, 37.85, 15.83, 89.90, 240.00, 74.25, 193.40, 121.30]
```

For more details:

[See the API reference: Search cashflow reports](/docs/api/business#search-cashflow)

### Wealth

:::tip
To see how your wealth splits across asset types, go to [Wealth breakdown](#wealth-breakdown).
:::

For the daily total wealth time series, make a `POST` request to the `/analytics/total-wealth/search` endpoint.
Optionally, you can restrict it to a single asset type:

- ![$Production]

  ```shell
  curl -X POST https://b2b.revolut.com/api/1.0/analytics/total-wealth/search \
    -H "Authorization: Bearer <your_api_key>" \
    -H "Revolut-Api-Timestamp: <your_timestamp_in_ms>" \
    -H "Revolut-Api-Signature: <your_signature>" \
    -H "Content-Type: application/json" \
    -d '{"from": "2026-11-01", "to": "2026-11-15", "filter": {"asset_type": "crypto"}}'
  ```

- ![$Sandbox]

  ```shell
  curl -X POST https://sandbox-b2b.revolut.com/api/1.0/analytics/total-wealth/search \
    -H "Authorization: Bearer <your_api_key>" \
    -H "Revolut-Api-Timestamp: <your_timestamp_in_ms>" \
    -H "Revolut-Api-Signature: <your_signature>" \
    -H "Content-Type: application/json" \
    -d '{"from": "2026-11-01", "to": "2026-11-15", "filter": {"asset_type": "crypto"}}'
  ```

All totals in the response are in the business's base currency.

A sample response looks like this:

```json
{
  "total": {"amount": "558.90", "currency": "GBP"},
  "data_points": [
    {"from": "2026-11-01", "to": "2026-11-02", "total": {"amount": "541.26", "currency": "GBP"}},
    {"from": "2026-11-02", "to": "2026-11-03", "total": {"amount": "536.72", "currency": "GBP"}},
    {"from": "2026-11-03", "to": "2026-11-04", "total": {"amount": "528.40", "currency": "GBP"}},
    {"from": "2026-11-04", "to": "2026-11-05", "total": {"amount": "533.15", "currency": "GBP"}},
    {"from": "2026-11-05", "to": "2026-11-06", "total": {"amount": "545.02", "currency": "GBP"}},
    {"from": "2026-11-06", "to": "2026-11-07", "total": {"amount": "549.87", "currency": "GBP"}},
    {"from": "2026-11-07", "to": "2026-11-08", "total": {"amount": "547.31", "currency": "GBP"}},
    {"from": "2026-11-08", "to": "2026-11-09", "total": {"amount": "539.66", "currency": "GBP"}},
    {"from": "2026-11-09", "to": "2026-11-10", "total": {"amount": "543.20", "currency": "GBP"}},
    {"from": "2026-11-10", "to": "2026-11-11", "total": {"amount": "551.94", "currency": "GBP"}},
    {"from": "2026-11-11", "to": "2026-11-12", "total": {"amount": "549.08", "currency": "GBP"}},
    {"from": "2026-11-12", "to": "2026-11-13", "total": {"amount": "556.43", "currency": "GBP"}},
    {"from": "2026-11-13", "to": "2026-11-14", "total": {"amount": "553.77", "currency": "GBP"}},
    {"from": "2026-11-14", "to": "2026-11-15", "total": {"amount": "558.90", "currency": "GBP"}}
  ]
}
```

A sample diagram depicting the response could look like this:

```mermaid
xychart-beta
  title "Total wealth per day (GBP)"
  x-axis [1 Nov, 2 Nov, 3 Nov, 4 Nov, 5 Nov, 6 Nov, 7 Nov, 8 Nov, 9 Nov, 10 Nov, 11 Nov, 12 Nov, 13 Nov, 14 Nov]
  y-axis "Amount (GBP)" 0 --> 600
  bar [541.26, 536.72, 528.40, 533.15, 545.02, 549.87, 547.31, 539.66, 543.20, 551.94, 549.08, 556.43, 553.77, 558.90]
```

For more details:

[See the API reference: Search total wealth reports](/docs/api/business#search-total-wealth)

## Follow the trend

To follow how your business developed over the period, look at the [spending](#spending) and [income](#income) time series.
Use them to spot patterns, for example whether income is seasonal or how a price change affected spending.

### Spending

:::tip
To see which segments stand behind these numbers, go to [Spending breakdown](#spending-breakdown).
:::

To follow your spending over the period, make a `POST` request to the `/analytics/spending/search` endpoint, setting the date range and the aggregation cycle (the time unit of the returned data points):

- ![$Production]

  ```shell
  curl -X POST https://b2b.revolut.com/api/1.0/analytics/spending/search \
    -H "Authorization: Bearer <your_api_key>" \
    -H "Revolut-Api-Timestamp: <your_timestamp_in_ms>" \
    -H "Revolut-Api-Signature: <your_signature>" \
    -H "Content-Type: application/json" \
    -d '{"from": "2025-01-01", "to": "2026-01-01", "aggregation_cycle": "month"}'
  ```

- ![$Sandbox]

  ```shell
  curl -X POST https://sandbox-b2b.revolut.com/api/1.0/analytics/spending/search \
    -H "Authorization: Bearer <your_api_key>" \
    -H "Revolut-Api-Timestamp: <your_timestamp_in_ms>" \
    -H "Revolut-Api-Signature: <your_signature>" \
    -H "Content-Type: application/json" \
    -d '{"from": "2025-01-01", "to": "2026-01-01", "aggregation_cycle": "month"}'
  ```

The response contains the period total and the data points, with one data point per aggregation cycle bucket.
Each data point covers the interval specified by the dates `from` (inclusive) and `to` (exclusive).
The data can be [filtered](#filters).

All totals in the response are in the business's base currency.

For example, if you aggregate by `month`, a sample response might look like this:

```json
{
  "total": {"amount": "4336.02", "currency": "GBP"},
  "data_points": [
    {"from": "2025-01-01", "to": "2025-02-01", "total": {"amount": "525.63", "currency": "GBP"}},
    {"from": "2025-02-01", "to": "2025-03-01", "total": {"amount": "1799.62", "currency": "GBP"}},
    {"from": "2025-03-01", "to": "2025-04-01", "total": {"amount": "137.11", "currency": "GBP"}},
    {"from": "2025-04-01", "to": "2025-05-01", "total": {"amount": "754.78", "currency": "GBP"}},
    {"from": "2025-05-01", "to": "2025-06-01", "total": {"amount": "346.35", "currency": "GBP"}},
    {"from": "2025-06-01", "to": "2025-07-01", "total": {"amount": "37.85", "currency": "GBP"}},
    {"from": "2025-07-01", "to": "2025-08-01", "total": {"amount": "15.83", "currency": "GBP"}},
    {"from": "2025-08-01", "to": "2025-09-01", "total": {"amount": "89.90", "currency": "GBP"}},
    {"from": "2025-09-01", "to": "2025-10-01", "total": {"amount": "240.00", "currency": "GBP"}},
    {"from": "2025-10-01", "to": "2025-11-01", "total": {"amount": "74.25", "currency": "GBP"}},
    {"from": "2025-11-01", "to": "2025-12-01", "total": {"amount": "193.40", "currency": "GBP"}},
    {"from": "2025-12-01", "to": "2026-01-01", "total": {"amount": "121.30", "currency": "GBP"}}
  ]
}
```

A sample diagram depicting the response could look like this:

```mermaid
xychart-beta
  title "Monthly spending (GBP)"
  x-axis [Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec]
  y-axis "Amount (GBP)" 0 --> 2000
  line [525.63, 1799.62, 137.11, 754.78, 346.35, 37.85, 15.83, 89.90, 240.00, 74.25, 193.40, 121.30]
```

For more details:

[See the API reference: Search spending reports](/docs/api/business#search-spending)

### Income

:::tip
To see which segments stand behind these numbers, go to [Income breakdown](#income-breakdown).
:::

To follow your income over the period, make a `POST` request to the `/analytics/income/search` endpoint, setting the date range and the aggregation cycle (the time unit of the returned data points):

- ![$Production]

  ```shell
  curl -X POST https://b2b.revolut.com/api/1.0/analytics/income/search \
    -H "Authorization: Bearer <your_api_key>" \
    -H "Revolut-Api-Timestamp: <your_timestamp_in_ms>" \
    -H "Revolut-Api-Signature: <your_signature>" \
    -H "Content-Type: application/json" \
    -d '{"from": "2025-01-01", "to": "2026-01-01", "aggregation_cycle": "month"}'
  ```

- ![$Sandbox]

  ```shell
  curl -X POST https://sandbox-b2b.revolut.com/api/1.0/analytics/income/search \
    -H "Authorization: Bearer <your_api_key>" \
    -H "Revolut-Api-Timestamp: <your_timestamp_in_ms>" \
    -H "Revolut-Api-Signature: <your_signature>" \
    -H "Content-Type: application/json" \
    -d '{"from": "2025-01-01", "to": "2026-01-01", "aggregation_cycle": "month"}'
  ```

The response contains the period total and the data points, with one data point per aggregation cycle bucket.
The data can be [filtered](#filters).

All totals in the response are in the business's base currency.

For example, if you aggregate by `month`, a sample response might look like this:

```json
{
  "total": {"amount": "10209.15", "currency": "GBP"},
  "data_points": [
    {"from": "2025-01-01", "to": "2025-02-01", "total": {"amount": "0.00", "currency": "GBP"}},
    {"from": "2025-02-01", "to": "2025-03-01", "total": {"amount": "2650.00", "currency": "GBP"}},
    {"from": "2025-03-01", "to": "2025-04-01", "total": {"amount": "0.00", "currency": "GBP"}},
    {"from": "2025-04-01", "to": "2025-05-01", "total": {"amount": "3400.00", "currency": "GBP"}},
    {"from": "2025-05-01", "to": "2025-06-01", "total": {"amount": "600.00", "currency": "GBP"}},
    {"from": "2025-06-01", "to": "2025-07-01", "total": {"amount": "0.00", "currency": "GBP"}},
    {"from": "2025-07-01", "to": "2025-08-01", "total": {"amount": "0.00", "currency": "GBP"}},
    {"from": "2025-08-01", "to": "2025-09-01", "total": {"amount": "890.25", "currency": "GBP"}},
    {"from": "2025-09-01", "to": "2025-10-01", "total": {"amount": "0.00", "currency": "GBP"}},
    {"from": "2025-10-01", "to": "2025-11-01", "total": {"amount": "1560.40", "currency": "GBP"}},
    {"from": "2025-11-01", "to": "2025-12-01", "total": {"amount": "0.00", "currency": "GBP"}},
    {"from": "2025-12-01", "to": "2026-01-01", "total": {"amount": "1108.50", "currency": "GBP"}}
  ]
}
```

A sample diagram depicting the response could look like this:

```mermaid
xychart-beta
  title "Monthly income (GBP)"
  x-axis [Jan, Feb, Mar, Apr, May, Jun, Jul, Aug, Sep, Oct, Nov, Dec]
  y-axis "Amount (GBP)" 0 --> 3500
  line [0.00, 2650.00, 0.00, 3400.00, 600.00, 0.00, 0.00, 890.25, 0.00, 1560.40, 0.00, 1108.50]
```

For more details:

[See the API reference: Search income reports](/docs/api/business#search-income)

## Drill into the drivers

To understand what drives your spending, income, and total wealth, use the breakdown reports.
Breakdowns show which segments stand behind the totals, for example which merchant categories cost the most or which transaction types bring in the most income.
They help you identify the top contributors once a trend raises questions.

### Spending breakdown

:::tip
To see how these numbers develop over time, go to [Spending](#spending).
:::

To see which segments your spending consists of, make a `POST` request to the `/analytics/spending/breakdown/search` endpoint and specify the dimension to aggregate the results by:

- ![$Production]

  ```shell
  curl -X POST https://b2b.revolut.com/api/1.0/analytics/spending/breakdown/search \
    -H "Authorization: Bearer <your_api_key>" \
    -H "Revolut-Api-Timestamp: <your_timestamp_in_ms>" \
    -H "Revolut-Api-Signature: <your_signature>" \
    -H "Content-Type: application/json" \
    -d '{"from": "2025-01-01", "to": "2026-01-01", "dimension": "transaction_type"}'
  ```

- ![$Sandbox]

  ```shell
  curl -X POST https://sandbox-b2b.revolut.com/api/1.0/analytics/spending/breakdown/search \
    -H "Authorization: Bearer <your_api_key>" \
    -H "Revolut-Api-Timestamp: <your_timestamp_in_ms>" \
    -H "Revolut-Api-Signature: <your_signature>" \
    -H "Content-Type: application/json" \
    -d '{"from": "2025-01-01", "to": "2026-01-01", "dimension": "transaction_type"}'
  ```

The response groups spending into aggregation rows, each with the row total, its percentage share of the overall total, and the number of transactions.


Rows are sorted by the total in descending order.
The results are [paginated](#pagination).

Aggregation rows are marked with a record type:
- **default**: transactions with the dimension value.
- **other**: transactions with no value for the dimension.
- **excluded**: transactions that a user excluded from analytics; the `excluded` summary on the first page gives their combined total and count.

The default rows include record info, an object that identifies the row, depending on the dimension that you selected.
It shows the dimension value and dimension-specific parameters.
Record info is present only for default rows.

All totals in the response are in the business's base currency.

For example, if you group by `transaction_type`, a sample response might look like this:

```json
{
  "total": {"amount": "4336.02", "currency": "GBP"},
  "aggregations": [
    {"record_type": "default", "record_info": {"type": "transaction_type", "transaction_type": "transfer"}, "total": {"amount": "2943.67", "currency": "GBP"}, "percentage": 67.89, "transaction_count": 271},
    {"record_type": "default", "record_info": {"type": "transaction_type", "transaction_type": "other"}, "total": {"amount": "1392.35", "currency": "GBP"}, "percentage": 32.11, "transaction_count": 15}
  ],
  "excluded": {"total": {"amount": "109.09", "currency": "GBP"}, "transaction_count": 10}
}
```

A sample diagram depicting the response could look like this:

```mermaid
xychart-beta
  title "Spending by transaction type (GBP)"
  x-axis [Transfers (#271 - 67.89%), Other (#15 - 32.11%)]
  y-axis "Amount (GBP)" 0 --> 3000
  bar [2943.67, 1392.35]
```

For more details:

[See the API reference: Search spending breakdown reports](/docs/api/business#search-spending-breakdown)

### Income breakdown

:::tip
To see how these numbers develop over time, go to [Income](#income).
:::

To see which segments your income consists of, make a `POST` request to the `/analytics/income/breakdown/search` endpoint and specify the dimension to aggregate the results by:

- ![$Production]

  ```shell
  curl -X POST https://b2b.revolut.com/api/1.0/analytics/income/breakdown/search \
    -H "Authorization: Bearer <your_api_key>" \
    -H "Revolut-Api-Timestamp: <your_timestamp_in_ms>" \
    -H "Revolut-Api-Signature: <your_signature>" \
    -H "Content-Type: application/json" \
    -d '{"from": "2025-01-01", "to": "2026-01-01", "dimension": "currency"}'
  ```

- ![$Sandbox]

  ```shell
  curl -X POST https://sandbox-b2b.revolut.com/api/1.0/analytics/income/breakdown/search \
    -H "Authorization: Bearer <your_api_key>" \
    -H "Revolut-Api-Timestamp: <your_timestamp_in_ms>" \
    -H "Revolut-Api-Signature: <your_signature>" \
    -H "Content-Type: application/json" \
    -d '{"from": "2025-01-01", "to": "2026-01-01", "dimension": "currency"}'
  ```

The response groups income into aggregation rows, each with the row total, its percentage share of the overall total, and the number of transactions.
The results are [paginated](#pagination).

All totals in the response are in the business's base currency.

For example, if you group by `currency`, a sample response might look like this:

```json
{
  "total": {"amount": "10209.15", "currency": "GBP"},
  "aggregations": [
    {"record_type": "default", "record_info": {"type": "currency", "currency": "GBP"}, "total": {"amount": "10000.00", "currency": "GBP"}, "percentage": 97.95, "transaction_count": 26},
    {"record_type": "default", "record_info": {"type": "currency", "currency": "PLN"}, "total": {"amount": "209.15", "currency": "GBP"}, "percentage": 2.05, "transaction_count": 2}
  ]
}
```

A sample diagram depicting the response could look like this:

```mermaid
xychart-beta
  title "Income by currency (GBP)"
  x-axis [GBP (#26 - 97.95%), PLN (#2 - 2.05%)]
  y-axis "Amount (GBP)" 0 --> 10000
  bar [10000.00, 209.15]
```

For the full list of available dimensions and more details:

[See the API reference: Search income breakdown reports](/docs/api/business#search-income-breakdown)

### Wealth breakdown

To see how the wealth splits across asset types (such as cash, savings deposits, savings money market funds, merchant balance, crypto) or asset groups (such as cash, treasury, merchant), make a `POST /api/1.0/analytics/total-wealth/breakdown/search` request and specify the dimension to aggregate the results by:

- ![$Production]

  ```shell
  curl -X POST https://b2b.revolut.com/api/1.0/analytics/total-wealth/breakdown/search \
    -H "Authorization: Bearer <your_api_key>" \
    -H "Revolut-Api-Timestamp: <your_timestamp_in_ms>" \
    -H "Revolut-Api-Signature: <your_signature>" \
    -H "Content-Type: application/json" \
    -d '{"from": "2026-11-01", "to": "2026-11-15", "dimension": "asset_type"}'
  ```

- ![$Sandbox]

  ```shell
  curl -X POST https://sandbox-b2b.revolut.com/api/1.0/analytics/total-wealth/breakdown/search \
    -H "Authorization: Bearer <your_api_key>" \
    -H "Revolut-Api-Timestamp: <your_timestamp_in_ms>" \
    -H "Revolut-Api-Signature: <your_signature>" \
    -H "Content-Type: application/json" \
    -d '{"from": "2026-11-01", "to": "2026-11-15", "dimension": "asset_type"}'
  ```

Each row contains a single dimension value, its total, its percentage share of the overall total, and the number of accounts in that group.

All totals in the response are in the business's base currency.

For example, if you group by `asset_type`, a sample response might look like this:

```json
{
  "total": {"amount": "716.98", "currency": "GBP"},
  "aggregations": [
    {"record_type": "default", "record_info": {"type": "asset_type", "asset_type": "crypto"}, "total": {"amount": "558.90", "currency": "GBP"}, "percentage": 77.95, "account_count": 10},
    {"record_type": "default", "record_info": {"type": "asset_type", "asset_type": "cash"}, "total": {"amount": "158.08", "currency": "GBP"}, "percentage": 22.05, "account_count": 51},
    {"record_type": "default", "record_info": {"type": "asset_type", "asset_type": "merchant"}, "total": {"amount": "0.00", "currency": "GBP"}, "percentage": 0, "account_count": 1}
  ]
}
```

A sample diagram depicting the response could look like this:

```mermaid
xychart-beta
  title "Total wealth by asset type (GBP)"
  x-axis [Crypto (#10 - 77.95%), Cash (#51 - 22.05%), Merchant (#1 - 0%)]
  y-axis "Amount (GBP)" 0 --> 600
  bar [558.90, 158.08, 0.00]
```

For more details:

[See the API reference: Search total wealth breakdown reports](/docs/api/business#search-total-wealth-breakdown)

:::tip
To see how these numbers develop over time, go to [Wealth](#wealth).
:::

## Filtering, pagination, and totals

To get the most relevant results, narrow the reports with filters and fetch breakdown results page by page with pagination.

### Filters

The spending reports can be filtered to answer narrower questions.
Pass the filters in the `filter` object of the request body.
For example, to see spending on software merchants in August, filter by merchant category:

- ![$Production]

  ```shell
  curl -X POST https://b2b.revolut.com/api/1.0/analytics/spending/search \
    -H "Authorization: Bearer <your_api_key>" \
    -H "Revolut-Api-Timestamp: <your_timestamp_in_ms>" \
    -H "Revolut-Api-Signature: <your_signature>" \
    -H "Content-Type: application/json" \
    -d '{"from": "2025-08-01", "to": "2025-09-01", "aggregation_cycle": "month", "filter": {"merchant_category": ["software"]}}'
  ```

- ![$Sandbox]

  ```shell
  curl -X POST https://sandbox-b2b.revolut.com/api/1.0/analytics/spending/search \
    -H "Authorization: Bearer <your_api_key>" \
    -H "Revolut-Api-Timestamp: <your_timestamp_in_ms>" \
    -H "Revolut-Api-Signature: <your_signature>" \
    -H "Content-Type: application/json" \
    -d '{"from": "2025-08-01", "to": "2025-09-01", "aggregation_cycle": "month", "filter": {"merchant_category": ["software"]}}'
  ```

Each filter accepts at most 100 values.
For the full list of available filters, see the specific endpoints in the [Analytics API reference](/docs/api/business#tag-analytics).

### Pagination

When retrieving breakdown results, you can limit the number of rows per page with `limit` (by default, it's `100`).
To get the next page of results, make a new request and set `page_token` to the `next_page_token` from the previous response.

### Totals

All period-, data point-, and breakdown row totals in the responses are in the business's base currency.

## What's next

- Explore the [Analytics API reference](/docs/api/business#tag-analytics) for the full contract of all seven endpoints.
- Retrieve the individual transactions behind the metrics with the [Transactions API reference](/docs/api/business#get-transactions).