fxapi.app
無料通貨為替レートAPI
試してみる
上から通貨を選択してください
APIエンドポイント
単一ペア
2つの通貨間の為替レートを取得
/api/{base}/{target}.json
{
"base": "USD",
"target": "EUR",
"rate": 0.9234,
"timestamp": "2026-03-28T12:00:00Z"
}
基準通貨の全レート
基準通貨からの全為替レートを取得
/api/{base}.json
{
"base": "USD",
"timestamp": "2026-03-28T12:00:00Z",
"rates": { "EUR": 0.9234, "GBP": 0.7891, "JPY": 149.3, ... }
}
過去のレート
日付範囲の日次レートと統計情報を取得
/api/history/{base}/{target}.json?from=&to=
{
"base": "USD", "target": "EUR",
"from": "2026-01-01", "to": "2026-03-28",
"count": 87,
"stats": { "open": 0.92, "close": 0.93, "high": 0.95, "low": 0.91, "average": 0.93, "change": 0.01, "change_pct": 1.09 },
"rates": [{ "date": "2026-01-01", "rate": 0.92 }, ...]
}
OpenAPI仕様: /api/openapi.json
機能
5分ごとに更新
28,000以上の通貨ペア
APIキー不要
CORS対応
JSONレスポンス
グローバルエッジキャッシュ