OMENZ FX Rates
www.omenz.org/api/tollbooth/v1/fx/convert
OMENZ FX Rates: convert an amount between ~30 currencies (USD, EUR, GBP, JPY, MXN, CAD, AUD, CHF, CNY, INR, BRL...) at the European Central Bank's official reference rate, today or any business day in the last 90 days (weekends/holidays use the previous business day, said so). Returns result, rate, inverse rate and the rate date. Deterministic and auditable for invoices, pricing and bookkeeping; n
GET
https://www.omenz.org/api/tollbooth/v1/fx/convertUptime100% 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://www.omenz.org/api/tollbooth/v1/fx/convert?amount=100&from=USD&to=EUR");
console.log(await res.json());Example input
{
"amount": "100",
"from": "USD",
"to": "EUR"
}