Skip to content
Fourohtwo

Currency conversion

horizonpulse.dev/api/fx/convert

Currency conversion: convert an amount between EUR and 29 currencies, or between two of them, at the latest ECB euro reference rates, with the rate date and the rates used. Converted amounts and cross rates are calculated by Horizon Pulse, not published by the ECB. Not affiliated with the ECB. Information only, not for transaction pricing. Bad input or source down: not charged. USDC on Base. Free

BaseAnswering
GEThttps://horizonpulse.dev/api/fx/convert

Uptime100% 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://horizonpulse.dev/api/fx/convert?amount=100&from=USD&to=JPY");
console.log(await res.json());

Example input

{
  "amount": "100",
  "from": "USD",
  "to": "JPY"
}

More from Currency conversionProvider status