macro_fx
Official reference exchange rates (ECB and Bank Al-Maghrib fixings) for any pair among ~50 currencies including MAD, SAR, AED, TND, DZD, EGP and XOF; direct or computed cross with method and date. Price: $0.003 USDC per call, paid with x402 on Base.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"base": "<base>",
"quote": "<quote>"
},
"name": "macro_fx"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | Yes | ISO 4217 code | |
| quote | Yes | One or more ISO 4217 codes, comma-separated |