US Treasury Daily Debt Record Evidence API
Pricing
from $0.50 / 1,000 daily debt observations
US Treasury Daily Debt Record Evidence API
Retrieve a bounded Debt to the Penny window with exact reported decimal strings and source pagination evidence. No projections, ratios, forecasts or financial transactions.
Pricing
from $0.50 / 1,000 daily debt observations
Rating
0.0
(0)
Developer
Salih Can Kurnaz
Maintained by CommunityActor stats
0
Bookmarked
2
Total users
1
Monthly active users
13 days ago
Last modified
Categories
Share
Export selected official US Treasury Debt to the Penny observations over an inclusive1..31-day date window since1993. One public Fiscal Data API request, first page of31 rows sorted by record_date. Select only date, total public debt outstanding, debt held by the public and intragovernmental holdings. Preserve the original decimal strings to avoid float rounding; reported missing/null values remain null, never zero. No estimates for holidays or missing dates.
Pagination count/total/pages and next-link presence are checked and exposed; additional pages are never followed. Dates are unique and within the submitted window. Each emitted day is a billed observation even if a reported field is null. Cap truncation or more-page evidence makes complete=false. This is reported public fiscal data, not a debt projection, economic forecast, investment recommendation, solvency judgment or trading/transfer service. No ratios, adjusted series, debt calculations or account data. Source labels/formats are metadata, not independent accounting verification. The current API response schema was qualified directly; the documentation webpage was unavailable during preparation, and no blocked webpage was bypassed. API query/fields/pagination are bounded by this tested contract. Attribute the U.S. Treasury Fiscal Data source.
Quick start
{"startDate": "2025-01-02", "endDate": "2025-01-03"}
Pricing and budget
0.0005 USD per emitted daily debt observation (0.5 USD per1000), plus0.005 USD startup at default256MB. Higher memory can multiply startup events; check effective Store pricing. Failed/empty sources do not emit result charges; startup can still apply. At zero result budget, input validation occurs but no upstream request is sent, and rowsAvailable is null (unknown). A positive budget can request the bounded source set before output; emission stops at the result cap and complete=false/PARTIAL_BUDGET reports truncation.
Snapshot, integration and limits
Use dataset rows together with OUTPUT and SNAPSHOT. Pass SNAPSHOT.previousHashes as previousHashes in a later run. NO_BASELINE/FIRST_SEEN/UNCHANGED/CHANGED compare only selected metadata including itemKey and sourceUrl; missing records are not deletions. FIRST_SEEN means absent from the supplied baseline. There is no persistent hidden state or automatic polling. Export JSON/CSV/Excel through the default dataset.
API example: POST https://api.apify.com/v2/actors/soilair~us-treasury-daily-debt-record-evidence-api/runs with your Apify Authorization header and the JSON input above. Poll the returned run; read dataset items and OUTPUT/SNAPSHOT records using its store IDs. Do not place tokens or confidential data in input. No upstream key is needed. Results live in Apify run storage according to retention; no separate analytics service.
Only fixed HTTPS provider endpoints are constructed from validated identifiers. Public-IP DNS validation, pinned connections, TLS hostname verification,2MiB decoded responses, approximately95 seconds of network budget, at most5 same-provider redirects. Official API calls are distinct from website crawling; no arbitrary URLs or HTML pages. No linked documents/files are fetched. Queries are sequential with1-second spacing. Provider403/429 or Retry-After stops later calls; retry instructions are reported and no retry/proxy/circumvention is attempted. Shared IP limits and changes to upstream services can still block runs. Caller must respect provider headers and cache/reduce repeated requests. Text is data and should not be executed.
Developed with AI assistance. Tests and live/cloud comparisons qualify the selected-field contract; they do not prove commercial demand, provider uptime or a legal/license determination. Support: share a run ID and expected fields, without credentials or private material.
References: https://fiscaldata.treasury.gov/api-documentation/ · https://transparency-treasury.github.io/developer-hub/api-reference.html · https://api.fiscaldata.treasury.gov/services/api/fiscal_service/v2/accounting/od/debt_to_penny