Skip to content
Fourohtwo

gogeta2-u35175.vm.elestio.app/agents/v1/fx/convert

Convert an amount between two currencies at the official ECB reference rate, today or any date since 1999, incl. CFA franc and Gulf pegs. Returns rate, amount, rate date.

BaseAnswering
GEThttps://gogeta2-u35175.vm.elestio.app/agents/v1/fx/convert

Uptime100% of 5 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://gogeta2-u35175.vm.elestio.app/agents/v1/fx/convert?to=EUR&from=USD&amount=1250");
console.log(await res.json());

Example input

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