Historical exchange rates for a currency pair
api.kadec0.xyz/v1/forex-history
Historical exchange rates for a currency pair. Returns the daily official reference-rate series between two dates (default the last 30 days, up to 1 year), with the period average, minimum, maximum, and percent change. For FX trend analysis, backdated currency conversion, and finance reporting. Business days only, from the ECB and other central banks. Keyless.
GET
https://api.kadec0.xyz/v1/forex-historyUptime100% of 2 checks 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://api.kadec0.xyz/v1/forex-history?end_date=2026-10-31&from=USD&start_date=2026-10-01&to=JPY");
console.log(await res.json());Example input
{
"end_date": "2026-10-31",
"from": "USD",
"start_date": "2026-10-01",
"to": "JPY"
}