/v1/breakout
One pair's Donchian channel & breakout status
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
curl "https://api.oanor.com/cryptobreakout-api/v1/breakout" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/cryptobreakout-api/v1/breakout", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/cryptobreakout-api/v1/breakout");
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/cryptobreakout-api/v1/breakout",
headers={"x-oanor-key": "oanor_test_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo health check.
{
"data": {
"coin": "BTC",
"note": "Donchian bands are the highest high / lowest low of the prior 20 completed daily candles. status=new_high means price has cleared the upper band (breakout); new_low is a breakdown. channel_position_pct: 0 at the low, 100 at the high.",
"price": 63717.89,
"source": "Binance",
"status": "inside",
"symbol": "BTCUSDT",
"lookback_days": 20,
"donchian_lower": 59130.91,
"donchian_upper": 78080,
"channel_position_pct": 24.2,
"distance_to_lower_pct": 7.76,
"distance_to_upper_pct": -18.39
},
"meta": {
"timestamp": "2026-06-12T10:35:45.879Z",
"request_id": "ab8cd167-a00e-4250-a40f-da62b5b2ac4c"
},
"status": "ok",
"message": "Breakout retrieved successfully",
"success": true
}