# x402stock National Debt

> x402stock National Debt is a paid API for AI agents from agents.x402stock.xyz, paid per call via x402 or MPP, $0.01/call, status unknown (last checked 2026-09-14).

Returns current US national debt figures via pay-per-request USDC micropayment

## Facts

- Endpoint: GET https://agents.x402stock.xyz/api/v1/national-debt
- Price: $0.01/call
- Payment: x402, MPP
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402stock-national-debt-0148d7c3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_UxnVgKPAFCSNFMnqLmh5p

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability x402stock-national-debt-0148d7c3
```

Example prompt: What is the current US national debt? Pull the latest figure from x402stock so I can include it in my macro report.

## When to prefer this

Choose this endpoint when you need current US national debt/Treasury debt outstanding figures for macroeconomic analysis, fiscal research, or debt-to-GDP calculations, and can pay $0.01 USDC per call without requiring an API key or account setup.

## Known failure modes

- Payment failure if USDC balance is insufficient or x402 payment is rejected
- 402 Payment Required if no payment is attached to the request
- Rate limiting or service unavailability returning 5xx errors
- Invalid or unsupported properties filter returning empty or error response

## How this service works

The total US public debt outstanding to the penny — the headline national-debt figure — split into debt held by the public and intragovernmental holdings, with the latest value, prior business day, day-over-day change, and recent history. No ticker needed. Updates each business day. Sourced from the US Treasury (FiscalData). Pass `?limit=` for more history (default 30, max 250). From x402stock

## Output

Returns current US national debt data including total outstanding Treasury debt figures, enabling macroeconomic analysis and fiscal monitoring.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402stock-national-debt-0148d7c3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agents.x402stock.xyz](https://www.zero.xyz/host/agents.x402stock.xyz/llms.txt)
