/v1/candles
Recent OHLC candles
Try it live
10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.
It works. Grab an API key and use it in your project.
Get an API keyCode snippets
curl "https://api.oanor.com/coinbase-api/v1/candles" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/coinbase-api/v1/candles", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/coinbase-api/v1/candles");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/coinbase-api/v1/candles",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"pair": "BTC-USD",
"count": 50,
"source": "Coinbase Exchange",
"candles": [
{
"iso": "2026-06-09T11:00:00.000Z",
"low": 62455.96,
"high": 62776.37,
"open": 62748.74,
"time": 1781002800,
"close": 62556.32,
"volume": 207.78066303
},
{
"iso": "2026-06-09T10:00:00.000Z",
"low": 62553.79,
"high": 62800.36,
"open": 62681.91,
"time": 1780999200,
"close": 62748.74,
"volume": 234.38910067
},
{
"iso": "2026-06-09T09:00:00.000Z",
"low": 62551.08,
"high": 62920.55,
"open": 62808.18,
"time": 1780995600,
"close": 62681.91,
"volume": 300.26431333
},
{
"iso": "2026-06-09T08:00:00.000Z",
"low": 62714.7,
"high": 63176.99,
"open": 63158.51,
"time": 1780992000,
"close": 62808.18,
"volume": 280.63284017
},
{
"iso": "2026-06-09T07:00:00.000Z",
"low": 62948.88,
"high": 63408,
"open": 63263.99,
"time": 1780988400,
"close": 63158.51,
"volume": 195.17992104
},
{
"iso": "2026-06-09T06:00:00.000Z",
"low": 63189.8,
"high": 63472.8,
"open": 63306.18,
"time": 1780984800,
"close": 63263.98,
"volume": 130.00059186
},
{
"iso": "2026-06-09T05:00:00.000Z",
"low": 63077,
"high": 63490.49,
"open": 63199.32,
"time": 1780981200,
"close": 63306.18,
"volume": 126.14574273
},
{
"iso": "2026-06-09T04:00:00.000Z",
"low": 62714.49,
"high": 63396.66,
"open": 62842.86,
"time": 1780977600,
"close": 63199.32,
"volume": 280.42140236
},
{
"iso": "2026-06-09T03:00:00.000Z",
"low": 62674.02,
"high": 62949.5,
"open": 62846.57,
"time": 1780974000,
"close": 62842.08,
"volume": 161.43476562
},
{
"iso": "2026-06-09T02:00:00.000Z",
"low": 62512.95,
"high": 62848.82,
"open": 62740,
"time": 1780970400,
"close": 62846.56,
"volume": 110.330
…