# Gloom Bond Trades by CUSIP

> Gloom Bond Trades by CUSIP 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 recent trade records for a specific bond identified by its CUSIP, including price, yield, quantity, and execution timestamp.

## Facts

- Endpoint: GET https://api.gloom.sh/v1/bonds/%7Bcusip%7D/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-bond-trades-by-cusip-42133a5a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rj9vVCXYgIPSSpLFAF9ek

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-bond-trades-by-cusip-42133a5a
```

Example prompt: Pull the latest bond trades for CUSIP 037833BX7 from Gloom so I can see the current price and yield it's trading at.

## When to prefer this

Use this endpoint when you need granular, timestamped bond trade records — including price, yield, quantity, and cancellation status — for a specific security identified by CUSIP. It is ideal for fixed income analytics, post-trade verification, yield monitoring, and building bond market dashboards. Prefer it over equity trade feeds or generic financial data APIs when the target instrument is a bond and you have the CUSIP.

## Known failure modes

- Invalid or malformed CUSIP returns an error or empty dataset
- CUSIP not found in Gloom's database returns empty data array
- Payment of 0.12 USDC not provided results in 402 Payment Required
- Network or API downtime results in timeout or 5xx error
- CUSIP for a thinly traded bond may return no recent trades

## 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 trade records for the specified bond CUSIP. Each record includes the trade date, time, CUSIP, price (e.g. 85.183), yield (e.g. 5.95%), trade status, quantity, whether the trade was cancelled, the precise execution timestamp, and a flag indicating whether the quantity was capped.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "date": "2026-10-23",
    "time": "16:00:07",
    "cusip": "037833BX7",
    "price": 85.183,
    "yield": 5.949686,
    "status": "trade",
    "quantity": 5000,
    "cancelled": false,
    "executedAt": "2026-10-23T20:00:07.000Z",
    "quantityCapped": false
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gloom-bond-trades-by-cusip-42133a5a/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)
