Skip to content
GET /v1/history

Historical OHLCV candles

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/finance-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/finance-api/v1/history" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/finance-api/v1/history", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/finance-api/v1/history");
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/finance-api/v1/history",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "count": 21,
        "range": "1mo",
        "symbol": "AAPL",
        "candles": [
            {
                "low": 268.1400146484375,
                "high": 276,
                "open": 270.5,
                "time": "2026-04-30T13:30:00.000Z",
                "close": 271.3500061035156,
                "volume": 91848200
            },
            {
                "low": 278.3699951171875,
                "high": 287.2200012207031,
                "open": 278.8599853515625,
                "time": "2026-05-01T13:30:00.000Z",
                "close": 280.1400146484375,
                "volume": 79915400
            },
            {
                "low": 274.8599853515625,
                "high": 280.6300048828125,
                "open": 279.6600036621094,
                "time": "2026-05-04T13:30:00.000Z",
                "close": 276.8299865722656,
                "volume": 46668400
            },
            {
                "low": 276.5,
                "high": 284.57000732421875,
                "open": 276.92999267578125,
                "time": "2026-05-05T13:30:00.000Z",
                "close": 284.17999267578125,
                "volume": 49311700
            },
            {
                "low": 281.07000732421875,
                "high": 288.0299987792969,
                "open": 281.9200134277344,
                "time": "2026-05-06T13:30:00.000Z",
                "close": 287.510009765625,
                "volume": 58336100
            },
            {
                "low": 285.7799987792969,
                "high": 292.1300048828125,
                "open": 289.2699890136719,
                "time": "2026-05-07T13:30:00.000Z",
                "close": 287.44000244140625,
                "volume": 45224300
            },
            {
                "low": 290,
                "high": 294.760009765625,
                "open": 290.010009765625,
                "time": "2026-05-08T13:30:00.000Z",
                "close": 293.32000732421875,
                "volume": 52692800
            },
            {
                "low": 290.2300109863281,
                "high": 293.8800048828125,
                "open": 291.9800109863281,
                "time": "2026-05-11T13:30:00.000Z",
                "close": 292.67999267578125,
                "volume": 42247300
            },
            {
                "low": 292.55999755859375,
                "high": 295.2699890136719,
                "open": 292.55999755859375,
                "time": "2026-05-12T13:30:00.000Z",
                "close": 294.79998779296875,
                "volume": 45748100
            },
            {
                "low": 293.5,
                "high": 300.9200134277344,
                "open": 293.5,
                "time": "2026-05-13T13:30:00.000Z",
                "close": 298.8699951171875,
                "volume": 52684300
            },
            {
                "low": 295.3800048828125,
                "high": 3
…