Pushbuild

US Treasury Data API – National Debt, Rates & Auctions

Official US Treasury Fiscal Data: national debt to the penny, historical debt, average interest rates, interest expense, exchange rates, daily cash balance, receipts and outlays, securities auctions, savings bonds and gold reserve.

$0.24 per 1,000 records

Get an API key

Example request

POST /us-treasury-fiscal-data/run
{
  "maxItems": 20
}

What a response looks like

POST /us-treasury-fiscal-data/run{"maxItems": 5}
{"count": 5, "items": [{ "dataset": "debt-to-the-penny", "debt_held_public_amt": 32766722473715.61, "intragov_hold_amt": 7789398311268.04, "record_calendar_day": "05", "record_calendar_month": "11", "record_calendar_quarter": "4", "record_calendar_year": "2026", "record_date": "2026-11-05", "record_fiscal_quarter": "1", "record_fiscal_year": "2027", … ]}
debt-to-the-penny32,766,722,473,716debt-to-the-penny32,765,175,912,226debt-to-the-penny32,765,330,118,711debt-to-the-penny32,719,901,942,674debt-to-the-penny32,738,422,032,177
debt_held_public_amt by dataset in this sample response
datasetdebt_held_public_amtintragov_hold_amtrecord_calendar_dayrecord_calendar_monthrecord_calendar_quarter
debt-to-the-penny32,766,722,473,7167,789,398,311,26805114
debt-to-the-penny32,765,175,912,2267,785,054,135,38404114
debt-to-the-penny32,765,330,118,7117,782,073,452,27403114
debt-to-the-penny32,719,901,942,6747,782,179,023,42302114
debt-to-the-penny32,738,422,032,1777,786,087,980,88630104

Real rows returned by this API on 2026-11-09 for the request shown.

What it returns

Official data from the US Treasury's Fiscal Data service. Public domain.

Common uses

Macro dashboards, finance content, research, currency conversion at official Treasury rates, auction tracking. Pay per record.

Request

POST https://api.pushbuild.com/us-treasury-fiscal-data/run with a JSON body. Send your key in the X-API-Key header.

FieldTypeDescription
datasetstring: debt-to-the-penny, historical-debt-outstanding, monthly-public-debt, average-interest-rates, interest-expense, exchange-rates, daily-cash-balance, daily-deposits-withdrawals, monthly-receipts-outlays, securities-auctions, savings-bond-sales, gold-reserve, i-bond-ratesWhich Treasury dataset to return. Default: "debt-to-the-penny".
startDatestringRecords on or after (YYYY-MM-DD).
endDatestringRecords on or before (YYYY-MM-DD).
filterstringFiscal Data filter syntax, e.g. country:eq:Canada or security_type:eq:Bill.
sortstringField to sort by; prefix - for descending. Default: "-record_date".
maxItemsintegerMaximum items to return (1-500). Default: 100.

Example

curl -X POST https://api.pushbuild.com/us-treasury-fiscal-data/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"maxItems": 20}'

Response

{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}

Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.

Pricing

Pay only for results returned: $0.24 per 1,000 records. No charge for errors or empty searches.

RecordsCost
1,000$0.24
10,000$2.40
100,000$24.00
1,000,000$240.00
4,166 a monthFree ($1 monthly credit)

Use it from Claude, ChatGPT or Cursor

This API is also an MCP server: https://api.pushbuild.com/mcp/us-treasury-fiscal-data. Add it to any assistant that supports remote MCP servers, with your key in the X-API-Key header. Same prices. Setup for each app.

Tell us what you need built.

Questions about this API, higher volumes, or a data source you need that we don't cover yet.

hello@pushbuild.com

New APIs and data, twice a month

New data APIs, coverage changes and analysis from Pushbuild. No spam; one click to leave.

Tell us about your project

A few questions so we can come back with a written scope. We reply within one business day.

Want this data inside your own app or CRM? API integrations and data sync