Skip to content
Fourohtwo

Currency exchange rate between two currencies

api.kadec0.xyz/v1/exchange-rate

Currency exchange rate between two currencies. Returns the latest official reference rate for a currency pair, the inverse rate, and the rate date, across about 160 active ISO 4217 currencies drawn from the ECB and other central banks. For currency conversion, pricing, invoicing and accounting. Daily reference rates, not live trading quotes. Keyless.

BaseUnchecked
GEThttps://api.kadec0.xyz/v1/exchange-rate

UptimeNot 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://api.kadec0.xyz/v1/exchange-rate?from=USD&to=EUR");
console.log(await res.json());

Example input

{
  "from": "USD",
  "to": "EUR"
}

More from Currency Exchange Rate