theaiworldnetwork.com/v1/data/currency_convert
Convert an amount between EUR and the ~30 currencies in the European Central Bank's euro foreign exchange reference rates (cross rates computed through EUR). Returns the rate date, the unmodified ECB rates used, and attribution (Source: ECB statistics). Published for information only; the ECB strongly discourages using these rates for transactions. Not a live market quote. Paid via x402 in REAL US
POST
https://theaiworldnetwork.com/v1/data/currency_convertUptime100% of 4 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://theaiworldnetwork.com/v1/data/currency_convert", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"to":"EUR","from":"USD","amount":100}),
});
console.log(await res.json());Example input
{
"to": "EUR",
"from": "USD",
"amount": 100
}