メインコンテンツへスキップ
GET
Get historical exchange rates
このエンドポイントはクローズドベータ版です。アクセスには有効化が必要で、利用できる日付は保存済みデータによって決まります。
String
必須
Exchange Rates API キー。
String
必須
基準通貨の ISO 4217 コード。
String
必須
YYYY-MM-DD 形式の日付。
String
対象通貨の ISO 4217 コードをカンマで区切った任意の値。省略すると利用可能なレートがすべて返されます。
レスポンスには基準通貨、日付、取得可能な為替レートが含まれます。

クエリパラメータ

api_key
string
必須

Your unique API key for authentication

base
string
デフォルト:EUR

The base currency used to get the latest exchange rate(s) for. Uses the ISO 4217 currency standard

target
string

The target currency or currencies to get the exchange rate of versus the base currency. Multiple currencies should be separated by commas. If not specified, all available currencies will be returned.

date
string<date>
必須

The historical date you'd like to get rates from, in the format of YYYY-MM-DD

レスポンス

Successful response

base
string
必須

The base currency used to get the exchange rates

例:

"EUR"

date
string<date>
必須

The date the currencies were pulled from

例:

"2024-01-01"

exchange_rates
object
必須

A JSON Object containing each of the target currency as the key and its exchange rate versus the base currency as that key's value

例: