GET
/
coins
/
{coin_id}
/
ohlcv
/
latest
CLI
curl --request GET \
--url 'https://api.coinpaprika.com/v1/coins/btc-bitcoin/ohlcv/latest'
[
  {
    "time_open": "2018-03-01T00:00:00Z",
    "time_close": "2018-03-01T23:59:59Z",
    "open": 856.012,
    "high": 880.302,
    "low": 851.92,
    "close": 872.2,
    "volume": 1868520000,
    "market_cap": 83808161204
  }
]

Path Parameters

coin_id
string
required
Example:

"btc-bitcoin"

Query Parameters

quote
string
default:usd

returned data quote (available values: usd btc)

Response

200
application/json

successful operation

The response is of type object[].