Skip to content
Fourohtwo

All FX pairs, forex cross rates

agent-data-tools.revmesh2074.workers.dev/fx/all

All FX pairs, forex cross rates. All FX pairs in one call: cross rates for every pair among the major currencies (USD, EUR, GBP, JPY, CHF, CAD, AUD, CNY) or up to 12 chosen ones, from the European Central Bank's daily reference rates, with the date they apply to. Use to fill a forex rate table, convert between many currencies at once, or check a cross rate. Reference mid rates, not live bid/ask.

BasePolygonArbitrumSolanaAnswering
GEThttps://agent-data-tools.revmesh2074.workers.dev/fx/all

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

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://agent-data-tools.revmesh2074.workers.dev/fx/all?currencies=USD%2CEUR%2CGBP");
console.log(await res.json());

Example input

{
  "currencies": "USD,EUR,GBP"
}