get_coin_ohlc_data
Retrieve historical OHLCV (Open, High, Low, Close, Volume) data for cryptocurrencies to analyze price movements and trading patterns over specified time intervals.
Instructions
Get OHLCV (Open High Low Close Volume) data for the coin throughout time. This endpoint requires the ultra plan or higher.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| referenceCurrencyUuid | No | UUID of reference currency, in which all the prices are calculated. Defaults to US Dollar. Default value: yhjMzLPhuIDl | |
| interval | No | The interval determines the time period over which each OHLC item is determined. Default value: day Allowed values: minute 5minutes hour 8hours day week month | |
| limit | No | Limit the amount of time periods for which the OHLC data is retrieved. For example, when interval=hour and limit is 10, data will be returned for the last 10 hours. Default value: 50 Size range: 0-100 | 0 |
| uuid | Yes | UUID of the coin you want to request. UUIDs of coins can be found using the Get coins endpoint or by checking the URL on coinranking.com, e.g. https://coinranking.com/coin/Qwsogvtv82FCd+bitcoin-btc is the URL for Bitcoin, and the part before the + (Qwsogvtv82FCd) is the UUID. |