get_live_fx_rates
Fetch on-chain and regulated-exchange FX quotes for 8 pairs with bid/ask/mid, ECB deviation, and thin-liquidity flags so agents can compare live rates and sizes.
Instructions
utilpeek: Use when an agent needs on-chain EUR/GBP/MXN/BRL/CAD/SGD/ZAR/IDR vs USD or exchange quotes for 8 pairs, not ECB. For the ECB fix or a past date use get_fx_rates. Returns on-chain FX bid/ask/mid with deviation vs ECB; indicative quotes from a regulated exchange for EURUSD, GBPUSD, USDJPY, AUDUSD, USDCAD, USDCHF, EURGBP, EURJPY (exchange_quotes). USDCHF/EURGBP/EURJPY exchange-only; USDCAD also on-chain. exchange_gaps compares matching mids (%). Indicative, not dealable or synchronized arbitrage. Pools cached 15 s; thin/errors reported. Exchange cache 60 s; stale quotes kept at most 300 s. Fetch age only; no venue timestamp. Exchange-only empty: 503 exchange_unavailable (not charged). Unknown pair: 422 (not charged). Typically 2 to 4 s (two chain reads). Price: USD 0.002. Free: 10 utilpeek calls per IP per UTC day. Docs: https://tanod.dev/learn/live-fx-rates-api.html
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_live_fx_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pairs | No | Pairs in market convention, for example EURUSD (USD per EUR) or USDMXN (MXN per USD). Omit for every supported pair. Exchange quotes cover EURUSD, GBPUSD, USDJPY, AUDUSD, USDCAD, USDCHF, EURGBP and EURJPY. USDJPY, AUDUSD, USDCHF, EURGBP and EURJPY are exchange-only; EURUSD, GBPUSD and USDCAD also have configured on-chain pools. An unknown pair is a 422 that lists the supported ones. | |
| amount_usd | No | Reference trade size in USD for the price-impact measurement, 100 to 100000 (default 1000). A pair whose impact at this size is 1% or more is listed under `thin`. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| thin | No | ||
| block | No | ||
| chain | No | ||
| error | No | Only on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object. | |
| pairs | No | ||
| cached | No | ||
| errors | No | ||
| method | No | ||
| licence | No | ||
| small_usd | No | ||
| timestamp | No | ||
| amount_usd | No | ||
| disclaimer | No | ||
| indicative | No | ||
| exchange_gaps | No | ||
| exchange_note | No | ||
| exchange_quotes | No | ||
| exchange_omitted | No |