{"openapi":"3.1.0","info":{"title":"Chart Convert API","version":"1.0.0","description":"Live conversion of OHLC candles into the alternative chart types traders use to filter noise — computed on demand, no key, nothing cached. Convert candles to Heikin-Ashi (which smooths price action and clarifies trend); build Renko bricks from a price series and a brick size (stripping out time and small moves); and produce a Three Line Break chart (which only prints a new line on a confirmed move). Each carries the latest trend direction. Works for any market — forex, stocks, crypto or commodities. A chart-transformation engine, distinct from pattern-detection and indicator tools: it turns ordinary candles into the trend-clarifying chart types a discretionary trader reads.","contact":{"name":"PremiumApi","url":"https://www.oanor.com/by/premiumapi"}},"servers":[{"url":"https://api.oanor.com/chartconvert-api","description":"oanor gateway"}],"tags":[{"name":"Chart Convert"}],"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/heikin-ashi":{"get":{"operationId":"get_v1_heikin_ashi","tags":["Chart Convert"],"summary":"Convert candles to Heikin-Ashi","description":"","parameters":[{"name":"candles","in":"query","required":true,"description":"OHLC candles open:high:low:close, comma-separated, oldest first","schema":{"type":"string"},"example":"10:11:9.5:10.5,10.5:11.5:10.2:11.2,11.2:11.4:10.8:10.9,10.9:11:10.5:10.6,10.6:11.3:10.5:11.2"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"type":"heikin-ashi","count":5,"trend":"bullish","source":"CHARTCONVERT","candles":[{"low":9.5,"high":11,"open":10.25,"close":10.25,"color":"bullish"},{"low":10.2,"high":11.5,"open":10.25,"close":10.85,"color":"bullish"},{"low":10.55,"high":11.4,"open":10.55,"close":11.075,"color":"bullish"},{"low":10.5,"high":11,"open":10.8125,"close":10.75,"color":"bearish"},{"low":10.5,"high":11.3,"open":10.78125,"close":10.9,"color":"bullish"}]},"meta":{"timestamp":"2026-06-10T22:56:08.966Z","request_id":"46289a1f-1915-4f72-a835-886eae6f9145"},"status":"ok","message":"Heikin-Ashi computed","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/line-break":{"get":{"operationId":"get_v1_line_break","tags":["Chart Convert"],"summary":"Three Line Break chart","description":"","parameters":[{"name":"candles","in":"query","required":true,"description":"OHLC candles (or use prices=close1,close2,...)","schema":{"type":"string"},"example":"10:11:9.5:10.5,10.5:11.5:10.2:11.2,11.2:11.4:10.8:10.9,10.9:11:10.5:10.6,10.6:11.3:10.5:11.2"},{"name":"lines","in":"query","required":false,"description":"Lines to break for a reversal (default 3)","schema":{"type":"string"},"example":"3"}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"type":"three-line-break","count":1,"lines":[{"open":10.5,"close":11.2,"direction":"up"}],"trend":"up","source":"CHARTCONVERT","up_lines":1,"down_lines":0,"lines_param":3},"meta":{"timestamp":"2026-06-10T22:56:09.061Z","request_id":"aef4b5cf-1420-493c-a8e5-3a8797c47537"},"status":"ok","message":"Three Line Break computed","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/meta":{"get":{"operationId":"get_v1_meta","tags":["Chart Convert"],"summary":"Service metadata and endpoint list","description":"","parameters":[],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"note":"candles = open:high:low:close, comma-separated, oldest first. Renko/line-break can also take prices=close1,close2,...","source":"Computed in-process from caller-supplied OHLC candles (no upstream)","service":"chartconvert-api","endpoints":{"GET /v1/meta":"This document.","GET /v1/renko":"Renko bricks from closes + a brick size (candles=... or prices=..., brick=2 or brick_pct=1).","GET /v1/line-break":"Three Line Break chart (candles=... or prices=..., lines=3).","GET /v1/heikin-ashi":"Convert candles to Heikin-Ashi (candles=o:h:l:c,...)."},"description":"Live conversion of OHLC candles into alternative chart types traders use to filter noise. The heikin-ashi endpoint returns Heikin-Ashi candles, which smooth price action and clarify trend; the renko endpoint returns Renko bricks from a price series and a brick size, stripping out time and small moves; the line-break endpoint returns a Three Line Break chart, which only prints a new line on a confirmed move. Each carries the latest trend direction. Works for any market — forex, stocks, crypto or commodities. A chart-transformation engine, distinct from pattern-detection and indicator tools.","upstream_status":"ok"},"meta":{"timestamp":"2026-06-10T22:56:09.164Z","request_id":"e5abf3e0-6216-48c9-8099-75f986eca7c7"},"status":"ok","message":"Meta","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/renko":{"get":{"operationId":"get_v1_renko","tags":["Chart Convert"],"summary":"Renko bricks from a price series + brick size","description":"","parameters":[{"name":"candles","in":"query","required":true,"description":"OHLC candles (or use prices=close1,close2,...)","schema":{"type":"string"},"example":"10:11:9.5:10.5,10.5:11.5:10.2:11.2,11.2:11.4:10.8:10.9,10.9:11:10.5:10.6,10.6:11.3:10.5:11.2"},{"name":"brick","in":"query","required":false,"description":"Brick size in price units","schema":{"type":"string"},"example":"0.3"},{"name":"brick_pct","in":"query","required":false,"description":"Brick size as % of the first price (alternative to brick)","schema":{"type":"string"}}],"security":[{"oanorKey":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"example":{"data":{"type":"renko","count":4,"trend":"up","bricks":[{"open":10.5,"close":10.8,"direction":"up"},{"open":10.8,"close":11.1,"direction":"up"},{"open":11.1,"close":10.8,"direction":"down"},{"open":10.8,"close":11.1,"direction":"up"}],"source":"CHARTCONVERT","up_bricks":3,"brick_size":0.3,"down_bricks":1},"meta":{"timestamp":"2026-06-10T22:56:09.259Z","request_id":"e70d7e4e-51d6-4b50-a948-881661bba5ff"},"status":"ok","message":"Renko computed","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":5200,"rps_limit":3,"hard_limit":true},{"slug":"starter","name":"Starter","price_cents_month":620,"monthly_call_quota":116000,"rps_limit":10,"hard_limit":true},{"slug":"pro","name":"Pro","price_cents_month":1730,"monthly_call_quota":548000,"rps_limit":25,"hard_limit":true},{"slug":"business","name":"Business","price_cents_month":4160,"monthly_call_quota":3290000,"rps_limit":55,"hard_limit":true}],"x-oanor-marketplace-url":"https://www.oanor.com/api/chartconvert-api"}