Sub-second ECB Frankfurter + open.er-api multi-currency fiat exchange rates, exact conversion & 7d/30d historical trend ($0.005 USDC).
x402 Endpoint: POST https://agentx402.fyi/x402/finance/fx-rates
Remote MCP: POST https://agentx402.fyi/mcp (Streamable HTTP JSON-RPC 2.0)
PayTo Wallet (USDC): 0x71256BBb403B88A347E67b7ADad89ed28b4e16d6 (Gasless via Coinbase CDP Facilitator)
curl -i -X POST https://agentx402.fyi/x402/finance/fx-rates \
-H 'Content-Type: application/json' \
-d '{"base": "USD", "targets": ["EUR", "GBP", "JPY", "CHF", "CAD", "MXN", "BRL"], "amount": 100.0, "history_days": 7}'import { wrapFetchWithPayment } from "@x402/fetch";
const fetchWithPay = wrapFetchWithPayment(fetch, walletClient);
const res = await fetchWithPay("https://agentx402.fyi/x402/finance/fx-rates", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({"base": "USD", "targets": ["EUR", "GBP", "JPY", "CHF", "CAD", "MXN", "BRL"], "amount": 100.0, "history_days": 7})
});
console.log(await res.json());{
"base": "USD",
"targets": [
"EUR",
"GBP",
"JPY",
"CHF",
"CAD",
"MXN",
"BRL"
],
"amount": 100.0,
"history_days": 7
}{
"base": "USD",
"amount": 100.0,
"date": "2026-12-01",
"rates": {
"EUR": 0.91684,
"GBP": 0.76596,
"JPY": 159.87
},
"converted": {
"EUR": 91.684,
"GBP": 76.596,
"JPY": 15987.0
},
"changes": {
"EUR": {
"change_pct": 0.51,
"period_high": 0.919,
"period_low": 0.912
}
}
}