Fx Rate
fx_rateFiat currency exchange rate (ECB reference rates via Frankfurter, with ExchangeRate-API fallback for 150+ currencies), optional amount conversion and historical date. Read-only. Price: $0.005 USDC per successful call (x402, Solana). Same tool over HTTPS: GET https://scorptech.it.com/api/x402/v1/fx-rate
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": {
"from": "<from>",
"to": "<to>"
},
"name": "fx_rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | ISO-4217 quote currency, e.g. EUR | |
| date | No | Historical date YYYY-MM-DD (ECB currencies only, 1999-01-04 onward) | |
| from | Yes | ISO-4217 base currency, e.g. USD | |
| amount | No | Amount of `from` to convert; default 1 |