Naar de inhoud
GET /v1/asset

Full gap profile of one instrument with largest recent gaps

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/gapstats-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "name": "Tesla",
        "note": "Gap = open vs prior close beyond gap_threshold_pct (default 0.5%). gap_fill_rate = day traded back through the prior close; continuation_rate = closed in the gap's direction. largest_gaps lists the five biggest recent gaps with whether each filled. Read fresh per call, nothing cached.",
        "class": "stock",
        "reads": {
            "bias": "gaps tend to continue intraday",
            "fill": "gaps fill about half the time",
            "gappiness": "very gap-prone"
        },
        "source": "Yahoo Finance",
        "symbol": "TSLA",
        "gap_days": 179,
        "window_days": 252,
        "largest_gaps": [
            {
                "date": "2025-07-07",
                "filled": false,
                "gap_pct": -7.6,
                "direction": "down",
                "closed_in_gap_direction": false
            },
            {
                "date": "2025-09-15",
                "filled": false,
                "gap_pct": 6.87,
                "direction": "up",
                "closed_in_gap_direction": false
            },
            {
                "date": "2025-07-24",
                "filled": false,
                "gap_pct": -6.78,
                "direction": "down",
                "closed_in_gap_direction": true
            },
            {
                "date": "2025-07-01",
                "filled": false,
                "gap_pct": -6.04,
                "direction": "down",
                "closed_in_gap_direction": false
            },
            {
                "date": "2026-04-08",
                "filled": true,
                "gap_pct": 4.94,
                "direction": "up",
                "closed_in_gap_direction": false
            }
        ],
        "trading_days": 252,
        "avg_up_gap_pct": 1.42,
        "avg_abs_gap_pct": 1.51,
        "avg_down_gap_pct": -1.63,
        "gap_fill_rate_pct": 48.6,
        "gap_frequency_pct": 71,
        "gap_threshold_pct": 0.5,
        "up_gap_fill_rate_pct": 51.5,
        "up_gap_frequency_pct": 40.9,
        "continuation_rate_pct": 55.3,
        "down_gap_fill_rate_pct": 44.7,
        "down_gap_frequency_pct": 30.2
    },
    "meta": {
        "timestamp": "2026-06-12T10:34:44.039Z",
        "request_id": "be172552-a787-482d-a834-d91904f6eca5"
    },
    "status": "ok",
    "message": "Asset gap profile retrieved successfully",
    "success": true
}