data

US national debt to the penny (Treasury) — $0.003

Total public debt outstanding, debt held by the public and intragovernmental holdings from the US Treasury "Debt to the Penny" dataset, plus the change since the previous record. Source: U.S. Treasury Fiscal Data (public domain (US federal)). Cadence: daily; observed_at in the response is the upstream timestamp.

get/v1/data/macro/us-debt

Request

  • Base URL: https://x402.asterpay.io
  • URL: https://x402.asterpay.io/v1/data/macro/us-debt
  • Auth: one of:
    • API key in header PAYMENT-SIGNATURE
    • HTTP payment

Response

US national debt to the penny (Treasury)

successboolean required
dataobject required

Door-specific payload; see the door description and GET /v1/data for an example URL

observed_atstring nullable required

Upstream publication/observation time (ISO 8601). Never the AsterPay fetch time.

fetched_atstring required

When AsterPay last fetched from the upstream

cadence'live' | '5m' | '15m' | 'hourly' | 'daily' | 'weekly' | 'monthly' | 'yearly' required
next_expectedstring nullable

Earliest time a newer upstream value is expected

cache_expires_atstring
staleboolean required

true when the upstream failed and a cached copy under 24h old was served

timestampstring required

Changes

No recorded changes to this operation across all 1 revision of this API.