List Treasury exchange rates
list_treasury_ratesUse this when the user wants the U.S. Treasury Reporting Rates of Exchange for a year: the December 31 rate of one currency or of all currencies, or the quarterly reports of that year, from the Treasury Fiscal Data reports (recorded copy since 2001, live API tried first), with a CSV. Rates are foreign units per 1 US dollar. Does not give live market rates or convert balances (use convert_foreign_balances for that).
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": {
"year": "<year>"
},
"name": "list_treasury_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| year | Yes | Calendar year of the Treasury report, 2001 to the last finished year, e.g. 2025. | |
| currency | No | Optional filter: ISO code (e.g. EUR), country (e.g. Mexico) or part of the Treasury description (e.g. Peso). Omit to list every currency. | |
| all_quarters | No | Optional: true lists the March 31, June 30, September 30 and December 31 reports of the year; default false lists only December 31. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| year | Yes | ||
| count | Yes | ||
| rates | Yes | ||
| report | Yes | ||
| source | Yes | ||
| downloads | Yes | ||
| rates_count | No |