# US Treasury reporting rates of exchange

Quarterly Treasury Reporting Rates of Exchange: official US government rates for converting foreign currency to US dollars.

- No API key needed to call
- Source: [US Treasury Fiscal Data](https://fiscaldata.treasury.gov/)
- Licence and terms: [offered free, without restriction](https://fiscaldata.treasury.gov/api-documentation/)
- Coverage: United States Treasury
- Answers are shared and cached for 21600 seconds.

## Questions you can ask

- What is the Treasury exchange rate for the Canadian dollar? (operation `rates_of_exchange`)
- What is the total US national debt today? (operation `debt_to_the_penny`)

## Operations

### Treasury reporting exchange rates

Answers: what is the official US Treasury quarterly exchange rate for a country's currency per US dollar? Newest first.

- `country`: required, string, Country name as Treasury lists it, for example Canada or United Kingdom.
- `since`: optional, string, Only records on or after this date \(YYYY-MM-DD\).
- `size`: optional, integer, default 4

Example: What is the Treasury exchange rate for the Canadian dollar?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"treasury_fiscal","operation":"rates_of_exchange","params":{"country":"Canada","size":2}}}
```

Over HTTP:

```
curl '/v1/connectors/treasury_fiscal/rates_of_exchange?country=Canada&size=2'
```

### US national debt to the penny

Answers: how much is the total US national debt outstanding today, and how much is held outside the government versus by government accounts? Daily figures in US dollars, newest first.

- `size`: optional, integer, default 2, How many of the latest daily records.

Example: What is the total US national debt today?

Over MCP:

```
{"tool":"call_connector_operation","arguments":{"connector":"treasury_fiscal","operation":"debt_to_the_penny","params":{"size":2}}}
```

Over HTTP:

```
curl '/v1/connectors/treasury_fiscal/debt_to_the_penny?size=2'
```

## Source notice

Source: U.S. Department of the Treasury, Bureau of the Fiscal Service, Fiscal Data. "The data is offered free, without restriction, and available to copy, adapt, redistribute, or otherwise use for non-commercial or commercial purposes." These are quarterly government reporting rates, not market rates.

## Missing something?

Tell us what data, endpoint or feature you wish we had. It is free and needs no signup: call the MCP tool request_capability, or POST a short description to https://agentnative.dennery.ai/v1/capabilities/request.
