What a response looks like
{"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_held_public_amt by dataset in this sample response| dataset | debt_held_public_amt | intragov_hold_amt | record_calendar_day | record_calendar_month | record_calendar_quarter |
|---|---|---|---|---|---|
| debt-to-the-penny | 32,766,722,473,716 | 7,789,398,311,268 | 05 | 11 | 4 |
| debt-to-the-penny | 32,765,175,912,226 | 7,785,054,135,384 | 04 | 11 | 4 |
| debt-to-the-penny | 32,765,330,118,711 | 7,782,073,452,274 | 03 | 11 | 4 |
| debt-to-the-penny | 32,719,901,942,674 | 7,782,179,023,423 | 02 | 11 | 4 |
| debt-to-the-penny | 32,738,422,032,177 | 7,786,087,980,886 | 30 | 10 | 4 |
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.
| Field | Type | Description |
|---|---|---|
dataset | string: 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-rates | Which Treasury dataset to return. Default: "debt-to-the-penny". |
startDate | string | Records on or after (YYYY-MM-DD). |
endDate | string | Records on or before (YYYY-MM-DD). |
filter | string | Fiscal Data filter syntax, e.g. country:eq:Canada or security_type:eq:Bill. |
sort | string | Field to sort by; prefix - for descending. Default: "-record_date". |
maxItems | integer | Maximum 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.
| Records | Cost |
|---|---|
| 1,000 | $0.24 |
| 10,000 | $2.40 |
| 100,000 | $24.00 |
| 1,000,000 | $240.00 |
| 4,166 a month | Free ($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.comNew APIs and data, twice a month
New data APIs, coverage changes and analysis from Pushbuild. No spam; one click to leave.
Want this data inside your own app or CRM? API integrations and data sync