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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "fx_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| base | No | Base currency, ISO 4217 code, e.g. USD (default USD) | USD |
| days | No | Number of days back (1-365, default 30) | |
| symbols | No | Comma-separated target currencies, max 5, e.g. IDR,EUR (default IDR) | IDR |