{"openapi":"3.1.0","info":{"title":"Finance API","version":"1.0.0","description":"Real-time quotes, historical price candles (OHLCV) and symbol search for stocks, ETFs, indices, foreign exchange and cryptocurrencies. Covers global markets — look up any ticker, index (^GSPC), FX pair (EURUSD=X) or coin (BTC-USD).","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/finance-api","description":"oanor gateway"}],"tags":[{"name":"Markets"}],"components":{"securitySchemes":{"oanorKey":{"type":"apiKey","in":"header","name":"x-oanor-key","description":"Get your key at https://www.oanor.com/developer/keys"}}},"security":[{"oanorKey":[]}],"paths":{"/v1/history":{"get":{"operationId":"get_v1_history","tags":["Markets"],"summary":"Historical OHLCV candles","description":"","parameters":[{"name":"symbol","in":"query","required":true,"description":"Ticker","schema":{"type":"string"},"example":"AAPL"},{"name":"range","in":"query","required":false,"description":"1d 5d 1mo 3mo 6mo 1y 2y 5y max","schema":{"type":"string"},"example":"1mo"},{"name":"interval","in":"query","required":false,"description":"1m 5m 1h 1d 1wk 1mo","schema":{"type":"string"},"example":"1d"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"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":300.45001220703125,"open":299.82000732421875,"time":"2026-05-14T13:30:00.000Z","close":298.2099914550781,"volume":35324900},{"low":296.5199890136719,"high":303.20001220703125,"open":297.8999938964844,"time":"2026-05-15T13:30:00.000Z","close":300.2300109863281,"volume":54862800},{"low":294.9100036621094,"high":300.6600036621094,"open":300.239990234375,"time":"2026-05-18T13:30:00.000Z","close":297.8399963378906,"volume":34483000},{"low":296.3500061035156,"high":300.510009765625,"open":296.9700012207031,"time":"2026-05-19T13:30:00.000Z","close":298.9700012207031,"volume":42243600},{"low":298.0799865722656,"high":302.79998779296875,"open":298.17999267578125,"time":"2026-05-20T13:30:00.000Z","close":302.25,"volume":38229800},{"low":300.3999938964844,"high":305.5400085449219,"open":301.05999755859375,"time":"2026-05-21T13:30:00.000Z","close":304.989990234375,"volume":42965100},{"low":305.8399963378906,"high":311.3999938964844,"open":306.1199951171875,"time":"2026-05-22T13:30:00.000Z","close":308.82000732421875,"volume":43670200},{"low":307.6700134277344,"high":311.82000732421875,"open":309.55999755859375,"time":"2026-05-26T13:30:00.000Z","close":308.3299865722656,"volume":48000500},{"low":308.29998779296875,"high":313.260009765625,"open":308.3299865722656,"time":"2026-05-27T13:30:00.000Z","close":310.8500061035156,"volume":50430900},{"low":309.57000732421875,"high":312.79998779296875,"open":310.67999267578125,"time":"2026-05-28T13:30:00.000Z","close":312.510009765625,"volume":48220400},{"low":309.5299987792969,"high":315,"open":311.7749938964844,"time":"2026-05-29T13:30:00.000Z","close":312.05999755859375,"volume":56454230}],"currency":"USD","interval":"1d"},"meta":{"timestamp":"2026-05-30T01:15:18.173Z","request_id":"9555d3b3-752f-4589-b7a9-351f0170cac0"},"status":"ok","message":"History retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/quote":{"get":{"operationId":"get_v1_quote","tags":["Markets"],"summary":"Real-time quote","description":"","parameters":[{"name":"symbol","in":"query","required":true,"description":"Ticker / index / FX / crypto","schema":{"type":"string"},"example":"AAPL"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"price":312.06,"change":-0.45,"symbol":"AAPL","volume":56454230,"day_low":309.53,"currency":"USD","day_high":315,"exchange":"NMS","timezone":"EDT","change_percent":-0.144,"previous_close":312.51,"instrument_type":"EQUITY"},"meta":{"timestamp":"2026-05-30T01:15:19.046Z","request_id":"b92ba6a6-26a2-410a-b99c-32789c533624"},"status":"ok","message":"Quote retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}},"/v1/search":{"get":{"operationId":"get_v1_search","tags":["Markets"],"summary":"Search symbols","description":"","parameters":[{"name":"q","in":"query","required":true,"description":"Company or ticker","schema":{"type":"string"},"example":"tesla"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"count":7,"query":"tesla","results":[{"name":"Tesla, Inc.","type":"EQUITY","symbol":"TSLA","exchange":"NASDAQ"},{"name":"Tesla Inc.                    R","type":"EQUITY","symbol":"TL0.F","exchange":"Frankfurt"},{"name":"Tesla Inc.                    R","type":"EQUITY","symbol":"TL0.DE","exchange":"XETRA"},{"name":"TESLA","type":"EQUITY","symbol":"1TSLA.MI","exchange":"Milan"},{"name":"LEVERAGE SHARES PUBLIC LIMITED ","type":"ETF","symbol":"TSL3.L","exchange":"London"},{"name":"LEVERAGE SHARES PUBLIC LIMITED ","type":"ETF","symbol":"STSL.L","exchange":"London"},{"name":"KODEX TESLA Covered Call Balanc","type":"ETF","symbol":"475080.KS","exchange":"Korea"}]},"meta":{"timestamp":"2026-05-30T01:15:19.705Z","request_id":"8fff6cf8-59e8-435a-95bd-a6e716c3c487"},"status":"ok","message":"Search results retrieved successfully","success":true}}}},"401":{"description":"Missing or invalid x-oanor-key header"},"402":{"description":"Active subscription required"},"429":{"description":"Rate-limit or monthly quota reached"},"502":{"description":"Upstream did not respond"}}}}},"x-oanor-pricing":[{"slug":"free","name":"Free","price_cents_month":0,"monthly_call_quota":800,"rps_limit":1,"hard_limit":true},{"slug":"basic","name":"Basic","price_cents_month":2200,"monthly_call_quota":40000,"rps_limit":8,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":6900,"monthly_call_quota":200000,"rps_limit":25,"hard_limit":true},{"slug":"mega","name":"Mega","price_cents_month":16900,"monthly_call_quota":750000,"rps_limit":60,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/finance-api"}