# US Government Debt Data API

> US Government Debt Data API is a paid API for AI agents from api.genesistokenlabs.com, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-31).

Returns current US government debt figures and related fiscal data via a simple GET request.

## Facts

- Endpoint: GET https://api.genesistokenlabs.com/v1/gov/us-debt?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-31
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/us-government-debt-data-api-12d69301
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_E6rPa2arvaAI0ttdCjntj

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 us-government-debt-data-api-12d69301
```

Example prompt: What is the current US national debt — can you pull the latest government debt figures for me?

## When to prefer this

Use this endpoint when you need a quick, low-cost ($0.005 USDC) programmatic lookup of US government debt data without setting up a dedicated government data pipeline. Prefer this over scraping Treasury websites or building custom integrations when you need a simple JSON response in an agent workflow.

## Known failure modes

- Service unavailable or timeout returning non-200 status
- Empty or malformed data object in response
- Stale or cached debt data not reflecting real-time figures
- Rate limiting or payment failure due to insufficient USDC balance

## How this service works

TokenVest — invest in high-potential crypto projects before they launch to the public market.

## Output

A JSON response with an 'ok' boolean status and a 'data' object containing current US government debt figures and related fiscal 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    },
    "queryParams": {
     "type": "object",
     "additionalProperties": {
      "type": "string"
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "data": {}
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/us-government-debt-data-api-12d69301/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.genesistokenlabs.com](https://www.zero.xyz/host/api.genesistokenlabs.com/llms.txt)
