getFxExchangeRates
Real-time foreign exchange (FX) mid-market spot rates, bid/ask spreads, and daily volatility for fiat currency pairs. Use when converting fiat currencies or checking real-time interbank Foreign Exchange (FX) mid-market spot rates, bid/ask spreads, and inverse rates between two 3-letter ISO currency codes. Do not use for cryptocurrency token prices (use getCryptoDexLiquidity) or central bank policy rates (use getCentralBankRates).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"base_currency": "<base_currency>",
"target_currency": "<target_currency>"
},
"name": "getFxExchangeRates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base_currency | Yes | 3-letter uppercase ISO 4217 base currency code (e.g., USD, EUR, GBP, CHF). | |
| target_currency | Yes | 3-letter uppercase ISO 4217 quote/target currency code (e.g., EUR, HUF, JPY, GBP). |