{"uid":"cap_Kc8MwDttYssrGz_LsTnA7","slug":"greeneris-data-us-debt-to-the-penny-dda1f764","name":"greeneris-data US Debt to the Penny","description":"Total US public debt outstanding from the official Treasury Debt to the Penny dataset (FiscalData API, published every business day ~3pm ET). Query: no params -> latest data point; ?limit=30 (1-100, newest first) and ?since=2026-01-01 (record_date floor) for history back to 1993. Returns per day the debt held by the public, intragovernmental holdings and total, in USD. Cached 6h.","url":"https://data.greeneris.io/v1/us/debt","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"limit":{"type":"integer","default":1,"description":"Max records, newest first (1-100)"},"since":{"type":"string","description":"Only records with record_date >= this ISO date"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"count":1,"source":"US Treasury FiscalData API, Debt to the Penny (daily on business days, public domain)","records":[{"record_date":"2026-07-09","total_public_debt_usd":39414179016130.09,"debt_held_by_public_usd":31709399350223.4,"intragovernmental_holdings_usd":7704779665906.69}]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_T2hz1WYvMSXGwkeuLsCsm","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the latest US national debt figures (total, public, intragovernmental) from the US Treasury FiscalData API","exampleAgentPrompt":"What is the current US national debt? Give me the 5 most recent daily readings including how much is held by the public vs intragovernmental holdings.","exampleUseCases":null,"resultDescription":"A JSON object containing a count of records, the data source attribution (US Treasury FiscalData API), and an array of debt records each with record_date, total_public_debt_usd, debt_held_by_public_usd, and intragovernmental_holdings_usd. Records are sorted newest first and updated daily on business days.","failureModes":["HTTP 402 returned with machine-readable payment quote if USDC payment not provided","Empty result set if 'since' date is in the future or has no business day data","Invalid 'limit' parameter (outside 1-100 range) may cause error","Stale data if queried on weekends or US federal holidays when Treasury does not publish"],"whenToPreferThis":"Use this endpoint when you need authoritative, up-to-date US national debt figures broken down by public debt and intragovernmental holdings, sourced directly from US Treasury. Prefer this over general web search when you need structured, machine-readable fiscal data with a reliable schema. Especially useful for macroeconomic dashboards, financial research, or monitoring US debt trends over time with a 'since' date filter.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:57:52.552Z","isFirstParty":false}