{"uid":"cap_WafWLDQf2s2Q7tG4Llqo0","slug":"us-national-debt-api-x402-forgemesh-io-df928001","name":"US National Debt API (x402.forgemesh.io)","description":"US national debt API: the most recent official total public debt outstanding — to the penny — with record date, debt held by the public, and intragovernmental holdings as structured JSON. Updated each business day. Use for macro dashboards, fiscal analysis, news content, and economics agents. Cached 6 hours.","url":"https://x402.forgemesh.io/econ-us-national-debt?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_ZGwk7NAsOWTHCisDDU5Wa","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 most recent official US total public debt outstanding to the penny, including debt held by the public and intragovernmental holdings, as structured JSON updated each business day.","exampleAgentPrompt":"What's the current US national debt, broken down into debt held by the public and intragovernmental holdings, as of the latest official Treasury figure?","exampleUseCases":null,"resultDescription":"A structured JSON object containing the most recent official US total public debt outstanding to the penny, the record date of the figure, the portion held by the public, and intragovernmental holdings — refreshed each business day and cached for 6 hours.","failureModes":["No new data available on non-business days (returns last cached figure)","Treasury source data delayed or unavailable, returning stale or error response","Malformed request body causing 400-level error","Payment not processed, resulting in 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need the most recent, officially sourced US national debt figure broken down into public and intragovernmental components in structured JSON, suitable for macro dashboards, fiscal analysis pipelines, economics agents, or news content generation. Prefer this over web scraping or LLM knowledge for accuracy and recency.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T18:48:44.223Z","isFirstParty":false,"canonicalSlug":"us-national-debt-api-x402-forgemesh-io-df928001"}