F

Fiat Exchange Rates · FX

by Fiat Exchange Rates

GETBase

$0.003

per call · USD Coin on Base

Foreign-exchange rates for 30+ fiat currencies (ECB reference data). Query: base (3-letter code, default USD), symbols (optional comma list, e.g. EUR,GBP,JPY), date (optional YYYY-MM-DD for historical rates back to 1999). Returns {base, date, rates}. Use for currency conversion, international pricing, and FX monitoring.

Endpoint

GET https://x402.shizu.me/fx

2

Calls / 30d

2

Unique payers / 30d

Aug 30

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://x402.shizu.me/fx", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://x402.shizu.me/fx?base=USD&symbols=EUR%2CGBP%2CJPY" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "base": "USD",
  "date": "2026-07-07",
  "rates": {
    "EUR": 0.851,
    "GBP": 0.734,
    "JPY": 144.1
  }
}

Payment details

Pay to0x217e5fe265eb78b29067bf8324ef03a7d8e167c4
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Market Data and the homepage with a featured placement.

Get featured →

More from Fiat Exchange Rates & similar services