Skip to content
GET /v1/asset

One market Donchian channel card

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

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

Get an API key

Code snippets

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

Example response

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

{
    "data": {
        "key": "sp500",
        "note": "One market's Donchian card: 20- and 55-day channel highs/lows and midline, where price sits in the 20-day channel, and breakout flags above/below each channel.",
        "class": "equities",
        "label": "S&P 500",
        "price": 737.76,
        "source": "Yahoo Finance",
        "status": "inside channel",
        "symbol": "SPY",
        "breakout_up_20": false,
        "breakout_up_55": false,
        "donchian20_mid": 741.495,
        "breakout_down_20": false,
        "breakout_down_55": false,
        "donchian20_lower": 722.59,
        "donchian20_upper": 760.4,
        "donchian55_lower": 629.28,
        "donchian55_upper": 760.4,
        "channel_position_20": 40.1
    },
    "meta": {
        "timestamp": "2026-06-12T10:35:05.171Z",
        "request_id": "d1c261bd-b4a2-4cab-9f97-a96a3c1607d8"
    },
    "status": "ok",
    "message": "Asset retrieved successfully",
    "success": true
}