fx-macro
v1.0.0FX reference rates + euro-area macro data (ECB/Eurostat), pay-per-call in USDC on Base via x402.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
fx_rates
Get latest FX reference rates for a base currency (Frankfurter, blended reference rates from 112 central banks + official sources). Costs $0.002 USDC per call, paid via x402 on Base.
| Parameter | Type | Description |
|---|---|---|
base | string | Base currency, ISO 4217 code, e.g. USD, EUR, IDR (default USD) |
symbols | string | Comma-separated target currencies, max 20, e.g. IDR,EUR,GBP (empty = all currencies) |
fx_convert
Convert an amount between two currencies at the reference rate. Costs $0.002 USDC per call, paid via x402 on Base.
| Parameter | Type | Description |
|---|---|---|
from * | string | Source currency, ISO 4217 code, e.g. USD |
to * | string | Target currency, ISO 4217 code, e.g. IDR |
amount | number | Amount to convert; must be > 0 and <= 1e12 (default 1) |
fx_history
Get daily historical FX rates over a window, with first/last rate and percent change. Costs $0.005 USDC per call, paid via x402 on Base.
| Parameter | Type | Description |
|---|---|---|
base | string | Base currency, ISO 4217 code, e.g. USD (default USD) |
days | integer | Number of days back (1-365, default 30) |
symbols | string | Comma-separated target currencies, max 5, e.g. IDR,EUR (default IDR) |
macro_ecb
Get euro-area macro indicators from ECB Statistical Data Warehouse + Eurostat: HICP inflation, real GDP, M3, ECB policy rates (MRO, DFR), unemployment. Partial delivery: if some series fail upstream, the successful ones are still returned and failed series listed as {code, error}, full $0.005 charged; only a total failure of all requested series returns an error with no charge. Costs $0.005 USDC per call, paid via x402 on Base.
| Parameter | Type | Description |
|---|---|---|
series | string | Comma-separated series codes, e.g. HICP,GDP,M3,MRO,DFR,UNEMP (empty = all 6 series) |
health
Check that the server is alive. Free, no payment required.
catalog
List all tools with their prices in USDC. Free, no payment required.