# Gloom Sovereign CDS Data API

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

Returns sovereign credit default swap (CDS) spread data for countries, including settlement levels, maturity dates, and weekly changes.

## Facts

- Endpoint: GET https://api.gloom.sh/v1/cds/sovereigns?utm_source=zero.xyz
- Price: $1.5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gloom-sovereign-cds-data-api-ad58f578
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iaFbHGRQVRIrpEykXRCNZ

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-sovereign-cds-data-api-ad58f578
```

Example prompt: Pull the latest sovereign CDS spreads from Gloom for all countries — I want to see the settlement levels, maturities, and any weekly changes to identify which sovereign credits are moving the most.

## When to prefer this

Use this endpoint when you need structured, machine-readable sovereign CDS spread data across multiple countries in a single call, particularly for credit risk analysis, macro monitoring, or enriching fixed income portfolios. It is well-suited for agents that need standardized sovereign credit metrics (level, maturity, weekly change) without scraping market data terminals. Prefer this over general web search when you need precise numeric CDS levels with consistent schema.

## Known failure modes

- Invalid or malformed properties filter returns empty or error response
- Rate limiting or payment failure (x402 payment required) blocks access
- Stale or missing data for illiquid sovereigns may return null values for weekly change fields
- Network timeout if upstream data source is delayed

## 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 a JSON array of sovereign CDS records, each containing the country ID (ISO code), settlement date, event kind (e.g. settlement), country name, CDS spread level in basis points, number of prints, 1-week change, local currency, bond maturity date, and a reported flag.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "id": "AR",
    "date": "2026-10-07",
    "kind": "settlement",
    "name": "Argentina",
    "level": 713.8,
    "prints": 0,
    "change1W": null,
    "currency": "ARS",
    "maturity": "2031-12-20",
    "reported": 0
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gloom-sovereign-cds-data-api-ad58f578/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)
