Exchange rates API for AI agents
api.youraitools.co/fx/v1/rates
Exchange rates API for AI agents: every ECB reference rate for a base currency (or just the quotes you list) on the latest or a past date. Search intents: exchange rates api, fx rates table, currency rates today, usd exchange rates, ecb reference rates.
GET
https://api.youraitools.co/fx/v1/ratesUptime100% 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://api.youraitools.co/fx/v1/rates?base=USD"es=EUR%2CGBP%2CJPY");
console.log(await res.json());Example input
{
"base": "USD",
"quotes": "EUR,GBP,JPY"
}More from FXRate by YourAIToolsProvider status
- api.youraitools.co/fx/v1/convertCurrency converter API for AI agents: convert an amount from one currency to another (USD, EUR, GBP, JPY, CNY, INR, CAD, AUD, CHF and 21 more) at the official European Central Bank reference rate, today or on a past date back to 1999. Returns rate, result, inverse rate and the rate date. Search intents: currency converter api, fx convert, exchange rate api, convert usd to eur, forex rate, money co0.001
- api.youraitools.co/fx/v1/historyHistorical exchange rate API for AI agents: daily ECB reference rates for one currency pair between two dates (up to 366 days, back to 1999), with first, last, min, max and percent change. Search intents: historical exchange rates api, fx time series, currency history, eur usd chart data, forex history.0.002
