# Gloom CDS Trades Data API

> Gloom CDS Trades Data 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).

Retrieves credit default swap (CDS) trade records including action type, underlier identifiers, dates, and dissemination IDs from a financial trade repository.

## Facts

- Endpoint: GET https://api.gloom.sh/v1/cds/trades?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-cds-trades-data-api-405ea1c1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Y2x3QPHT8IYjGH-h55c7s

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-cds-trades-data-api-405ea1c1
```

Example prompt: Pull the latest CDS trade records from Gloom's trade data API — I need to see the action types, underlier ISINs, effective and expiration dates, and dissemination IDs for recent credit default swap transactions.

## When to prefer this

Use this endpoint when you need structured CDS trade records with DTCC-style dissemination metadata, especially when working within the Gloom finance terminal ecosystem or when you need ISIN-keyed credit derivatives data with execution timestamps and action type tracking.

## Known failure modes

- Invalid or malformed properties filter returns empty data or 400 error
- No matching trades found returns empty data array
- Authentication or payment failure returns 402 Payment Required
- Rate limiting or quota exceeded returns 429 Too Many Requests
- Upstream trade repository unavailable returns 503 or timeout

## 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 CDS trade records, each containing fields such as actionType (e.g. MODI), underlierID (ISIN format), maturityDate, effectiveDate, eventTimestamp, expirationDate, disseminationId, underlierIdSource, executionTimestamp, and originalDisseminationId.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "actionType": "MODI",
    "underlierId": "US78573NAC65",
    "maturityDate": null,
    "effectiveDate": "2022-03-02",
    "eventTimestamp": "2022-03-01T22:26:14.000Z",
    "expirationDate": "2026-12-20",
    "disseminationId": "5625692725000000101",
    "underlierIdSource": "ISIN",
    "executionTimestamp": "2022-03-01T22:26:14.000Z",
    "originalDisseminationId": "5625692725000000101"
   }
  ]
 }
}
```

## More

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