/v1/atr
Average True Range + ATR%
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/atr-api/v1/atr" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/atr-api/v1/atr", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/atr-api/v1/atr");
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/atr-api/v1/atr",
headers={"x-oanor-key": "oanor_test_..."}
)
Example response
A real response from this endpoint, captured by the latest health check.
{
"data": {
"atr": 3.93841108,
"method": "Wilder",
"period": 14,
"source": "ATR",
"atr_pct": 3.6808,
"candles": 16,
"last_close": 107,
"true_range_last": 4
},
"meta": {
"timestamp": "2026-06-11T07:49:15.174Z",
"request_id": "83f20bdb-ebbd-45b9-9fdd-cf23c61761e5"
},
"status": "ok",
"message": "ATR computed",
"success": true
}