Zum Hauptinhalt springen
GET
Get historical exchange rates
Der Endpunkt befindet sich in einer geschlossenen Beta. Der Zugriff und die verfügbaren Daten hängen von der Freischaltung und dem gespeicherten Kursbestand ab.
String
erforderlich
API-Schlüssel für Exchange Rates.
String
erforderlich
Basiswährung als ISO-4217-Code.
String
erforderlich
Datum im Format YYYY-MM-DD.
String
Optionale Zielwährungen als kommagetrennte ISO-4217-Codes. Ohne diesen Parameter werden alle verfügbaren Kurse zurückgegeben.
Die Antwort enthält die Basiswährung, das Kursdatum und die verfügbaren Zielkurse.

Abfrageparameter

api_key
string
erforderlich

Your unique API key for authentication

base
string
Standard: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>
erforderlich

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

Antwort

Successful response

base
string
erforderlich

The base currency used to get the exchange rates

Beispiel:

"EUR"

date
string<date>
erforderlich

The date the currencies were pulled from

Beispiel:

"2024-01-01"

exchange_rates
object
erforderlich

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

Beispiel: