Get G10 FX Rate by Date
get_fx_rate_by_dateReturns the exchange rate for a G10 currency pair on a specific date. Source: European Central Bank. Use YYYY-MM-DD format. Price: $0.01 USDC per call via x402 (Base or Solana).
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": {
"pair": "<pair>",
"date": "<date>"
},
"name": "get_fx_rate_by_date"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | Date in YYYY-MM-DD format, e.g. 2026-05-09 | |
| pair | Yes | G10 currency pair, e.g. EURUSD |