Zum Inhalt springen
GET /v1/breakout

One pair's Donchian channel & breakout status

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/cryptobreakout-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}