OHLCV for a Coin address
Overview
The OHLC API provides OHLCV (Open, High, Low, Close, Volume) data for a given coin over a specified time range and bucket size.
Endpoint
GET /api/v1/partner/ohlcvParameters
coin_id
String
Yes
The coin identifier.
bucket
Integer
Yes
The time bucket size in minutes. Choices are: 1, 5, 15, 60(1 hour), 240(4 hours) , 1440(1 day), 10080(1 week), 43200(1 month).
from
Integer
No
Start timestamp (Unix time).
to
Integer
No
End timestamp (Unix time).
limit
Integer
No
The maximum number of bucket to return. Max value: 500, Default value: 500
Headers
x-api-key
No
API key for authentication.
Request Example
Response Format
Response Fields
0
timestamp
Unix timestamp for the bucket period.
1
open
The opening price.
2
high
The highest price.
3
low
The lowest price.
4
close
The closing price.
5
volume
Trading volume.
Notes
The response is optimized for speed and may include only the most recent bucket that has trades, ignoring some buckets.
See also: Environment Setup
Last updated