End-of-day stock prices by ticker — OHLCV, 70+ exchanges
eodhd.eodDaily OHLCV for a symbol across 70+ global exchanges — symbol carries the exchange suffix (AAPL.US, BMW.XETRA)
- Price
- 価格未定プロバイダー原価
- Success rate
- —成功率データはまだありません成功率データはまだありません
- Latency p50
- ——
- Last verified
- 2026/08/15Verified working
GEThttps://toolswitch.dev/v1/tools/eodhd.eod?fmt=json&from=2026-08-10&symbol=AAPL.USPreviewTry online近日公開Provider docs ↗
- Uses platform quota
- Synchronous response
- Reads public data
パラメータ
| パラメータ | 型 | 必須 | 説明 | 例 |
|---|---|---|---|---|
| クエリパラメータ | ||||
to | 文字列 | 任意 | ||
fmt | 文字列 | 必須 | json — the API defaults to CSV without it | json |
from | 文字列 | 任意 | YYYY-MM-DD | 2026-08-10 |
period | 文字列 | 任意 | d | w | m | |
symbol | 文字列 | 必須 | path parameter — TICKER.EXCHANGE | AAPL.US |
- クエリパラメータ
to文字列任意fmt文字列必須json — the API defaults to CSV without it
例:
jsonfrom文字列任意YYYY-MM-DD
例:
2026-08-10period文字列任意d | w | m
symbol文字列必須path parameter — TICKER.EXCHANGE
例:
AAPL.US
コード例
$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。
Preview
curl -X GET 'https://toolswitch.dev/v1/tools/eodhd.eod?fmt=json&from=2026-08-10&symbol=AAPL.US' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/eodhd.eod?fmt=json&from=2026-08-10&symbol=AAPL.US",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/eodhd.eod?fmt=json&from=2026-08-10&symbol=AAPL.US", {
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 や認証方式は変更される場合があります。 パラメータはサンプルデータです。