the402 endpoint detail

← All endpoints

agents.x402stock.xyz v1 national-debt

https://agents.x402stock.xyz/api/v1/national-debt

payable

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

We sent a real GET request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.01
Network
base
Pay to
0x55e9778a0bf48331b5727a21a5a4b466363f27b8
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
GET
Response latency
1257 ms
Payment options
1 usable of 1
Last checked
2026-08-10T09:16:03.531Z (1d ago)
Category
data

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fagents.x402stock.xyz%2Fapi%2Fv1%2Fnational-debt"