{"uid":"cap_jFQpbwVIWZskBjv3QV13X","slug":"us-treasury-debt-to-the-penny-api-x402-a099c1f8","name":"US Treasury Debt to the Penny API (x402)","description":"US Treasury FiscalData Debt to the Penny (keyless). POST {limit?}/{sort?}/{filter?}. Empty -> 400 not charged. Distinct treasury fiscal lane — disclose usaspending adjacency.","url":"https://x402-v2-mint-treasury-debt-to-penny.vercel.app/v1/treasury-debt-to-penny?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"sort":{"type":"string","maxLength":80},"limit":{"type":"integer","maximum":100,"minimum":1},"filter":{"type":"string","maxLength":200},"request_id":{"type":"string"}}},"responseSchema":{"type":"json","example":{"ok":true,"skill":"treasury-debt-to-penny","charged":true,"summary":"ok"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.020137","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.020137/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.020137","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.020137","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_0PWFVEjAvQB5DaZ2hPZJ2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.020137","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches US Treasury FiscalData 'Debt to the Penny' records with optional filtering, sorting, and pagination via a paid keyless endpoint.","exampleAgentPrompt":"Pull the 10 most recent US Treasury 'Debt to the Penny' records, sorted by record date descending, so I can see the latest national debt figures.","exampleUseCases":[{"title":"Latest national debt snapshot","prompt":"Get me the 5 most recent US Treasury debt-to-the-penny entries sorted by date so I can see how the total public debt has changed lately."},{"title":"Historical debt on a specific date","prompt":"Query the Treasury debt-to-the-penny data and filter for records where the record date is exactly 2023-01-01 so I can see what the national debt was at the start of last year."},{"title":"Debt trend analysis for a fiscal year","prompt":"Fetch up to 100 Treasury debt-to-the-penny records filtered to fiscal year 2022 and sorted by record date ascending so I can analyze how the total debt grew throughout that year."}],"resultDescription":"Returns a JSON object with ok:true, the skill name 'treasury-debt-to-penny', a charged flag, and a summary field. The payload contains US Treasury FiscalData records showing total public debt outstanding broken into debt held by the public and intragovernmental holdings, with fiscal dates and exact cent-level figures.","failureModes":["Empty or malformed request body returns HTTP 400 and no charge is applied","Invalid filter expression syntax may return an error from the underlying FiscalData API","Limit exceeding 100 returns a validation error","Sort field not recognized by FiscalData API returns an upstream error","Network timeout from the underlying Treasury API results in a 5xx response"],"whenToPreferThis":"Choose this endpoint when you need keyless, pay-per-call access to US Treasury FiscalData's Debt to the Penny dataset without managing API keys or subscriptions. It is ideal for agents that infrequently query national debt figures and prefer micropayment-based access. Prefer it over direct FiscalData calls when you want zero credential management and built-in x402 payment rail integration.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-03T06:37:04.823Z","isFirstParty":false,"canonicalSlug":"us-treasury-debt-to-the-penny-api-x402-a099c1f8"}