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

# Price OHLCV

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

This endpoint returns metrics related to TRX's Price, Price OHLCV data consists of five metrics.<br>
| Metric | Description |
|--------|-------------|
| `open` | The opening price at the beginning of the window. |
| `close` | The 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. |
| `volume` | The total volume traded in a given window. |

> (*) Default exchange <br />
### Supported Exchanges By Market
| Name | Market  |    Supported Exchanges     |
|--------|---------|----------------------------|
| Spot   | `spot`  | All Exchange* |

### Supported Pairs By Exchange
| Name           | Exchange       | Symbol     |
|----------------|----------------|------------|
|  All Exchanges | `all_exchange` | `trx_usd`* |

### Supported Windows By Market
|   Market  |   Supported Windows   |
|-----------|-----------------------|
| Spot      | `day*`                |

## Query parameters

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

## Response `200`

Successful response.

- 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. This metric supports only day resolution.
    - `data` object[], required
      - `date` string — The date in YYYY-DD-MM. This optional field only appears when window=day is used.
      - `open` number, required — opening price at the beginning of the window.
      - `high` number, required — The highest price in a given window.
      - `low` number, required — The lowest price in a given window.
      - `close` number, required — The opening price at the end of the 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/revisions/81ee223d4908/schema)
