Data Blocks › API
US national debt by day
Records from the publisher's feed: US national debt by day
Facts about this data
| Update frequency | Every 7 days |
| Last successful read | 2026-12-03 06:41 UTC |
| Coverage | Newest records, kept as history |
| Confidence | high (Lowest source score 100/100) |
| How values are checked | Values are copied from the official feed by a fixed field mapping; every mapped path is validated against the live feed on each read. No values are generated. |
| Reporting period | 2026-11-02 to 2026-12-01 |
Known limitations
- Event stream: the newest records are kept up to the storage limit; older records may be pruned.
- "No result" means no matching record in what we hold, not proof that none exists.
Sources
| Source | Reliability (30 days) | Last good read |
|---|---|---|
| api.fiscaldata.treasury.gov official https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v2/accounting/od/debt_to_penny?sort=-record_date&page[size]=20 | 100% of 1 reads | 2026-12-03 06:41 UTC |
Use it
No key yet? Click Get a free key above and it fills into this command.
curl "https://api.knowapi.dev/v1/data/us-national-debt-by-day?record_calendar_day=01&limit=3" -H "Authorization: Bearer YOUR_KEY"
Verified example: run against the stored data on 2026-12-03, it returned 1 matching record. MCP: query_api with {"api_id":"f286a67c-c020-4d0f-a4ce-590f124255f0","params":{"record_calendar_day":"01","limit":3}}.
No key? Call the same URL and pay per call with x402 (USDC on Base). AI agents: MCP server https://api.knowapi.dev/mcp, tool query_api with api_id f286a67c-c020-4d0f-a4ce-590f124255f0.
Parameters
| Parameter | Example | Description |
|---|---|---|
record_calendar_day | record_calendar_day=01 | Value of "record_calendar_day" as published by the source.. Filters: record_calendar_day= (exact), record_calendar_day__contains=, record_calendar_day__prefix=. |
record_date | record_date__gte=2026-12-01 | Value of "record_date" as published by the source.. Filters: record_date=, record_date__gte=, record_date__lte=. |
debt_held_public_amt | debt_held_public_amt__gte=32886805439264.87 | Value of "debt_held_public_amt" as published by the source.. Filters: debt_held_public_amt=, debt_held_public_amt__gte=, debt_held_public_amt__lte=. |
intragov_hold_amt | intragov_hold_amt__gte=7803964199585.08 | Value of "intragov_hold_amt" as published by the source.. Filters: intragov_hold_amt=, intragov_hold_amt__gte=, intragov_hold_amt__lte=. |
tot_pub_debt_out_amt | tot_pub_debt_out_amt__gte=40690769638849.95 | Value of "tot_pub_debt_out_amt" as published by the source.. Filters: tot_pub_debt_out_amt=, tot_pub_debt_out_amt__gte=, tot_pub_debt_out_amt__lte=. |
src_line_nbr | src_line_nbr__gte=1 | Value of "src_line_nbr" as published by the source.. Filters: src_line_nbr=, src_line_nbr__gte=, src_line_nbr__lte=. |
record_fiscal_year | record_fiscal_year__gte=2027 | Value of "record_fiscal_year" as published by the source.. Filters: record_fiscal_year=, record_fiscal_year__gte=, record_fiscal_year__lte=. |
record_fiscal_quarter | record_fiscal_quarter__gte=1 | Value of "record_fiscal_quarter" as published by the source.. Filters: record_fiscal_quarter=, record_fiscal_quarter__gte=, record_fiscal_quarter__lte=. |
record_calendar_year | record_calendar_year__gte=2026 | Value of "record_calendar_year" as published by the source.. Filters: record_calendar_year=, record_calendar_year__gte=, record_calendar_year__lte=. |
record_calendar_quarter | record_calendar_quarter__gte=4 | Value of "record_calendar_quarter" as published by the source.. Filters: record_calendar_quarter=, record_calendar_quarter__gte=, record_calendar_quarter__lte=. |
record_calendar_month | record_calendar_month__gte=11 | Value of "record_calendar_month" as published by the source.. Filters: record_calendar_month=, record_calendar_month__gte=, record_calendar_month__lte=. |
q | | Matches any field. No example shown: no stored text value to search for yet. |
field__gte / field__lte | record_date__gte=2026-12-01 | At least / at most, for numbers and dates (a plain date as upper bound includes the whole day). |
field__prefix / field__contains | | Starts with / contains, case-insensitive. Combine filters with &, e.g. a__contains=x&b__gte=1. |
sort + order | sort=record_calendar_day&order=asc | Sort by any field. |
limit + offset | limit=100&offset=0 | Up to 500 records per request. |
since | 2026-11-27T05:00:00Z | Only records that are new or changed since a date or timestamp. Every answer includes next_since: pass it back on your next call to get just the changes (each record is marked _change: new or updated). |
Sample payload (real records)
[
{
"record_date": "2026-12-01",
"src_line_nbr": 1,
"intragov_hold_amt": 7764199411223.79,
"record_fiscal_year": 2027,
"record_calendar_day": "01",
"debt_held_public_amt": 33085391759486.58,
"record_calendar_year": 2026,
"tot_pub_debt_out_amt": 40849591170710.37,
"record_calendar_month": 12,
"record_fiscal_quarter": 1,
"record_calendar_quarter": 4
},
{
"record_date": "2026-11-30",
"src_line_nbr": 1,
"intragov_hold_amt": 7822821325750.39,
"record_fiscal_year": 2027,
"record_calendar_day": "30",
"debt_held_public_amt": 33083222601776.69,
"record_calendar_year": 2026,
"tot_pub_debt_out_amt": 40906043927527.08,
"record_calendar_month": 11,
"record_fiscal_quarter": 1,
"record_calendar_quarter": 4
}
]Product group
Data $0.0037 per call (billed)
A single source answers each call: an individual lookup. See the group.
Price
$0.0037 per call (up to 50 records). Monthly plans include calls: pricing.