{"uid":"cap_elHsHoRDsaj1eISxgl8nh","slug":"us-national-debt-debt-to-the-penny-api-9db151e8","name":"US National Debt (Debt to the Penny) API","description":"ECONOMICS: daily total U.S. national debt (Debt to the Penny) with day-over-day change and history (?days=15). Returns JSON.","url":"https://clonecho.builda.company/x402/us-debt","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BlQshMM4-quF9iDnIVE1B","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the daily total U.S. national debt (Debt to the Penny) with day-over-day change and optional historical data for up to N days.","exampleAgentPrompt":"What's the current total U.S. national debt today, and how much did it change from yesterday? Also pull the last 15 days of daily debt figures so I can see the trend.","exampleUseCases":null,"resultDescription":"A JSON object containing today's total U.S. national debt in dollars (Debt to the Penny), the day-over-day change in dollars, and optionally an array of historical daily debt readings for the requested number of past days.","failureModes":["Treasury source data unavailable or delayed — may return stale or missing date","Invalid 'days' parameter (non-integer or negative) — likely 400 or default fallback","Payment not processed (x402 payment required) — 402 response blocking data","No historical data available for the requested window if days exceeds available records"],"whenToPreferThis":"Use this endpoint when you need authoritative, up-to-date U.S. national debt figures sourced from the official Debt to the Penny series, especially when you want day-over-day change calculations and a rolling history window already pre-computed — avoiding the need to hit Treasury APIs directly or parse raw CSV data.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:54:23.136Z","isFirstParty":false}