# SEC Form 4 Insider Tracker — OpenInsider-Style Screener (`nexgendata/sec-form4-insider-tracker`) Actor

Track Form 4 insider trades with role and size filters from SEC EDGAR — parsed, source-linked JSON for analysts, funds and AI agents.

- **URL**: https://apify.com/nexgendata/sec-form4-insider-tracker.md
- **Developed by:** [NexGenData](https://apify.com/nexgendata) (community)
- **Categories:** Developer tools
- **Stats:** 2 total users, 0 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $50.00 / 1,000 form 4 records

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.
Actors are written with capital "A".

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## SEC Form 4 Insider Tracker

**Which Form 4 actor?** This is the **screener** one — OpenInsider-style role and size filters over recent activity. For scheduled alerts use the *Form 4 Monitor*; for raw EDGAR XML use the *Form 4 Scraper*. Track Form 4 insider trades with role and size filters from SEC EDGAR, parsed into clean JSON. Built for analysts, funds, fintech builders and AI agents. Factual public SEC/EDGAR data — not financial or investment advice. Not affiliated with the U.S. SEC.

### 📊 What you get

Clean JSON, one record per record. Key fields (full output has 22 fields):

- `company_name` — Company / filer name
- `filing_date` — Filing date
- `total_value_usd` — USD value
  Every record carries a direct **sec.gov** source link.

**Pricing:** $0.10 per record (Pay-Per-Event) — about **10 records per $1**.

### 🤖 Use with AI agents

Structured, source-linked SEC data built for LLM and agent pipelines — point Claude, the OpenAI Agents SDK, an n8n flow or any MCP-aware client at it and pull Form 4 insider trades with role and size filters on demand.

**Sample agent prompt:**

```
Show me insider purchases over $1M by directors in the last week.
```

**Agentic payments (x402):** Supports agentic payment via x402 — agents can call this actor with USDC, no API key required.

### ⏰ Run on a schedule

The recurring frame is the point — schedule a daily or weekly pull:

```json
{
  "ticker": "AAPL",
  "limit": 50
}
```

### 🔗 Related SEC actors

**More insider trackers:** [Form 4 Monitor](https://apify.com/nexgendata/sec-form-4-insider-monitor), [Form 4 Scraper](https://apify.com/nexgendata/sec-form-4-insider-trading-scraper), [Form 3 Tracker](https://apify.com/nexgendata/sec-form-3-new-insider-tracker), [Form 144 Tracker](https://apify.com/nexgendata/sec-form-144-restricted-stock-sales-tracker)

**Agent front doors:** [SEC Corporate Events MCP](https://apify.com/nexgendata/sec-corporate-events-mcp), [Regulatory Filings MCP](https://apify.com/nexgendata/regulatory-filings-mcp)

***

*Data parsed from public SEC EDGAR filings. Factual public SEC/EDGAR data — not financial or investment advice. Not affiliated with the U.S. SEC.*

# Actor input Schema

## `limit` (type: `integer`):

Maximum number of Form 4 transaction records to push to the dataset (one row per insider transaction line). OpenInsider returns the most recent records first, sorted by filing date descending. Typical insider-flow analysts pull 100–500 records per refresh.

## `transaction_type` (type: `string`):

Filter to open-market insider buys (P codes), open-market sells (S codes), or all transactions. 'Buys' is the highest-signal subset — directors and officers typically only buy with their own cash when they believe the stock is undervalued. 'Sells' includes both informed sales and routine 10b5-1 plan sales.

## `date_range` (type: `string`):

How far back to look for Form 4 filings (by SEC filing date, not transaction date — insiders have 2 business days to file). Use last\_7d for breaking news / event-driven flow; last\_30d for the standard insider-monitor window; last\_90d for backtests; all for the full OpenInsider history available on the screener.

## `min_value_usd` (type: `integer`):

Skip transactions below this dollar value. The dollar value is shares × price per share. Common thresholds: $25,000 (filter routine awards/gifts), $100,000 (material trades by mid-level officers), $1,000,000 (meaningful CEO/CFO conviction trades). Leave at 0 for no filter.

## `ticker` (type: `string`):

Restrict results to a single US-listed ticker symbol (e.g. 'AAPL', 'TSLA', 'NVDA'). Leave blank to pull all tickers — the screener covers every US-listed common stock with a Form 4 filing in the requested window.

## `insider_role` (type: `string`):

Filter by the insider's reported role / relationship. 'CEO' isolates the highest-signal trades (CEO buys are the strongest documented insider signal in academic studies). '10%\_owner' surfaces large strategic holders. 'all' returns every officer + director + 10% owner.

## `cluster_only` (type: `boolean`):

If true, return only transactions where 3+ insiders at the same company traded in the same direction within the prior 30 days (cluster-buy / cluster-sell signal). Cluster buys are widely considered the strongest insider conviction signal — the academic consensus is that they outperform the market by 6–12% in the following 12 months.

## Actor input object example

```json
{
  "limit": 100,
  "transaction_type": "buys",
  "date_range": "last_30d",
  "min_value_usd": 0,
  "ticker": "",
  "insider_role": "all",
  "cluster_only": false
}
```

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "limit": 100,
    "transaction_type": "buys",
    "date_range": "last_30d",
    "min_value_usd": 0,
    "ticker": "",
    "insider_role": "all",
    "cluster_only": false
};

// Run the Actor and wait for it to finish
const run = await client.actor("nexgendata/sec-form4-insider-tracker").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "limit": 100,
    "transaction_type": "buys",
    "date_range": "last_30d",
    "min_value_usd": 0,
    "ticker": "",
    "insider_role": "all",
    "cluster_only": False,
}

# Run the Actor and wait for it to finish
run = client.actor("nexgendata/sec-form4-insider-tracker").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "limit": 100,
  "transaction_type": "buys",
  "date_range": "last_30d",
  "min_value_usd": 0,
  "ticker": "",
  "insider_role": "all",
  "cluster_only": false
}' |
apify call nexgendata/sec-form4-insider-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,nexgendata/sec-form4-insider-tracker"
        }
    }
}

```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/iwhnio1kE5kIexaYX/builds/uhi17RMm5Kkhep6QM/openapi.json
