# Gloom SEC Filing Content Retrieval

> Gloom SEC Filing Content Retrieval is a paid API for AI agents from api.gloom.sh, paid per call via x402, $0.15/call, status unknown (last checked 2026-11-01).

Retrieves the parsed content of a specific SEC filing document (e.g. Form 4) given a company CIK, accession number, and primary document filename.

## Facts

- Endpoint: GET https://api.gloom.sh/v1/sec/filing/content?utm_source=zero.xyz
- Price: $0.15/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gloom-sec-filing-content-retrieval-945b0b64
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Fa2Qs5xfV76BA0ZSsMsGl

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-sec-filing-content-retrieval-945b0b64
```

Example prompt: Can you pull up the SEC filing content for CIK 0001234567 with accession number 0001234567-24-000123 and primary document primaryDoc.xml so I can see the Form 4 insider transactions?

## When to prefer this

Use this endpoint when you need to programmatically retrieve and parse the content of a specific SEC filing — especially Form 4 insider transaction filings — by CIK, accession number, and document name. Prefer it over scraping SEC EDGAR directly when you need structured JSON output rather than raw HTML/XML, and when you are building financial research tools, insider trading monitors, or compliance workflows.

## Known failure modes

- Invalid or unknown CIK returns an empty or error response
- Incorrect accession number format causes a lookup failure
- primaryDocument filename mismatch results in no content returned
- SEC EDGAR source unavailable causes downstream fetch failure
- Rate limiting or payment failure returns a 402 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 a JSON object containing parsed SEC filing data, including Form 4 fields and an array of Form 4 transactions (insider trades). Fields may be null if the filing type does not contain that data.

## 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": [
      "cik",
      "accession",
      "primaryDocument"
     ],
     "properties": {
      "cik": {
       "type": "string"
      },
      "accession": {
       "type": "string"
      },
      "primaryDocument": {
       "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": {
   "form4": null,
   "form4Transactions": []
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gloom-sec-filing-content-retrieval-945b0b64/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)
