x402stock.xyz
GET https://x402stock.xyz/api/v1/national-debt
Listed in Coinbase x402 Bazaar
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
Other endpoints from x402stock.xyz
The same service's other paid functions that Hagglyai tracks, each with its own price. Functions outside Hagglyai's categories are not listed.
| Endpoint | Category | Price per call |
|---|---|---|
| GET /api/v1/compare | Stocks & forex | $0.05 |
| GET /api/v1/conditions | Stocks & forex | $0.01 |
| GET /api/v1/cot | Stocks & forex | $0.02 |
| GET /api/v1/exchange-rates | Stocks & forex | $0.02 |
| GET /api/v1/fear-greed | Stocks & forex | $0.02 |
| GET /api/v1/fear-greed/regime | Stocks & forex | $0.02 |
| GET /api/v1/filing-search | Stocks & forex | $0.02 |
| GET /api/v1/gainers | Stocks & forex | $0.02 |
| GET /api/v1/grouped-daily | Crypto prices & market data | $0.02 |
| GET /api/v1/inflation | News | $0.02 |
| GET /api/v1/labor-market | News | $0.02 |
| GET /api/v1/losers | Stocks & forex | $0.02 |
| GET /api/v1/market-pulse | News | $0.03 |
| GET /api/v1/news | News | $0.02 |
| GET /api/v1/news-sentiment | News | $0.02 |
| GET /api/v1/pce | News | $0.02 |
| GET /api/v1/screener | Stocks & forex | $0.03 |
| GET /api/v1/spot | Crypto prices & market data | $0.02 |
| GET /api/v1/tickers | Stocks & forex | $0.01 |
| GET /api/v1/unified-snapshot | Crypto prices & market data | $0.02 |
How to buy
This endpoint takes pay-per-call payments over x402. Call it once without paying to see its live price; any x402 client then pays and retries automatically.
curl -i -X GET 'https://x402stock.xyz/api/v1/national-debt'
# HTTP/1.1 402 Payment Required: price, asset and payTo are in the responseEstimated calls per day
Paid calls to x402stock.xyz's tracked endpoints each day, estimated from the 30-day totals the x402 catalogues report. Each bar is the change in that 30-day total since the day before, plus the calls that left the 30-day window (taken as an average day). It is an estimate: Hagglyai does not measure or pay for these calls.
Usage available for 9 of 21 tracked endpoints, 31 paid calls in the last 30 days. Last updated 2 hours ago. Unknown usage is left out, not counted as zero.
Compared with other providers
x402stock.xyz ranks 104th of 252 in News by its latest reported 30-day paid calls. Coverage matters: a provider whose endpoints report more of their usage can rank higher.
| # | Provider | Reported 30-day calls | Coverage |
|---|---|---|---|
| 1 | blockrun.ai | 77,529 | 79 of 239 endpoints |
| 2 | stableenrich.dev | 48,944 | 15 of 39 endpoints |
| 3 | api.kadec0.xyz | 12,230 | 19 of 19 endpoints |
| 4 | x402.apidirect.io | 9,415 | 17 of 80 endpoints |
| 5 | x402.orthogonal.com | 4,820 | 168 of 395 endpoints |
| 6 | api.strale.io | 4,250 | 33 of 59 endpoints |
| 7 | agent402.tools | 3,446 | 159 of 279 endpoints |
| 8 | api.sitecheck-api.workers.dev | 3,376 | 61 of 74 endpoints |
| 104 | x402stock.xyz (this one) | 31 | 9 of 21 endpoints |
Run this API? Show its rating
Add the badge to your README or website. It shows the live Hagglyai rating and links to this page.
Markdown (README)
[](https://hagglyai.com/endpoint/9a2ebdcf1f068f17)HTML
<a href="https://hagglyai.com/endpoint/9a2ebdcf1f068f17"><img src="https://hagglyai.com/badge/9a2ebdcf1f068f17.svg" alt="Rated on Hagglyai"></a>