Get current exchange rate between two currencies using ECB data
Get current exchange rate between two currencies using ECB data. Supports all major currencies. Returns rate, inverse rate, and date.
Answeringour last check, 2026-10-10
1 of 1checks answered this week
621 msmedian answer time
$0.01listed price per call
$0.01price it asked us
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://exchange.use.x402atlas.com/currency-exchange-rate
| Category | Everything else |
|---|---|
| Provider host | exchange.use.x402atlas.com |
| Networks | eip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 3 from 3 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-10 | valid payment request | 402 | $0.01 | 621 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"from": "USD",
"to": "EUR"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"queryParams": {
"properties": {
"from": {
"default": "USD",
"description": "Optional base currency, 3-letter ISO 4217 code from the ECB set",
"enum": [
"AUD",
"BGN",
"BRL",
"CAD",
"CHF",
"CNY",
"CZK",
"DKK",
"EUR",
"GBP",
"HKD",
"HUF",
"IDR",
"ILS",
"INR",
"ISK",
"JPY",
"KRW",
"MXN",
"MYR",
"NOK",
"NZD",
"PHP",
"PLN",
"RON",
"SEK",
"SGD",
"THB",
"TRY",
"USD",
"ZAR"
],
"type": "string"
},
"to": {
"default": "EUR",
"description": "Optional quote currency, 3-letter ISO 4217 code from the ECB set, must differ from `from`",
"enum": [
"AUD",
"BGN",
"BRL",
"CAD",
"CHF",
"CNY",
"CZK",
"DKK",
"EUR",
"GBP",
"HKD",
"HUF",
"IDR",
"ILS",
"INR",
"ISK",
"JPY",
"KRW",
"MXN",
"MYR",
"NOK",
"NZD",
"PHP",
"PLN",
"RON",
"SEK",
"SGD",
"THB",
"TRY",
"USD",
"ZAR"
],
"type": "string"
}
},
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"date": {
"description": "ECB publication date (YYYY-MM-DD) of the rate; last business day on weekends/holidays.",
"format": "date",
"type": "string"
},
"from": {
"description": "Base currency code, upper-cased.",
"type": "string"
},
"inverse_rate": {
"description": "Units of `from` per 1 unit of `to` (1/rate, 6 decimals).",
"type": "number"
},
"rate": {
"description": "Units of `to` per 1 unit of `from`.",
"type": "number"
},
"to": {
"description": "Quote currency code, upper-cased.",
"type": "string"
}
},
"required": [
"from",
"to",
"rate",
"inverse_rate",
"date"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}