Naar de inhoud
GET /v1/meta

Service metadata

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "note": "Look up a stock by its ticker (symbol=AAPL) and a range=1m|3m|6m|1y|2y|5y (default 1y), or pass explicit from=YYYY-MM-DD & to=YYYY-MM-DD. Annualised volatility uses daily log returns and a 252-day year.",
        "source": "Nasdaq public chart feed (api.nasdaq.com/api/quote/{symbol}/chart, live)",
        "service": "stockhistory-api",
        "endpoints": {
            "GET /v1/meta": "This document.",
            "GET /v1/stats": "Period statistics — high/low, return, avg volume, volatility (symbol=AAPL, range=1y).",
            "GET /v1/history": "Daily OHLC time series (symbol=AAPL, range=1y, or from/to)."
        },
        "description": "Live historical daily prices (OHLC) for US stocks from Nasdaq — the price-history-and-charting view. history = the daily open/high/low/close/volume time series over a chosen range; stats = the period statistics computed from that series (period high and low, latest close, total return, average daily volume and annualised volatility). Live, no key, nothing stored. Distinct from the live-quote, movers, earnings and analyst APIs.",
        "upstream_status": "ok"
    },
    "meta": {
        "timestamp": "2026-06-12T01:42:16.632Z",
        "request_id": "8474abaf-10cb-443b-a6c6-d652e71797cb"
    },
    "status": "ok",
    "message": "Meta",
    "success": true
}