fx-reference-rates.mick8511.workers.dev/rate
Currency exchange rates from the European Central Bank's official euro reference rates: convert an amount from one ISO 4217 currency to up to 30 others, today or on any date in the last 90 days. Cross rates computed via EUR.
GET
https://fx-reference-rates.mick8511.workers.dev/rateUptimeNot checked yet
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
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://fx-reference-rates.mick8511.workers.dev/rate?amount=100&from=USD&to=GBP%2CJPY");
console.log(await res.json());Example input
{
"amount": "100",
"from": "USD",
"to": "GBP,JPY"
}