---
api: 'Revolut X Crypto Exchange REST API'
---

# Get trading volume

Retrieve the total trading volume of the authenticated user over the requested interval, aggregated separately for each trading type.
The user context is resolved based on the provided API key.

#### Rate limits

| Limit | Total tokens | Refresh rate | Token cost rule |
| :--- | ---: | :--- | :--- |
| **Per-second limit** | 10 | 10 tokens / second | 1 token / request |
| **Per-minute limit** | 100 | 100 tokens / minute | 1 token / request |

For retry guidance, see the `429 Rate Limit Exceeded` response below. The `Retry-After` header specifies the delay in milliseconds.

## Endpoint

GET `/1.0/trades/private/volume`

## Parameters

### header parameters

- `X-Revx-Timestamp` (integer, required)
  Current timestamp in Unix epoch milliseconds. 
  Used to prevent replay attacks and construct the signature.
  Provided with other authentication headers.

- `X-Revx-Signature` (string, required)
  The Ed25519 signature of the request. 
  Provided with other authentication headers.
  
  :::tip
  See the [Authenticate requests](https://developer.revolut.com/docs/guides/crypto-exchange/get-started/authenticate-requests) guide for details on how to generate this.
  :::

### query parameters

- `interval_days` (integer, optional)
  Number of days to aggregate the trading volume over.
  Must be between 1 and 180.

## Returns

### 200

OK

The trading volume per product type.

#### Response attributes

- `data` (array of object)
    Trading volume per trading type for the requested interval.
  - `data[].type` (enum)
      Product type of the trading volume.
      Possible enum values:

      - `spot`
      - `futures`
  - `data[].amount` (string)
      Total trading volume over the requested interval.
  - `data[].currency` (string)
      The ISO 4217 fiat currency code the trading volume is denominated in.
  - `data[].start_date` (integer)
      Start of the volume aggregation period in Unix epoch milliseconds.
  - `data[].end_date` (integer)
      End of the volume aggregation period in Unix epoch milliseconds.
- `metadata` (object)
  - `metadata.timestamp` (integer)
      Timestamp in Unix epoch milliseconds.

## Error responses

| HTTP status code | Description |
| --- | --- |
| 400 | Bad request |
| 401 | Unauthorized |
| 403 | Forbidden |
| 409 | Conflict |
| 429 | Rate Limit Exceeded |
| 5XX | Server Error |
