E

eu-verify · US Debt

by eu-verify

GETBase

$0.002

per call · USD Coin on Base

Total US public debt outstanding from the official Treasury Debt to the Penny dataset (FiscalData API, published every business day ~3pm ET). Query: no params -> latest data point; ?limit=30 (1-100, newest first) and ?since=2026-01-01 (record_date floor) for history back to 1993. Returns per day the debt held by the public, intragovernmental holdings and total, in USD. Cached 6h.

Endpoint

GET https://data.greeneris.io/v1/us/debt

3

Calls / 30d

3

Unique payers / 30d

Sep 8

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://data.greeneris.io/v1/us/debt", {
  method: "GET",
});
const data = await res.json();
cURL
curl -X GET \
  "https://data.greeneris.io/v1/us/debt?limit=2" \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "count": 1,
  "records": [
    {
      "debt_held_by_public_usd": 31709399350223.4,
      "intragovernmental_holdings_usd": 7704779665906.69,
      "record_date": "2026-07-09",
      "total_public_debt_usd": 39414179016130.09
    }
  ],
  "source": "US Treasury FiscalData API, Debt to the Penny (daily on business days, public domain)"
}

Payment details

Pay to0x6ab8efe305cce67daa48c97bde29c04402822dff
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase
Schemesexact

Is this your API?

Pin it to the top of Other and the homepage with a featured placement.

Get featured →

More from eu-verify & similar services