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

# Price OHLCV

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

This endpoint returns metrics related to Stablecoin's Index 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 a given window.  

At this endpoint, metrics are calculated by Minute, Hour and Day. 

Stablecoin Index Price is calculated by taking VWAP(Volume Weighted Average Price) of Stablecoin price data aggregated from global exchanges. You can check supported exchanges [here](https://www.notion.so/cqlive/Stablecoins-ERC20-Exchange-List-e33b9baeae094fb090983dc1e1183b05).

## Query parameters

- `token` string, required
- `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/revisions/81ee223d4908/schema)
