# Gloom Credit Instruments API

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

Retrieves a list of credit instruments (bonds, notes, loans, or similar fixed-income securities) available in the Gloom finance platform.

## Facts

- Endpoint: GET https://api.gloom.sh/v1/credit/instruments?utm_source=zero.xyz
- Price: $0.24/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gloom-credit-instruments-api-7dd8e2ea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xPsNLkdR0htcYj4Czz6QF

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-credit-instruments-api-7dd8e2ea
```

Example prompt: Pull the list of credit instruments available in Gloom so I can see what fixed-income securities I can research or add to my portfolio.

## When to prefer this

Use this endpoint when you need to enumerate or discover credit instruments (bonds, loans, fixed-income securities) within the Gloom finance ecosystem. Prefer this over equity or macro endpoints when your focus is fixed income or credit markets. Suitable for portfolio construction, screener inputs, or alert configuration workflows within Gloom.

## Known failure modes

- Empty data array returned if no credit instruments are available or filter matches nothing
- Invalid properties filter parameter returns an error or empty result
- Payment required (402) if x402 payment header is missing or insufficient
- Rate limiting if too many requests are made in a short period
- Schema mismatch if the properties field is not a valid string filter

## 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 object with a 'data' array containing credit instrument records from the Gloom platform. Each record likely includes instrument identifiers, type, and related fixed-income security attributes. The array may be empty if no instruments match the query or none are currently available.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": []
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gloom-credit-instruments-api-7dd8e2ea/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)
