# Gloom Equity Screener

> Gloom Equity Screener 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).

Screens and filters equities by sector, industry, exchange, and other criteria, returning matching stock symbols with metadata.

## Facts

- Endpoint: GET https://api.gloom.sh/v1/equity-screener?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-equity-screener-ca21b009
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1DYoHVD8af3Is_GLMUxL9

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-equity-screener-ca21b009
```

Example prompt: Can you screen for equities in the Consumer Defensive sector listed on NASDAQ and show me which ones are in the Discount Stores industry?

## When to prefer this

Prefer this endpoint when you need to discover or filter equities by sector, industry, or exchange using structured screener criteria — especially within the Gloom open-source finance terminal ecosystem. It is well-suited for building investment watchlists, sector analysis, or feeding downstream portfolio tools. It charges a small per-call fee via x402/USDC, making it appropriate for on-demand, agent-driven queries rather than high-frequency bulk screening.

## Known failure modes

- Invalid or malformed screener definition query parameter returns an error
- No equities match the given filter criteria, returning an empty data array
- Missing required 'definition' query parameter causes a 400 Bad Request
- API payment failure (x402 payment not accepted) blocks the request
- Rate limiting or quota exceeded returns a 429 error

## 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 an array of equity objects, each containing the stock symbol, company name (if available), sector, industry, exchange, and currency — suitable for building watchlists, sector analysis, or investment research pipelines.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "definition"
     ],
     "properties": {
      "definition": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "data": [
   {
    "name": null,
    "sector": "Consumer Defensive",
    "symbol": "COST",
    "currency": "USD",
    "exchange": "NASDAQ",
    "industry": "Discount Stores"
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gloom-equity-screener-ca21b009/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)
