# Gloom Insider Trades API

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

Retrieves SEC Form 4 insider trading filings for one or more stock symbols

## Facts

- Endpoint: GET https://api.gloom.sh/v1/insider-trades?utm_source=zero.xyz
- Price: $0.75/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gloom-insider-trades-api-98fc1763
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8qziQItNWQZzrqWTR_aoV

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-insider-trades-api-98fc1763
```

Example prompt: Pull the latest insider trades for NVDA and AAPL — I want to see which executives are buying or selling shares and when those Form 4 filings were submitted.

## When to prefer this

Choose this endpoint when you need structured, programmatic access to SEC Form 4 insider trading data for specific stock tickers, especially within an AI agent workflow that needs to analyze executive buying/selling activity. Prefer this over manual SEC EDGAR searches when you need machine-readable JSON output for one or more symbols in a single call.

## Known failure modes

- Missing or invalid 'symbols' query parameter returns an error
- Unknown or delisted ticker symbols may return empty data arrays
- Rate limiting or payment failure (402) if USDC balance is insufficient
- Delayed data if SEC EDGAR filings have not yet been indexed by Gloom

## 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 insider trade records, each containing the SEC form type (e.g. Form 4), stock symbol, issuer CIK, issuer name, filing date, accession number, and timestamps for when the filing was accepted and observed.

## 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": [
      "symbols"
     ],
     "properties": {
      "symbols": {
       "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": [
   {
    "form": "4",
    "symbol": "AAPL",
    "ticker": "NVDA",
    "issuerCik": "1045810",
    "acceptedAt": "2026-09-23T20:56:28.000Z",
    "filingDate": "2026-09-23",
    "issuerName": "NVIDIA CORP",
    "observedAt": "2026-10-18T06:22:04.530Z",
    "accessionNumber": "0001696841-26-000014",
    "originalFilingDate": null
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gloom-insider-trades-api-98fc1763/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)
