/v1/meta
Spec
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/atr-api/v1/meta" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/atr-api/v1/meta", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/atr-api/v1/meta");
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/meta",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "candles = open:high:low:close, comma-separated, oldest first. period defaults to 14; you need at least period+1 candles. multiplier defaults to 3 (stops) / 2 (keltner).",
"source": "Computed in-process from caller-supplied OHLC candles (no upstream)",
"service": "atr-api",
"endpoints": {
"GET /v1/atr": "Average True Range + ATR% (candles=o:h:l:c,...&period=14).",
"GET /v1/meta": "This document.",
"GET /v1/stops": "Chandelier Exit + ATR trailing stop (candles=...&period=14&multiplier=3&entry=105&side=long).",
"GET /v1/keltner": "Keltner Channel — EMA mid with ATR bands (candles=...&period=14&multiplier=2)."
},
"description": "Live Average True Range and volatility-stop analytics computed on demand from OHLC candles. The atr endpoint returns the ATR (Wilder's smoothing), its value as a percent of price and the true-range series; the stops endpoint returns ATR-based stop levels — the Chandelier Exit for long and short and an ATR trailing stop from an entry price; the keltner endpoint returns the Keltner Channel (EMA mid-line with ATR bands). A volatility-and-stops engine that needs the full high/low/close, distinct from closes-only indicator tools and single-coin volatility feeds. Computed locally, nothing stored — works for forex, stocks, crypto or commodities.",
"upstream_status": "ok"
},
"meta": {
"timestamp": "2026-06-11T07:49:15.394Z",
"request_id": "3fd154ed-f212-4bc1-9fbc-e6ae149273d7"
},
"status": "ok",
"message": "Meta",
"success": true
}