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/callプロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- 2026/08/15Verified working
GEThttps://toolswitch.dev/v1/tools/marketstack.eod?limit=3&symbols=AAPLPreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
sort | 文字列 | 任意 | DESC (default) | ASC | |
limit | 整数 | 任意 | rows per page, default 100, max 1000 | 3 |
offset | 整数 | 任意 | ||
date_to | 文字列 | 任意 | YYYY-MM-DD | |
symbols | 文字列 | 必須 | comma-separated tickers (AAPL,MSFT); non-US symbols carry the exchange MIC (BMW.XETRA) | AAPL |
date_from | 文字列 | 任意 | YYYY-MM-DD | |
- クエリパラメータ
sort文字列任意DESC (default) | ASC
limit整数任意rows per page, default 100, max 1000
例:
3offset整数任意date_to文字列任意YYYY-MM-DD
symbols文字列必須comma-separated tickers (AAPL,MSFT); non-US symbols carry the exchange MIC (BMW.XETRA)
例:
AAPLdate_from文字列任意YYYY-MM-DD
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
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());このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.000999/call です。サービス料を含みます。