# SEC Form 4 Insider Trade Filtered Search

> SEC Form 4 Insider Trade Filtered Search is a paid API for AI agents from joyful-charm-production-bf6d.up.railway.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Searches the SEC Form 4 insider-trade database with filters for insider role, trade type, dollar value range, ticker, and filing date range to surface high-signal insider activity.

## Facts

- Endpoint: GET https://joyful-charm-production-bf6d.up.railway.app/trades/search
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sec-form-4-insider-trade-filtered-search-77fab4ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_LbkNor7Q9jSlMDIyOuWRz

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 sec-form-4-insider-trade-filtered-search-77fab4ce
```

Example prompt: Search the SEC Form 4 database for all CEO open-market stock purchases (type P) over $1 million filed this week — show me up to 100 results.

## When to prefer this

Use this endpoint when you need to screen across the entire SEC Form 4 database with multiple simultaneous filters — combining insider role, trade type, dollar thresholds, ticker, and date range in one call. It is the right choice over single-ticker or single-insider endpoints when you want to surface market-wide patterns or rank high-conviction insider activity across many companies at once.

## Known failure modes

- Invalid date format (non YYYY-MM-DD) returns a 400 error
- Unknown or invalid ticker symbol returns an empty result set rather than an error
- limit values above 200 are capped or rejected
- Very broad queries with no filters may return large datasets or time out
- min_value greater than max_value may return empty results or an error
- Unavailable service returns a 5xx error

## How this service works

Filtered search over the full SEC Form 4 insider-trade database: combine insider role (CEO, CFO, Director...), trade type code (P=open-market buy, S=sale...), minimum/maximum dollar value, ticker, and filing-date range in one query. The power tool for screening high-signal insider activity (e.g. all CEO open-market buys over $1M this week). Returns JSON.

## Output

Returns a JSON array of matching SEC Form 4 insider trade records, each containing the ticker, insider name, insider role, trade type code, total trade value in USD, number of shares, price per share, and filing date. Supports pagination via limit and offset parameters.

## 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",
     "properties": {
      "role": {
       "type": "string",
       "description": "Insider role filter (substring match, e.g. CEO, CFO, Director)"
      },
      "type": {
       "type": "string",
       "description": "Trade type code (P=purchase, S=sale, A=award, M=option exercise...)"
      },
      "limit": {
       "type": "string",
       "description": "Max results (default 50, max 200)"
      },
      "offset": {
       "type": "string",
       "description": "Pagination offset"
      },
      "ticker": {
       "type": "string",
       "description": "Stock ticker symbol"
      },
      "to_date": {
       "type": "string",
       "description": "Latest filing date (YYYY-MM-DD)"
      },
      "from_date": {
       "type": "string",
       "description": "Earliest filing date (YYYY-MM-DD)"
      },
      "max_value": {
       "type": "string",
       "description": "Maximum total trade value in USD"
      },
      "min_value": {
       "type": "string",
       "description": "Minimum total trade value in USD"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sec-form-4-insider-trade-filtered-search-77fab4ce/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from joyful-charm-production-bf6d.up.railway.app](https://www.zero.xyz/host/joyful-charm-production-bf6d.up.railway.app/llms.txt)
