# Aurenic Treasury Debt API

> Aurenic Treasury Debt API is a paid API for AI agents from api.aurenic.org, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Returns the total US public debt outstanding to the penny, fetching the latest available figure from US Treasury data

## Facts

- Endpoint: GET https://api.aurenic.org/treasury/debt?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aurenic-treasury-debt-api-d2b87f1a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_QTzub_ZAiyoC8ZscPdVoa

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability aurenic-treasury-debt-api-d2b87f1a
```

Example prompt: What is the current total US public debt outstanding to the penny — pull the latest figure from the Treasury?

## When to prefer this

Use this endpoint when you need a quick, cheap ($0.001), pay-per-call lookup of the official US public debt figure without setting up a direct Treasury API integration. Ideal for agents that occasionally need the national debt number without maintaining a data pipeline to the US Treasury's own APIs.

## Known failure modes

- Treasury source data temporarily unavailable — upstream fetch failure
- Empty or null example schema means exact field names are unknown until called
- Stale data if Treasury hasn't published an update recently
- HTTP 402 payment required if x402 micropayment not completed
- Rate limiting or service downtime on api.aurenic.org

## How this service works

Total US public debt outstanding, to the penny, latest available

## Output

A JSON object containing the total US public debt outstanding to the penny, reflecting the latest available figure published by the US Treasury, including the dollar amount and likely the effective date of the data.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aurenic-treasury-debt-api-d2b87f1a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.aurenic.org](https://www.zero.xyz/host/api.aurenic.org/llms.txt)
