SourceFinch Verified · Public finance & federal debt

U.S. total public debt outstanding, daily

The U.S. Treasury's daily Debt to the Penny figures for the most recent 30 business days: total public debt outstanding, debt held by the public and intragovernmental holdings, in dollars, one record per day.

Monitor this sourceAPI, CLI, SDK and MCP

At a glance

Jurisdiction
United States (federal)
Publisher updates
Each federal business day, for the previous business day
SourceFinch checks
Daily by default
Records per run
30 in the latest run
Record key
record_date
Acquired from
Publisher's public API: https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v2/accounting/od/debt_to_penny?sort=-record_date&page%5Bsize%5D=30
Recipe
v1.0.0, approved October 12, 2026
Verified since
October 12, 2026
Last green run
October 12, 2026

What the data contains

Debt to the Penny is the Bureau of the Fiscal Service's daily statement of the total public debt outstanding of the United States, split into debt held by the public and intragovernmental holdings. It is published each business day for the previous business day through the keyless Fiscal Data API. This source reads the 30 most recent days on each daily run and makes one record per day keyed by the record date, with amounts typed as numbers of dollars, so a monitor reports each new day's figures and any later revision of a published day. Amounts are as published to the cent; very large values are carried as JSON numbers, which hold about 15 significant digits. The data describes federal finances and contains no personal data. SourceFinch is independent of the Treasury.

Fields and types

Every record has these fields. The key field record_date identifies a record across runs, so changes are reported field by field.

FieldTypeDescription
record_datekeydateBusiness day the figures are as of (YYYY-MM-DD), one record per day. The record key.
debt_held_by_publicnumber, nullableDebt held by the public on that day, in U.S. dollars.
intragovernmental_holdingsnumber, nullableIntragovernmental holdings (debt held by federal trust funds and other accounts), in U.S. dollars.
total_public_debtnumber, nullableTotal public debt outstanding: debt held by the public plus intragovernmental holdings, in U.S. dollars.
fiscal_yearinteger, nullableFederal fiscal year of the record date (October to September).
fiscal_quarterinteger, nullableQuarter of the federal fiscal year, 1 to 4.

Sample output

The first 5 of 30 records from SourceFinch's own run on October 12, 2026, exactly as delivered.

FieldRecord 1Record 2Record 3Record 4Record 5
record_date2026-10-082026-10-072026-10-062026-10-052026-10-02
debt_held_by_public32454086117711.3232439260138550.1732440264284905.7332426124989617.4932428913787327.44
intragovernmental_holdings7851230093118.47844776008817.027832760294313.447822979441460.997813532831881.89
total_public_debt40305316210829.7240284036147367.1940273024579219.1740249104431078.4840242446619209.33
fiscal_year20272027202720272027
fiscal_quarter11111
Sample as JSON
[
  {
    "fiscal_year": 2027,
    "record_date": "2026-10-08",
    "fiscal_quarter": 1,
    "total_public_debt": 40305316210829.72,
    "debt_held_by_public": 32454086117711.32,
    "intragovernmental_holdings": 7851230093118.4
  },
  {
    "fiscal_year": 2027,
    "record_date": "2026-10-07",
    "fiscal_quarter": 1,
    "total_public_debt": 40284036147367.19,
    "debt_held_by_public": 32439260138550.17,
    "intragovernmental_holdings": 7844776008817.02
  },
  {
    "fiscal_year": 2027,
    "record_date": "2026-10-06",
    "fiscal_quarter": 1,
    "total_public_debt": 40273024579219.17,
    "debt_held_by_public": 32440264284905.73,
    "intragovernmental_holdings": 7832760294313.44
  },
  {
    "fiscal_year": 2027,
    "record_date": "2026-10-05",
    "fiscal_quarter": 1,
    "total_public_debt": 40249104431078.48,
    "debt_held_by_public": 32426124989617.49,
    "intragovernmental_holdings": 7822979441460.99
  },
  {
    "fiscal_year": 2027,
    "record_date": "2026-10-02",
    "fiscal_quarter": 1,
    "total_public_debt": 40242446619209.33,
    "debt_held_by_public": 32428913787327.44,
    "intragovernmental_holdings": 7813532831881.89
  }
]

Evidence behind every value

  • Each run keeps the publisher's exact response, hashed with SHA-256. This sample came from a response with hash ff27447573d753b39153bb20230e2a76610ec115ea8d3fc0d69eee51b6be16d7.
  • Every value records where it came from in that response: a JSON Pointer into the retained capture.
  • Each run gets a signed manifest (Ed25519) timestamped by an RFC 3161 authority: this run's manifest hash is d9c610c47c8e7616ad2babbefb0617be367cb51ff6e7b053f139b54780023e24, timestamped October 12, 2026.
  • The compliance state at capture is recorded with the evidence: robots.txt hash and verdict, AI-preference signals, crawler identity and the usage rights below.
  • Download any run as an evidence bundle (WACZ) and check it offline, without trusting SourceFinch: sourcefinch verify-bundle run.wacz.

Terms posture and usage rights

Terms
Automated access permitted · publisher's terms
robots.txt
None published (HTTP 404); access allowed under RFC 9309
AI-preference signals
None observed at review
Public record
Yes. Debt to the Penny, published daily by the Bureau of the Fiscal Service; U.S. government work, 17 U.S.C. 105.
Reviewed
October 12, 2026; next review April 12, 2027
Licence basis
U.S. government work (public domain)
Commercial use
Allowed
Redistribution
Allowed
Attribution
Not required

The Bureau of the Fiscal Service's API documentation states that its data is offered free, without restriction, and available to copy, adapt, redistribute or otherwise use for non-commercial or commercial purposes, and that the API needs no user account or token. The data are U.S. government works (17 U.S.C. 105). api.fiscaldata.treasury.gov serves no robots.txt (HTTP 404), which RFC 9309 treats as allowing access.

Usage rights travel with every record SourceFinch delivers (API, exports, webhooks and evidence bundles). They are our documented understanding of the publisher's stated terms, not legal advice.

Reliability

Runs, last 30 days
1
Green
100%
Failed
0
Median run time
0.9 s
Latest run
success, October 12, 2026

Measured on completed runs of this recipe version across SourceFinch, anonymized, within a rolling 30-day window. First successful observation: October 12, 2026. A new recipe has only the history collected since that date; this is not a 30-day uptime guarantee.

Use it

Every surface creates the same monitor from this Verified recipe. Monitors keep record history, report field-level changes and deliver by webhook, export or email. You confirm you have the right to collect the source (rights: true).

Console

Open this recipe in the console: it preserves the reviewed URL, fields and record key. Review the latest captured sample, confirm source rights, and choose a schedule before creating your monitor.

Portable recipe

Copy into the console's Import or share a recipe panel to customize fields, types and schedules. This configuration contains no captured records or workspace IDs.

{
  "schema": "sourcefinch/source@1",
  "name": "U.S. total public debt outstanding, daily",
  "url": "https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v2/accounting/od/debt_to_penny?sort=-record_date&page%5Bsize%5D=30",
  "recipe": {
    "mode": "http",
    "format": "json",
    "items": "data[*]",
    "fields": {
      "fiscal_year": "record_fiscal_year",
      "record_date": "record_date",
      "fiscal_quarter": "record_fiscal_quarter",
      "total_public_debt": "tot_pub_debt_out_amt",
      "debt_held_by_public": "debt_held_public_amt",
      "intragovernmental_holdings": "intragov_hold_amt"
    },
    "required": [
      "record_date",
      "total_public_debt"
    ],
    "types": {
      "debt_held_by_public": "number",
      "fiscal_quarter": "integer",
      "fiscal_year": "integer",
      "intragovernmental_holdings": "number",
      "record_date": "date",
      "total_public_debt": "number"
    }
  },
  "schedule": "daily",
  "key_field": "record_date"
}

source.json

The request body used by the API, CLI and SDK examples.

{
  "name": "U.S. total public debt outstanding, daily",
  "url": "https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v2/accounting/od/debt_to_penny?sort=-record_date&page%5Bsize%5D=30",
  "recipe": {
    "mode": "http",
    "format": "json",
    "items": "data[*]",
    "fields": {
      "fiscal_year": "record_fiscal_year",
      "record_date": "record_date",
      "fiscal_quarter": "record_fiscal_quarter",
      "total_public_debt": "tot_pub_debt_out_amt",
      "debt_held_by_public": "debt_held_public_amt",
      "intragovernmental_holdings": "intragov_hold_amt"
    },
    "required": [
      "record_date",
      "total_public_debt"
    ],
    "types": {
      "fiscal_year": "integer",
      "record_date": "date",
      "fiscal_quarter": "integer",
      "total_public_debt": "number",
      "debt_held_by_public": "number",
      "intragovernmental_holdings": "number"
    }
  },
  "key_field": "record_date",
  "schedule": "daily",
  "rights": true,
  "catalog": {
    "slug": "treasury-debt-to-the-penny",
    "version_id": "483f1e63-8a5b-48e9-af8b-a9722f93c9bc"
  }
}

REST API

Create an API key under Console → API keys. Reference: /docs/api.

# the Verified entry (fields, recipe, sample, terms) as JSON
curl https://sourcefinch.com/v1/catalog/treasury-debt-to-the-penny -H "Authorization: Bearer $SOURCEFINCH_API_KEY"

# create the monitor from source.json (below)
curl -X POST https://sourcefinch.com/v1/sources \
  -H "Authorization: Bearer $SOURCEFINCH_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d @source.json

# then run it now (later runs follow the schedule)
curl -X POST https://sourcefinch.com/v1/sources/$SOURCE_ID/runs \
  -H "Authorization: Bearer $SOURCEFINCH_API_KEY" \
  -H "Idempotency-Key: $(uuidgen)"

CLI

The sourcefinch CLI is not on npm yet; see /docs/cli.

sourcefinch login
sourcefinch catalog get treasury-debt-to-the-penny --source-json > source.json
sourcefinch sources create --file source.json
sourcefinch runs create $SOURCE_ID --wait
sourcefinch records $SOURCE_ID

TypeScript SDK

The SDK is not on npm yet; see /docs/sdk.

import { SourceFinch } from "@sourcefinch/sdk";

const sf = new SourceFinch({ apiKey: process.env.SOURCEFINCH_API_KEY });
const entry = await sf.catalog.get("treasury-debt-to-the-penny");
const source = await sf.sources.create({
  catalog: { slug: entry.slug, version_id: entry.recipe.version_id },
  name: entry.name.slice(0, 100),
  url: entry.acquisition_path.endpoint,
  recipe: entry.recipe.definition,
  key_field: entry.recipe.key_field,
  schedule: entry.recipe.schedule,
  rights: true, // you confirm you have the right to collect this source
});
const run = await sf.runs.wait((await sf.runs.create(source.id)).id);
console.log(run.status);

MCP

Remote MCP server with OAuth; see /docs/mcp.

claude mcp add --transport http sourcefinch https://sourcefinch.com/mcp

# then ask your agent:
"Use SourceFinch to monitor U.S. total public debt outstanding, daily: get_catalog_source treasury-debt-to-the-penny,
then create_source with its create_source_args (dry run first), then run_source."

Pricing

Each check is one run, whatever the number of records, and failed runs are free. On its default daily schedule this source uses about 30 runs a month, which fits the Free plan's 300 runs. It uses HTTP acquisition, so no browser runs are needed. See plans.

Guides using this source

All guides

More from Bureau of the Fiscal Service (U.S. Department of the Treasury) and in public finance & federal debt.

SourceFinch is independent and is not affiliated with or endorsed by Bureau of the Fiscal Service (U.S. Department of the Treasury). This page describes u.s. total public debt outstanding, daily as SourceFinch acquires it.