/v1/quotes
Batch quotes for a watchlist
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/stocks-api/v1/quotes" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/stocks-api/v1/quotes", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/stocks-api/v1/quotes");
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/stocks-api/v1/quotes",
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": {
"count": 3,
"quotes": [
{
"name": "Apple Inc.",
"as_of": "2026-06-08T20:00:01.000Z",
"price": 301.54,
"change": -5.8,
"symbol": "AAPL",
"volume": 77764805,
"day_low": 301.17,
"currency": "USD",
"day_high": 317.4,
"exchange": "NasdaqGS",
"change_pct": -1.89,
"week52_low": 195.07,
"week52_high": 317.4,
"previous_close": 307.34,
"instrument_type": "EQUITY"
},
{
"name": "Microsoft Corporation",
"as_of": "2026-06-08T20:00:00.000Z",
"price": 411.74,
"change": -4.93,
"symbol": "MSFT",
"volume": 31980271,
"day_low": 408.56,
"currency": "USD",
"day_high": 417.16,
"exchange": "NasdaqGS",
"change_pct": -1.18,
"week52_low": 356.28,
"week52_high": 555.45,
"previous_close": 416.67,
"instrument_type": "EQUITY"
},
{
"name": "Tesla, Inc.",
"as_of": "2026-06-08T20:00:00.000Z",
"price": 408.95,
"change": 17.95,
"symbol": "TSLA",
"volume": 50178344,
"day_low": 394.72,
"currency": "USD",
"day_high": 412.94,
"exchange": "NasdaqGS",
"change_pct": 4.59,
"week52_low": 288.77,
"week52_high": 498.83,
"previous_close": 391,
"instrument_type": "EQUITY"
}
],
"requested": 3
},
"meta": {
"timestamp": "2026-06-09T03:02:23.360Z",
"request_id": "d7bfc3cf-668f-4bc2-900b-711c371b0f95"
},
"status": "ok",
"message": "Quotes retrieved successfully",
"success": true
}