Skip to content
Fourohtwo

European Central Bank reference rates

x402-toolbox.vercel.app/fx

European Central Bank reference rates: latest or any date since 1999-01-04, any base, optional symbols list and amount to convert. About 30 currencies, published once per working day. Returns the publication date actually used. Not charged on bad input, no data for the date, or upstream failure. No API key.

BaseAnswering
GEThttps://x402-toolbox.vercel.app/fx

Uptime100% of 3 checks in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://x402-toolbox.vercel.app/fx?amount=100&base=USD&symbols=EUR%2CJPY");
console.log(await res.json());

Example input

{
  "amount": "100",
  "base": "USD",
  "symbols": "EUR,JPY"
}