{"uid":"cap_vbVfUGV-jAPCMT-_QePbC","slug":"us-debt-to-the-penny-api-c93d101d","name":"US Debt to the Penny API","description":"US national debt API: the latest total public debt outstanding, to the penny, with record date and debt-held-by-public vs intragovernmental split, as JSON. Official daily figure for macro, fiscal, and content agents.","url":"https://x402.forgemesh.io/us-debt-to-the-penny?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"data":{"data":[{"record_date":"2026-07-13","tot_pub_debt_out_amt":"38412345678901.23"}]}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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":{"p10Cents":"0.5000","medianCents":"0.5000","p90Cents":"0.5000","minCents":"0.5000","maxCents":"0.5000","p95Cents":"0.5000","sampleCount":1,"varies":false,"failureChargeRate":1},"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_u2lFkR65zyrHy23WLkrpu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","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 total public debt outstanding to the penny, including record date and the debt-held-by-public vs intragovernmental split, as JSON.","exampleAgentPrompt":"What's the current US national debt to the penny, and can you break it down into how much is held by the public versus intragovernmental?","exampleUseCases":null,"resultDescription":"A JSON object containing the total US public debt outstanding to the penny, the record date of the figure, the amount of debt held by the public, and the intragovernmental debt amount — all as official daily Treasury data.","failureModes":["Treasury data source temporarily unavailable — upstream data feed error","Rate limiting or payment failure — 402 payment required or insufficient USDC balance","Malformed request body — endpoint expects a valid POST with JSON body type even if body is empty","Stale data — if Treasury hasn't published a new figure (e.g. weekend/holiday), the most recent available date is returned"],"whenToPreferThis":"Use this endpoint when you need the official, authoritative US national debt figure to the penny with a public vs intragovernmental breakdown, sourced from US Treasury data. Prefer this over scraped or estimated sources for macro reporting, fiscal analysis, content generation about US debt, or any use case requiring the precise official daily figure.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:47:56.293Z","isFirstParty":false,"canonicalSlug":"us-debt-to-the-penny-api-c93d101d"}