horizonpulse.dev
U.S. Treasury debt to the penny: total, held by the public, and intragovernmental, with the 1-day, 30-day and 1-year change, plus the Daily Treasury Statement Treasury General Account (TGA) operating-cash balance and its daily change. No parameters. Source: api.fiscaldata.treasury.gov. debtUsd is USD. cashUsdMillions is millions of USD. Not a forecast. USDC on Base only.
- Price per call
- $0.01
- Chain
- Base
- Method
- GET
- Paid calls · 30 days
- 1
Call it from code
This API is run by its own provider and paid directly through x402. We list it so you can find it; we don't route or hold the payment.
import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { registerExactEvmScheme } from "@x402/evm/exact/client";
const client = new x402Client();
registerExactEvmScheme(client, { signer: agentAccount });
const pay = wrapFetchWithPayment(fetch, client);
const res = await pay("https://horizonpulse.dev/api/treasury/debt", { method: "GET" });
console.log(await res.json());https://horizonpulse.dev/api/treasury/debt