fx_matrix
Cross-rate matrix for 2-12 currencies — Full cross-rate table for a set of currencies on the latest day or a past date: matrix[A][B] = units of B per 1 unit of A. Frankfurter blended daily reference rates (~160 fiat currencies plus major crypto and precious metals; free for commercial use); weekends and holidays fall back to the latest earlier rate. Params: currencies (2-12 codes, comma list, e.g. USD,EUR,GBP,JPY); optional date (YYYY-MM-DD). Price: $0.002 USDC (Base, via x402).
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": {
"currencies": "<currencies>"
},
"name": "fx_matrix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currencies | Yes | USD,EUR,GBP,JPY |