Zum Inhalt springen
GET /v1/meta

Service metadata

Live testen

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

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

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

API-Key holen

Code-Snippets

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

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten Health-Check.

{
    "data": {
        "note": "metric is gap_frequency (default), fill_rate, avg_gap or continuation. window is 60-1000 trading days (default 252). threshold is the gap-size cutoff in percent, 0.1-5 (default 0.5). class filters to index/sector/commodity/bond/stock (default all). Read fresh per call, nothing cached.",
        "source": "Yahoo Finance daily OHLC, live",
        "classes": [
            "index",
            "sector",
            "commodity",
            "bond",
            "stock"
        ],
        "metrics": [
            "gap_frequency",
            "fill_rate",
            "avg_gap",
            "continuation"
        ],
        "service": "gapstats-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/asset": "Full gap profile of one instrument with its largest recent gaps (symbol=TSLA, window=252).",
            "GET /v1/screener": "Rank the universe by gap metric (metric=gap_frequency, window=252, class=all).",
            "GET /v1/universe": "The universe and its classes."
        },
        "description": "Opening gap statistics — the overnight-gap behaviour day-traders trade, live from Yahoo Finance daily OHLC (no key, nothing stored). For each instrument it returns how often it gaps up/down, the average gap size, the gap-fill rate (share of gaps where price traded back through the prior close) and the continuation rate (share closing in the gap's direction), plus the largest recent gaps. asset returns one instrument's full gap profile; screener ranks liquid stocks and ETFs by gappiness or gap-fill rate. The opening-gap / overnight-jump microstructure cut — distinct from the price, candlestick-pattern, volatility and risk APIs.",
        "gappiest_252d": "AMD",
        "universe_size": 20,
        "upstream_status": "ok",
        "default_gap_threshold_pct": 0.5
    },
    "meta": {
        "timestamp": "2026-06-12T10:34:44.306Z",
        "request_id": "9ae17d54-e878-4637-8719-6c06403b8a7f"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}