Last updated: 5/15/2025
This documentation provides details on how to use the Dollar-Euro Converter API endpoints. Our API allows you to access real-time and historical exchange rates.
All API requests should be made to: https://dollareuro.de/api
Currently, no authentication is required to use our API. However, we do implement rate limiting to prevent abuse. Please do not make more than 100 requests per hour.
GET /api/rates
This endpoint returns the latest exchange rates with USD as the base currency.
No parameters required.
{
"data": {
"currency": "USD",
"rates": {
"EUR": 0.85,
"GBP": 0.75,
"JPY": 110.2,
// other currencies...
},
"updated_at": "2023-09-15T12:34:56Z"
}
}
currency
: The base currency (always "USD")rates
: An object containing currency codes as keys and exchange rates as valuesupdated_at
: ISO 8601 timestamp indicating when the rates were last updatedcurl https://dollareuro.de/api/rates
GET /api/rates/history
This endpoint returns historical exchange rates for a specified currency over a specified time period.
Parameter | Type | Required | Description |
---|---|---|---|
currency | string | Yes | The currency code to get historical rates for (e.g., "EUR") |
range | number | Yes | The number of days to look back. Valid values: 1, 7, 30, 60, 120, 365 |
step | string | Yes | The time interval for data points. Valid values: "minute", "hourly", "daily" |
{
"currency": "EUR",
"range": 30,
"step": "daily",
"data": [
{
"date": "2023-09-15T00:00:00Z",
"rate": 0.85
},
{
"date": "2023-09-14T00:00:00Z",
"rate": 0.84
},
// more data points...
],
"count": 30
}
currency
: The requested currency coderange
: The requested range in daysstep
: The requested time intervaldata
: An array of data points, each containing a date and ratecount
: The number of data points returnedcurl https://dollareuro.de/api/rates/history?currency=EUR&range=30&step=daily
To ensure fair usage, we limit API requests to 100 per hour per IP address. If you exceed this limit, you will receive a 429 Too Many Requests response.
If you have any questions or need assistance with our API, please contact us at:
Email: [email protected]