{"uid":"cap_ZLcCxOpIQjWnDRszZ_HRr","slug":"us-treasury-debt-history-lookup-83e4717d","name":"US Treasury Debt History Lookup","description":"X402 micropayments server — AI agents pay USDC for OFAC screening, rates, and billing verification.","url":"https://x402helper.xyz/89e509/treasury/debt?utm_source=zero.xyz","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"],"type":"string"},"queryParams":{"type":"object","required":[],"properties":{"days":{"type":"integer","default":null,"maximum":3660,"minimum":1,"description":"Look back this many days of daily debt history"},"range":{"type":"integer","default":null,"maximum":3660,"minimum":1,"description":"Alias for days"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"result":{},"success":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.013","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.013/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.013","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.013","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bkw3B3QrW-h31d9H5AnP5","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.013","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns historical US Treasury debt data for a specified number of past days, accessible via x402 micropayment.","exampleAgentPrompt":"Can you pull the US Treasury debt history for the last 90 days so I can see how the national debt has been trending recently?","exampleUseCases":[{"title":"Macro research debt trend analysis","prompt":"I'm doing macro research — can you fetch the US Treasury daily debt figures for the past 365 days so I can chart the year-over-year trend?"},{"title":"Short-term debt monitoring for trading","prompt":"Pull the Treasury debt data for the last 30 days and tell me if there are any notable spikes or drops I should be aware of."},{"title":"Government finance report preparation","prompt":"I need the US national debt history for the past 180 days to include in a quarterly government finance report — can you get that data?"}],"resultDescription":"Returns a JSON object with a success flag and a result object containing historical US Treasury debt figures, likely as a time series of daily debt values over the requested lookback period.","failureModes":["Invalid 'days' value outside 1-3660 range returns a validation error","Missing required 'input' object causes a 400-level error","Payment not completed or insufficient USDC triggers a 402 Payment Required response","Server unavailable or upstream Treasury data source unreachable returns a 5xx error"],"whenToPreferThis":"Choose this endpoint when you need historical US Treasury debt data on a day-by-day basis and are operating in an x402 micropayment-enabled agent context where USDC payments are supported. It is particularly useful for financial research, macroeconomic analysis, or monitoring government debt trends over a configurable lookback window of up to 10 years.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:42:30.140Z","isFirstParty":false,"canonicalSlug":"us-treasury-debt-history-lookup-83e4717d"}