/v1/meta
Service metadata
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}