Skip to content
Fourohtwo

FX rates and currency conversion reference

tienda.textokit.store/api/fx-rates

FX rates and currency conversion reference: daily exchange rates for up to 20 currencies against one base (USD, EUR, GBP, JPY, BRL, MXN, ARS and about 160 more) with rate, reference date and source URL from Frankfurter (central-bank data, MIT licence). Use this when an agent needs an official-style exchange rate to price, invoice or convert amounts and must cite where it came from. Daily rates, no

BaseAnswering
POSThttps://tienda.textokit.store/api/fx-rates

Uptime100% of 1 check 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://tienda.textokit.store/api/fx-rates", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"base":"USD","quotes":"EUR,GBP,BRL,ARS,MXN,JPY"}),
});
console.log(await res.json());

Example input

{
  "base": "USD",
  "quotes": "EUR,GBP,BRL,ARS,MXN,JPY"
}

More from TextokitProvider status