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

# Get order book (deprecated)

:::warning [Deprecated]
Use [Get order book v2](https://developer.revolut.com/docs/api/revolut-x-crypto-exchange#get-order-book-public) instead.
:::

Fetch the current order book (bids and asks) for a given trading pair (with a maximum of 5 price levels).

Provide `region` to retrieve the order book for a specific region.
The resolved region is returned in `metadata.region`.
#### Rate limits

| Limit | Total tokens | Refresh rate | Token cost rule |
| :--- | ---: | :--- | :--- |
| Per-second limit | 1 | 1 token / second | 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/public/order-book/{symbol}`

> This endpoint is **deprecated**.

## Parameters

### path parameters

- `symbol` (string, required)
  The trading pair, e.g., BTC-USD.

### query parameters

- `region` (enum, optional)
  Region for market data retrieval. Defaults to EEA if omitted.
  Use UK to retrieve data from the UK region.
  Possible enum values:

  - `UK`
  - `EEA`

## Returns

### 200

OK

The Order Book snapshot for the given trading pair (with a maximum of 5 price levels).

#### Response attributes

- `data` (object)
  - `data.asks` (array of object)
      The list of asks (sell orders), sorted by price in descending order.
    - `data.asks[].aid` (string)
        Crypto-asset ID code.
    - `data.asks[].anm` (string)
        Crypto-asset full name.
    - `data.asks[].s` (enum)
        The side of the price level.
        Possible enum values:

        - `SELL`
        - `BUYI`
    - `data.asks[].p` (string)
        Price in major currency units. For example, for USD, `4005.00` represents 4005 dollars.
    - `data.asks[].pc` (string)
        Price currency.
    - `data.asks[].pn` (string)
        Price notation.
    - `data.asks[].q` (string)
        Aggregated quantity at this price level.
    - `data.asks[].qc` (string)
        Quantity currency.
    - `data.asks[].qn` (string)
        Quantity notation.
    - `data.asks[].ve` (string)
        Venue of execution. Always equals `REVX`.
    - `data.asks[].no` (string)
        Number of orders at the price level.
    - `data.asks[].ts` (string)
        Trading system. Always equals `CLOB` (Central Limit Order Book).
    - `data.asks[].pdt` (string)
        Publication date and time, returned as [ISO-8601](https://wikipedia.org/wiki/ISO_8601) string.
  - `data.bids` (array of object)
      The list of bids (buy orders), sorted by price in descending order.
    - `data.bids[].aid` (string)
        Crypto-asset ID code.
    - `data.bids[].anm` (string)
        Crypto-asset full name.
    - `data.bids[].s` (enum)
        The side of the price level.
        Possible enum values:

        - `SELL`
        - `BUYI`
    - `data.bids[].p` (string)
        Price in major currency units. For example, for USD, `4005.00` represents 4005 dollars.
    - `data.bids[].pc` (string)
        Price currency.
    - `data.bids[].pn` (string)
        Price notation.
    - `data.bids[].q` (string)
        Aggregated quantity at this price level.
    - `data.bids[].qc` (string)
        Quantity currency.
    - `data.bids[].qn` (string)
        Quantity notation.
    - `data.bids[].ve` (string)
        Venue of execution. Always equals `REVX`.
    - `data.bids[].no` (string)
        Number of orders at the price level.
    - `data.bids[].ts` (string)
        Trading system. Always equals `CLOB` (Central Limit Order Book).
    - `data.bids[].pdt` (string)
        Publication date and time, returned as [ISO-8601](https://wikipedia.org/wiki/ISO_8601) string.
- `metadata` (object)
  - `metadata.region` (enum)
      Region from which the public market data was retrieved.
      Possible enum values:

      - `UK`
      - `EEA`
  - `metadata.timestamp` (string)
      Timestamp when the order book snapshot was generated, returned as [ISO-8601](https://wikipedia.org/wiki/ISO_8601) string.

## Error responses

| HTTP status code | Description |
| --- | --- |
| 400 | Bad request |
| 429 | Rate Limit Exceeded |
| 5XX | Server Error |
