cURL
curl --request GET \ --url https://api.blockworks.com/v1/assets/{idOrSlug}/ohlcv \ --header 'x-api-key: <api-key>'
{ "open": 2991.0164373997, "high": 4514.81, "low": 4347.24, "close": 2972.9752699223, "volume": 14018548707.668, "updated_at": 1759454319, "asset_code": "ETH", "asset_slug": "ethereum" }
Get OHLCV (Open, High, Low, Close, Volume) data for the last 24 hours for a single asset. Returns only the OHLCV data with asset identifiers.
OHLCV data for the specified asset
Unix timestamp
20
100