# Gloom Debt Maturities API

> Gloom Debt Maturities API is a paid API for AI agents from api.gloom.sh, paid per call via x402, $0.12/call, status unknown (last checked 2026-11-01).

Returns the latest debt maturity filing data for one or more publicly traded companies, sourced from SEC filings (us-gaap taxonomy).

## Facts

- Endpoint: GET https://api.gloom.sh/v1/debt-maturities?utm_source=zero.xyz
- Price: $0.12/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gloom-debt-maturities-api-b20309a0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_ZuRBd9aHDMjQXU-bISLry

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 gloom-debt-maturities-api-b20309a0
```

Example prompt: Pull the latest debt maturity filing data for AAPL and MSFT — I want to see the form type, filing date, and currency from their most recent SEC filings.

## When to prefer this

Use this endpoint when you need structured, SEC-sourced debt maturity data for specific public companies by ticker symbol. It is ideal for fixed income analysis, credit risk research, or any workflow requiring us-gaap compliant debt schedule data directly from regulatory filings. Prefer this over generic financial data APIs when you need the specific form type, filing date, and taxonomy metadata alongside the maturity date.

## Known failure modes

- Invalid or unrecognized ticker symbol returns empty or error response
- Missing required 'symbols' query parameter causes a 400 Bad Request
- Ticker with no available SEC filing data returns empty data array
- API payment failure (x402) if USDC payment is not properly included
- Rate limiting or service unavailability returning 5xx errors

## How this service works

Gloom is a free, open-source finance terminal for desktop and TUI with charts, news, filings, portfolios, alerts, and plugins.

## Output

Returns an array of objects per requested ticker symbol, each containing the company name, ticker symbol, taxonomy (e.g. us-gaap), and the latest filing details including the as-of date, SEC form type (e.g. 10-K), filing date, and reporting currency.

## 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"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "symbols"
     ],
     "properties": {
      "symbols": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "latest": {
     "asOf": "2025-09-27",
     "form": "10-K",
     "filed": "2025-10-31",
     "currency": "USD"
    },
    "symbol": "AAPL",
    "taxonomy": "us-gaap",
    "entityName": "Apple Inc."
   }
  ]
 }
}
```

## More

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