Skip to content
Fourohtwo

4yearcycle.com/x402/fx-rates

Official daily foreign exchange reference rates from the European Central Bank (~30 currencies vs EUR, published each business day around 16:00 CET), rebased on request to any listed currency via EUR cross-rates and filtered to a requested symbol list; returns the reference date, the rate table and the ECB source attribution.

BaseAnswering
GEThttps://4yearcycle.com/x402/fx-rates

Uptime100% of 1 check 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://4yearcycle.com/x402/fx-rates?base=USD&symbols=EUR%2CGBP%2CJPY%2CCHF");
console.log(await res.json());

Example input

{
  "base": "USD",
  "symbols": "EUR,GBP,JPY,CHF"
}