Official exchange rates
get_exchange_ratesOfficial exchange rates: the European Central Bank's daily reference rates for about 30 currencies, converted to any base currency (USD by default). Source: ECB statistics. Reference rates, not trading rates.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_exchange_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | 3-letter currency code | |
| symbols | No | Comma-separated currency codes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The result. Its fields are documented at https://www.x402pulse.dev/developers for each endpoint. | |
| cached | No | true if the result came from x402Pulse's cache, false if it was just computed. |