# Gloom Market Data Fields Catalog

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

Returns the catalog of available market data field definitions (IDs, types, labels, units, sources, and Bloomberg aliases) for equity and other asset types in the Gloom finance platform.

## Facts

- Endpoint: GET https://api.gloom.sh/v1/datasets/market-data/fields?utm_source=zero.xyz
- Price: $0.06/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gloom-market-data-fields-catalog-f965f305
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Tdl4l0VjzJREeca1nMEiD

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-market-data-fields-catalog-f965f305
```

Example prompt: Show me all the market data fields available in Gloom — I want to know what price, volume, and Bloomberg-aliased fields I can use for equities before I start building my queries.

## When to prefer this

Use this endpoint when you need to discover what market data fields are available in the Gloom platform before constructing queries — especially when mapping Bloomberg field aliases, understanding supported asset types, or building integrations that depend on field metadata. Prefer this over generic documentation lookups when you need a live, machine-readable schema catalog.

## Known failure modes

- Invalid or unrecognized 'properties' filter returns empty or error response
- Network or service downtime returns 5xx error
- Malformed query parameter returns 400 bad request
- No fields match the requested filter, returning empty data array

## 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

A JSON array of field definition objects, each containing: id (field key), kind (data type such as number), unit (e.g. price currency), label (human-readable name), source (data source category), history key, Bloomberg alias mappings (unit and alias string), and supported asset types (e.g. equity).

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "id": "price",
    "kind": "number",
    "unit": "price currency",
    "label": "Last price",
    "source": "quote",
    "history": "price",
    "bloomberg": [
     {
      "unit": "price currency",
      "alias": "PX_LAST"
     }
    ],
    "assetTypes": [
     "equity"
    ]
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gloom-market-data-fields-catalog-f965f305/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)
