End-of-day stock prices by ticker — OHLCV, date range
marketstack.eodDaily open/high/low/close/volume for one or more tickers, with date range and adjusted values — 70+ exchanges worldwide
- Price
- $0.000999/callAu prix du fournisseur
- Success rate
- —Aucune donnée de taux de réussite pour le momentAucune donnée de taux de réussite pour le moment
- Latency p50
- ——
- Last verified
- 15 août 2026Verified working
GEThttps://toolswitch.dev/v1/tools/marketstack.eod?limit=3&symbols=AAPLPreviewTry onlineBientôtProvider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
Paramètres
| Paramètre | Type | Obligatoire | Description | Exemple |
|---|---|---|---|---|
| Paramètres de requête | ||||
sort | chaîne | Facultatif | DESC (default) | ASC | |
limit | entier | Facultatif | rows per page, default 100, max 1000 | 3 |
offset | entier | Facultatif | ||
date_to | chaîne | Facultatif | YYYY-MM-DD | |
symbols | chaîne | Obligatoire | comma-separated tickers (AAPL,MSFT); non-US symbols carry the exchange MIC (BMW.XETRA) | AAPL |
date_from | chaîne | Facultatif | YYYY-MM-DD | |
- Paramètres de requête
sortchaîneFacultatifDESC (default) | ASC
limitentierFacultatifrows per page, default 100, max 1000
Exemple :
3offsetentierFacultatifdate_tochaîneFacultatifYYYY-MM-DD
symbolschaîneObligatoirecomma-separated tickers (AAPL,MSFT); non-US symbols carry the exchange MIC (BMW.XETRA)
Exemple :
AAPLdate_fromchaîneFacultatifYYYY-MM-DD
Exemples de code
Remplacez $TOOLSWITCH_KEY par la clé créée dans la console.
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/marketstack.eod?limit=3&symbols=AAPL' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/marketstack.eod?limit=3&symbols=AAPL",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/marketstack.eod?limit=3&symbols=AAPL", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());Cette API de passerelle est en préversion ; son URL et son authentification peuvent changer. Les paramètres de l’exemple sont des données fictives. Les appels sont facturés à $0.000999/call, frais de service inclus.