Skip to content
GET /v1/heikin-ashi

Convert candles to Heikin-Ashi

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/chartconvert-api

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

Get an API key

Code snippets

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

Example response

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

{
    "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
}