Authorizations
Path Parameters
coin ID
*refers to /coins/list
.
Example:
"bitcoin"
Query Parameters
target currency of price data
*refers to /simple/supported_vs_currencies
.
Example:
"usd"
data up to number of days ago
Available options:
1
, 7
, 14
, 30
, 90
, 180
, 365
, max
data interval, leave empty for auto granularity
Available options:
daily
, hourly
decimal place for currency price value
Available options:
full
, 0
, 1
, 2
, 3
, 4
, 5
, 6
, 7
, 8
, 9
, 10
, 11
, 12
, 13
, 14
, 15
, 16
, 17
, 18
Response
200 - application/json
Get coin's OHLC
The response is of type number[][]
.