{"uid":"cap_ePWrwWIEJrpK88qRgpaKU","slug":"us-treasury-fiscal-data-api-x402-644a4400","name":"US Treasury Fiscal Data API (x402)","description":"Machine-payable data APIs for AI agents — 35 endpoints across web search, on-chain reads, trading data, and AI-visibility. Pay per call in USDC via x402 on Base. No API keys, no signup.","url":"https://x402-agent-store.rileycraig14.workers.dev/gov/treasury","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"properties":{"type":"string"}}},"responseSchema":{"type":"json","example":{"as_of":"2026-05-31","source":"fiscaldata.treasury.gov","avg_interest_rates":[{"rate_pct":3.69,"security":"Treasury Bills"}],"total_public_debt_usd":37000000000000}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.09","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.09/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.09","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_QCmQfy8XS1vAdXUX1wcBw","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.09","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns current US total public debt and average interest rates by security type, sourced from fiscaldata.treasury.gov, payable per-call in USDC via x402.","exampleAgentPrompt":"What's the current US total public debt and the average interest rate on Treasury Bills right now, according to fiscaldata.treasury.gov?","exampleUseCases":null,"resultDescription":"A JSON object with the as-of date, data source attribution, total US public debt in USD (e.g. ~$37 trillion), and an array of average interest rates broken down by security type (e.g. Treasury Bills at 3.69%).","failureModes":["Upstream fiscaldata.treasury.gov outage returns stale or error response","Payment failure (402) if USDC balance is insufficient or x402 not configured","Data may lag by one business day if Treasury hasn't published latest figures","Malformed response if Treasury API schema changes upstream"],"whenToPreferThis":"Use this endpoint when you need a quick, no-signup, per-call machine-payable lookup of current US national debt totals and Treasury interest rate averages. Prefer this over direct fiscaldata.treasury.gov calls when operating in an x402 agentic payment context with no API key infrastructure. Best for real-time macroeconomic context injection into agent workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:31:19.877Z","isFirstParty":false}