Currency conversion (fiat + crypto, live or historical)
fx_convertConvert an amount between 300+ currencies: all ISO fiat currencies plus major crypto (BTC, ETH, USDC…). Daily mid-market rate, latest or any date since 2024-03-02. Returns rate, converted result, rate date and currency names. Indicative rates, not for trading. Price: $0.001 per call (USDC on Base via x402); the first 10 calls per day are free.
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_convert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Target currency code, e.g. AED | |
| date | No | Optional date YYYY-MM-DD for a historical rate (since 2024-03-02) | |
| from | Yes | Source currency code, e.g. USD | |
| amount | No | Amount to convert (default 1) |