fx-rates
What is this amount worth in another currency today, and how fast is each currency losing value?. Converts an amount between 30 currencies at the latest ECB reference rate (cross via EUR), adds USD/EUR equivalents and each issuer's headline CPI inflation (1y, 5y, purchasing power left). Computed by Lilambd from ECB and World Bank data. Routes: /answer (from*, to*, amount); /currencies (limit). Paid $0.05 USDC per call via x402 (_meta["x402/payment"]); set sample=true for a free 3-row preview.
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": {
"route": "<route>"
},
"name": "fx-rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| route | Yes | One of: /answer, /currencies. Replace {placeholders} with a value, e.g. /search or /HND. | |
| params | No | Query parameters, e.g. {"q":"tokyo","limit":"50"} | |
| sample | No | Free preview, max 3 rows |