v1
latestOpenAPI 3.0.02026-07-2224101.3 MBPrice 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
A market type from the table that we support. See here
A exchange from the table that we support. See here.
A TRX pair symbol from the table that we support. See here
Currently, we only support day.
This defines the starting time for which data will be gathered, formatted as YYYYMMDDTHHMMSS (indicating YYYY-MM-DDTHH:MM:SS, UTC time). If window=day is used, it can also be formatted as YYYYMMDD (date). If window=block is used, you can also specify the exact block height (e.g. 510000). If this field is not specified, response will include data from the earliest time.
This defines the ending time for which data will be gathered, formatted as YYYYMMDDTHHMMSS (indicating YYYY-MM-DDTHH:MM:SS, UTC time). If window=day is used, it can also be formatted as YYYYMMDD (date). If window=block is used, you can also specify the exact block height (e.g. 510000). If this field is not specified, response will include data from the latest time.
The maximum number of entries to return before the latest data point (or before to if specified). This field ranges from 1 to 100,000.
A format type about return message type. Supported formats are json, csv.
Response
Successful response.