← API catalog

FX conversion (ECB)

$0.003 / call
GET /api/v1/global/fx

Currency conversion using ECB euro reference rates. Informational only — not tradeable quotes.

Parameters

NameRequiredDescription
fromnoISO 4217 source currency (default EUR).
tonoISO 4217 target currency (default USD).
amountnoAmount to convert (default 1).
samplenoQuery param on GET; set to 1 for the free demo response.

Free sample

curl https://api.agenticweb.nl/api/v1/global/fx?sample=1

Paid call

Returns 402 Payment Required; pay over x402 and retry.

GET https://api.agenticweb.nl/api/v1/global/fx?from=EUR&to=USD&amount=100

Licensing

ECB euro reference rates (open data). Reuse permitted provided the ECB is cited as the source, our calculations are disclosed, and buyers are told the rates are available free of charge from https://www.ecb.europa.eu/stats/eurofxref/.

Reference rates only; every response carries an informational-only disclaimer.