← All 32 APIs · Home · Swagger / OpenAPI · x402 Manifest
$0.005 USDC / callFinance/DataBase & Polygon x402 v2

GPU-x402 Live Multi-Currency Fiat FX & Conversion Oracle

Sub-second ECB Frankfurter + open.er-api multi-currency fiat exchange rates, exact conversion & 7d/30d historical trend ($0.005 USDC).

Endpoint & Settlement Specs

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)

Quickstart (cURL — Returns x402 v2 Invoice + Bazaar Schema)

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}'

TypeScript Autonomous Agent (@x402/fetch)

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());

Example JSON Input

{
  "base": "USD",
  "targets": [
    "EUR",
    "GBP",
    "JPY",
    "CHF",
    "CAD",
    "MXN",
    "BRL"
  ],
  "amount": 100.0,
  "history_days": 7
}

Example JSON Output

{
  "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
    }
  }
}