---
title: "Price OHLCV"
method: GET
path: "/xrp/market-data/price-ohlcv"
tags: ["XRP Market Data"]
---

# Price OHLCV

`GET /xrp/market-data/price-ohlcv`

This endpoint returns metrics related to XRP's Price.
Price OHLCV data consists of five metrics. 
`open`, the opening price at the beginning of the window, `close`, USD closing price at the end of the window, 
`high`, the highest USD price in a given window, `low`, the lowest USD price in a given window,
and `volume`, the total token volume traded in 24h.


### Supported Exchanges By Market

| Name | Market  |    Supported Exchanges     |
|--------|---------|----------------------------|
| Spot   | `spot`  | All Exchange*, Binance, Binance US, Bitfinex, Kucoin, Coinbase Advanced, Kraken, HTX Global |
| Perpetual   | `perpetual`  | All Exchange*, Binance, Deribit, Bitmex, OKX |

> (*) Default exchange <br>

### Supported Pairs By Exchange

#### ◦ Spot

| Name           |   Exchange     | Symbol |
|----------------|--------------|----|
| All Exchanges  |   `all_exchange` | `xrp_usd`* |
| Binance        |   `binance`  | `xrp_usdt`* <br/> `xrp_fdusd`<br/> `xrp_btc`<br/> `xrp_eth`<br/> `xrp_bnb`<br/> `xrp_rub`<br/> `xrp_tusd`|
| Binance US            |   `binance_us`     | `xrp_usdt`* |
| Coinbase Advanced          |   `coinbase_advanced`    | `xrp_eur`<br/> `xrp_usdt`<br/> `xrp_usd`* |
| Bitfinex         |   `bitfinex`   | `xrp_usdt`<br/> `xrp_btc`<br/> `xrp_usd`* |
| HTX Global   |   `htx_global` | `xrp_usdt`*  |
| Kucoin            |   `kucoin`     | `xrp_usdc`<br/> `xrp_tusd`<br/> `xrp_btc`<br/> `xrp_eth`<br/> `xrp_usdt`* |
| Kraken            |   `kraken`     | `xrp_usdt`<br/> `xrp_eur`<br/> `xrp_aud`<br/> `xrp_eth`<br/> `xrp_btc`<br/> `xrp_usd`* |

#### ◦ Perpetual

| Name           |   Exchange     | Symbol |
|----------------|--------------|----|
| All Exchanges  |   `all_exchange` | `xrp_usd`* <br/> `xrp_usdt`|
| Binance        |   `binance`  | `xrp_usd`*|
| Deribit         |   `deribit`   | `xrp_usdc`* |
| Okx         |   `okx`   | `xrp_usdt`* |
| Bitmex            |   `bitmex`     | `xrp_usdt`<br/> `xrp_usd`* |

### Supported Windows By Market

|   Market  |   Supported Windows           |
|-----------|-------------------------------|
| Spot      | `min`, `hour`, `day*`         |
| Perpetual | `min`, `hour`, `day*`         |

## Query parameters

- `market` string
- `exchange` string
- `symbol` string
- `window` string
- `from` string
- `to` string
- `limit` integer
- `format` string

## Response `200`

Price OHLCV Data

- object
  - `status` object, required — The status object is return with most of requests and indicates if the request was successful. If it is not successful, error information is included.
    - `code` integer, required — HTTP status code
    - `message` string, required — Text description of the error or success.
  - `result` object, required
    - `window` string, required — The size of window. It can be day, hour, min, or block and it depends on the user request.
    - `data` object[], required
      - `date` string — The date in YYYY-DD-MM. This optional field only appears when window=day is used.
      - `blockheight` string — The height of the block. This optional field only appears when window=block is used.
      - `datetime` string — The date and time formatted as YYYY-MM-DDTHH:MM:SS (UTC time). This field only appears when window=block or window=min is used.
      - `open` number, required — opening price at the beginning of the window.
      - `high` number, required — opening price at the end of the window.
      - `low` number, required — The highest price in a given window.
      - `close` number, required — The lowest price in a given window.
      - `volume` number, required — The total traded amount in a given window.

---

[API](https://skmtc.net/cryptoquant/apis/cryptoquant-data-api.md) · [All operations](https://skmtc.net/cryptoquant/apis/cryptoquant-data-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cryptoquant/cryptoquant-data-api/versions/81ee223d4908/schema)
