> ## Documentation Index
> Fetch the complete documentation index at: https://docs.webrouter.net/llms.txt
> Use this file to discover all available pages before exploring further.

# US Treasury Fiscal Data

> US federal finance datasets from the Treasury's keyless Fiscal Data API: public debt, average interest rates on Treasury securities, Treasury reporting exchange rates, Daily and Monthly Treasury Statements.

![](https://mintcdn.com/webrouter/8QP9EZc8V07Kl-0I/logo/data-apis/treasury-fiscal-data.webp?fit=max\&auto=format\&n=8QP9EZc8V07Kl-0I\&q=85\&s=73075f19cb77a3cd139d52f12b7dced8)

[Web Catalog · Finance](https://docs.webrouter.net/data-apis.md?category=finance)

No key needed

Endpoints

5

Auth

None

[Vendor docs](https://fiscaldata.treasury.gov/api-documentation/)

## Notes

* Keyless. Every dataset takes the same fields, filter, sort, format and page\[number]/page\[size] parameters.
* Sort by -record\_date and filter on record\_date to get the latest rows; the default order is the first column ascending, which is usually the oldest date.
* Pages hold 100 records by default; meta carries total-count and total-pages, and links the next page.
* Every field comes back as a string, nulls as the string "null"; meta.dataTypes gives each field's type and meta.labels its readable name.
* Each dataset has its own version prefix (v1 or v2) in the path; the docs list all datasets.

## Endpoints

GET

Get total public debt outstanding

Total public debt outstanding by record date.

[Open](#treasury-fiscal-data-debt-to-penny)

GET

Get average interest rates on Treasury securities

Average interest rates on Treasury securities by record date.

[Open](#treasury-fiscal-data-debt-avg-interest-rates)

GET

Get Treasury reporting rates of exchange

Exchange rates of foreign currencies used for federal reporting, by record date (quarter-end dates in the docs' sample).

[Open](#treasury-fiscal-data-rates-of-exchange)

GET

Get Daily Treasury Statement deposits and withdrawals

Daily Treasury Statement deposits and withdrawals of operating cash.

[Open](#treasury-fiscal-data-dts-operating-cash)

GET

Get Monthly Treasury Statement summary

Monthly Treasury Statement table 1.

[Open](#treasury-fiscal-data-mts-table-1)

### Get total public debt outstanding

GET

`/v2/accounting/od/debt_to_penny`

`treasury-fiscal-data.debt.to_penny`

Total public debt outstanding by record date.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `fields`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated field names; all when unset. Leaving fields out can aggregate (sum) the rest.
      </td>
    </tr>

    <tr><td>`filter`</td><td>string</td><td>query</td><td>field:operator:value, comma-separated; operators lt, lte, gt, gte, eq, in (list in parentheses); dates YYYY-MM-DD. Example `record_date:gte:2024-01-01`</td></tr>
    <tr><td>`sort`</td><td>string</td><td>query</td><td>Comma-separated fields; prefix '-' for descending. Default: first column ascending. Example `-record_date`</td></tr>
    <tr><td>`format`</td><td>string</td><td>query</td><td>Answer format; json by default. One of `json`, `csv`, `xml`</td></tr>

    <tr>
      <td>
        `page_number`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Page, from 1.
      </td>
    </tr>

    <tr>
      <td>
        `page_size`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Records per page; 100 by default.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://fiscaldata.treasury.gov/api-documentation/) · Same job: [Banco Central do Brasil (SGS)](https://docs.webrouter.net/data-apis/bcb.md#bcb-series-get), [US Bureau of Economic Analysis](https://docs.webrouter.net/data-apis/bea.md#bea-regional-data), [Statistics Canada Web Data Service](https://docs.webrouter.net/data-apis/statcan.md#statcan-series-latest), [UNESCO Institute for Statistics Data API](https://docs.webrouter.net/data-apis/unesco-uis.md#unesco-uis-indicators-data), [WHO Global Health Observatory](https://docs.webrouter.net/data-apis/who-gho.md#who-gho-indicator-data)

```python Python theme={null}
router.call_data_api("treasury-fiscal-data.debt.to_penny", {'filter': 'record_date:gte:2024-01-01', 'sort': '-record_date'})
```

```text MCP theme={null}
call_data_api(endpoint="treasury-fiscal-data.debt.to_penny", params={"filter": "record_date:gte:2024-01-01", "sort": "-record_date"})
```

### Get average interest rates on Treasury securities

GET

`/v2/accounting/od/avg_interest_rates`

`treasury-fiscal-data.debt.avg_interest_rates`

Average interest rates on Treasury securities by record date.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `fields`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated field names; all when unset. Leaving fields out can aggregate (sum) the rest.
      </td>
    </tr>

    <tr><td>`filter`</td><td>string</td><td>query</td><td>field:operator:value, comma-separated; operators lt, lte, gt, gte, eq, in (list in parentheses); dates YYYY-MM-DD. Example `record_date:gte:2024-01-01`</td></tr>
    <tr><td>`sort`</td><td>string</td><td>query</td><td>Comma-separated fields; prefix '-' for descending. Default: first column ascending. Example `-record_date`</td></tr>
    <tr><td>`format`</td><td>string</td><td>query</td><td>Answer format; json by default. One of `json`, `csv`, `xml`</td></tr>

    <tr>
      <td>
        `page_number`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Page, from 1.
      </td>
    </tr>

    <tr>
      <td>
        `page_size`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Records per page; 100 by default.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://fiscaldata.treasury.gov/api-documentation/) · Same job: [Banco Central do Brasil (SGS)](https://docs.webrouter.net/data-apis/bcb.md#bcb-series-get), [US Bureau of Economic Analysis](https://docs.webrouter.net/data-apis/bea.md#bea-regional-data), [Statistics Canada Web Data Service](https://docs.webrouter.net/data-apis/statcan.md#statcan-series-latest), [UNESCO Institute for Statistics Data API](https://docs.webrouter.net/data-apis/unesco-uis.md#unesco-uis-indicators-data), [WHO Global Health Observatory](https://docs.webrouter.net/data-apis/who-gho.md#who-gho-indicator-data)

```python Python theme={null}
router.call_data_api("treasury-fiscal-data.debt.avg_interest_rates", {'filter': 'record_date:gte:2024-01-01', 'sort': '-record_date'})
```

```text MCP theme={null}
call_data_api(endpoint="treasury-fiscal-data.debt.avg_interest_rates", params={"filter": "record_date:gte:2024-01-01", "sort": "-record_date"})
```

### Get Treasury reporting rates of exchange

GET

`/v1/accounting/od/rates_of_exchange`

`treasury-fiscal-data.rates_of_exchange`

Exchange rates of foreign currencies used for federal reporting, by record date (quarter-end dates in the docs' sample).

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `fields`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated field names; all when unset. Leaving fields out can aggregate (sum) the rest.
      </td>
    </tr>

    <tr><td>`filter`</td><td>string</td><td>query</td><td>field:operator:value, comma-separated; operators lt, lte, gt, gte, eq, in (list in parentheses); dates YYYY-MM-DD. Example `record_date:gte:2024-01-01`</td></tr>
    <tr><td>`sort`</td><td>string</td><td>query</td><td>Comma-separated fields; prefix '-' for descending. Default: first column ascending. Example `-record_date`</td></tr>
    <tr><td>`format`</td><td>string</td><td>query</td><td>Answer format; json by default. One of `json`, `csv`, `xml`</td></tr>

    <tr>
      <td>
        `page_number`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Page, from 1.
      </td>
    </tr>

    <tr>
      <td>
        `page_size`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Records per page; 100 by default.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://fiscaldata.treasury.gov/api-documentation/) · Same job: [currencylayer](https://docs.webrouter.net/data-apis/currencylayer.md#currencylayer-live), [exchangerate.host](https://docs.webrouter.net/data-apis/exchangerate-host.md#exchangerate-host-live), [Fixer](https://docs.webrouter.net/data-apis/fixer.md#fixer-latest), [OANDA](https://docs.webrouter.net/data-apis/oanda.md#oanda-pricing-get), [Open Exchange Rates](https://docs.webrouter.net/data-apis/open-exchange-rates.md#open-exchange-rates-latest), [Wise](https://docs.webrouter.net/data-apis/wise.md#wise-rates-get)

```python Python theme={null}
router.call_data_api("treasury-fiscal-data.rates_of_exchange", {'filter': 'record_date:gte:2024-01-01', 'sort': '-record_date'})
```

```text MCP theme={null}
call_data_api(endpoint="treasury-fiscal-data.rates_of_exchange", params={"filter": "record_date:gte:2024-01-01", "sort": "-record_date"})
```

### Get Daily Treasury Statement deposits and withdrawals

GET

`/v1/accounting/dts/deposits_withdrawals_operating_cash`

`treasury-fiscal-data.dts.operating_cash`

Daily Treasury Statement deposits and withdrawals of operating cash.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `fields`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated field names; all when unset. Leaving fields out can aggregate (sum) the rest.
      </td>
    </tr>

    <tr><td>`filter`</td><td>string</td><td>query</td><td>field:operator:value, comma-separated; operators lt, lte, gt, gte, eq, in (list in parentheses); dates YYYY-MM-DD. Example `record_date:gte:2024-01-01`</td></tr>
    <tr><td>`sort`</td><td>string</td><td>query</td><td>Comma-separated fields; prefix '-' for descending. Default: first column ascending. Example `-record_date`</td></tr>
    <tr><td>`format`</td><td>string</td><td>query</td><td>Answer format; json by default. One of `json`, `csv`, `xml`</td></tr>

    <tr>
      <td>
        `page_number`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Page, from 1.
      </td>
    </tr>

    <tr>
      <td>
        `page_size`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Records per page; 100 by default.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://fiscaldata.treasury.gov/api-documentation/) · Same job: [Banco Central do Brasil (SGS)](https://docs.webrouter.net/data-apis/bcb.md#bcb-series-get), [US Bureau of Economic Analysis](https://docs.webrouter.net/data-apis/bea.md#bea-regional-data), [Statistics Canada Web Data Service](https://docs.webrouter.net/data-apis/statcan.md#statcan-series-latest), [UNESCO Institute for Statistics Data API](https://docs.webrouter.net/data-apis/unesco-uis.md#unesco-uis-indicators-data), [WHO Global Health Observatory](https://docs.webrouter.net/data-apis/who-gho.md#who-gho-indicator-data)

```python Python theme={null}
router.call_data_api("treasury-fiscal-data.dts.operating_cash", {'filter': 'record_date:gte:2024-01-01', 'sort': '-record_date'})
```

```text MCP theme={null}
call_data_api(endpoint="treasury-fiscal-data.dts.operating_cash", params={"filter": "record_date:gte:2024-01-01", "sort": "-record_date"})
```

### Get Monthly Treasury Statement summary

GET

`/v1/accounting/mts/mts_table_1`

`treasury-fiscal-data.mts.table_1`

Monthly Treasury Statement table 1.

Input

<table>
  <thead>
    <tr>
      <th>
        Name
      </th>

      <th>
        Type
      </th>

      <th>
        In
      </th>

      <th>
        Notes
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        `fields`
      </td>

      <td>
        string
      </td>

      <td>
        query
      </td>

      <td>
        Comma-separated field names; all when unset. Leaving fields out can aggregate (sum) the rest.
      </td>
    </tr>

    <tr><td>`filter`</td><td>string</td><td>query</td><td>field:operator:value, comma-separated; operators lt, lte, gt, gte, eq, in (list in parentheses); dates YYYY-MM-DD. Example `record_date:gte:2024-01-01`</td></tr>
    <tr><td>`sort`</td><td>string</td><td>query</td><td>Comma-separated fields; prefix '-' for descending. Default: first column ascending. Example `-record_date`</td></tr>
    <tr><td>`format`</td><td>string</td><td>query</td><td>Answer format; json by default. One of `json`, `csv`, `xml`</td></tr>

    <tr>
      <td>
        `page_number`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Page, from 1.
      </td>
    </tr>

    <tr>
      <td>
        `page_size`
      </td>

      <td>
        integer
      </td>

      <td>
        query
      </td>

      <td>
        Records per page; 100 by default.
      </td>
    </tr>
  </tbody>
</table>

[Vendor docs](https://fiscaldata.treasury.gov/api-documentation/) · Same job: [Banco Central do Brasil (SGS)](https://docs.webrouter.net/data-apis/bcb.md#bcb-series-get), [US Bureau of Economic Analysis](https://docs.webrouter.net/data-apis/bea.md#bea-regional-data), [Statistics Canada Web Data Service](https://docs.webrouter.net/data-apis/statcan.md#statcan-series-latest), [UNESCO Institute for Statistics Data API](https://docs.webrouter.net/data-apis/unesco-uis.md#unesco-uis-indicators-data), [WHO Global Health Observatory](https://docs.webrouter.net/data-apis/who-gho.md#who-gho-indicator-data)

```python Python theme={null}
router.call_data_api("treasury-fiscal-data.mts.table_1", {'filter': 'record_date:gte:2024-01-01', 'sort': '-record_date'})
```

```text MCP theme={null}
call_data_api(endpoint="treasury-fiscal-data.mts.table_1", params={"filter": "record_date:gte:2024-01-01", "sort": "-record_date"})
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.