# SEC Form 4 Insider Tracker MCP (`red.cars/sec-form-4-insider-tracker`) Actor

Track SEC Form 4 and 8-K insider filings for watched tickers. Input tickers and event types, get structured insider trading signals with transaction details.

- **URL**: https://apify.com/red.cars/sec-form-4-insider-tracker.md
- **Developed by:** [AutomateLab](https://apify.com/red.cars) (community)
- **Categories:** MCP servers, AI
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.01 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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

## What's an Apify Actor?

Actors are a software tools running on the Apify platform, for all kinds of web data extraction and automation use cases.
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.

In JavaScript/TypeScript projects, use official [JavaScript/TypeScript client](https://docs.apify.com/api/client/js.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python.md):

```bash
pip install apify-client
```

In shell scripts, use [Apify CLI](https://docs.apify.com/cli/docs.md):

````bash
# MacOS / Linux
curl -fsSL https://apify.com/install-cli.sh | bash
# Windows
irm https://apify.com/install-cli.ps1 | iex
```bash

In AI frameworks, you might use the [Apify MCP server](https://docs.apify.com/platform/integrations/mcp.md).

If your project is in a different language, use 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 MCP

Monitor SEC EDGAR (sec.gov) for Form 4 insider trades and 8-K material events across your stock watchlist, returning structured transaction data with insider names, titles, share counts, and USD values.

### Overview

Track insider buying and selling activity across publicly traded companies using official SEC EDGAR filings. Form 4 disclosures are filed when company insiders—executives, directors, and large shareholders—make transactions in company stock. The SEC enforces same-day filing deadlines, making this data one of the fastest available signals for insider sentiment. 8-K reports capture material events like earnings surprises, executive changes, and strategic pivots that move markets.

### Features

- **Real-time SEC monitoring**: Tracks Form 4 (insider purchases/sales) and 8-K (material company events) filings with ~15-minute SEC EDGAR latency
- **Multi-ticker batch tracking**: Watch up to 50 stock tickers simultaneously in a single API call
- **Structured JSON output**: Parsed insider data—no more wrestling with raw SEC XML formats
- **Transaction type decoding**: Automatically interprets P=Purchase, S=Sale, D=Disposition, M=Merger transaction codes
- **Insider title extraction**: Captures officer/director titles (CEO, CFO, Director, etc.) from Form 4 filings
- **USD value calculation**: Computes total transaction value from share count × price when available
- **MCP server integration**: Native Model Context Protocol tool for AI agent workflows
- **Apify actor compatibility**: Full JSON input schema for batch processing and scheduling

### Use Cases

- **Quantitative trading signals**: Screen for insider buying clusters that historically precede price appreciation; filter by transaction size relative to insider holdings
- **Due diligence monitoring**: Alert when executives or directors in your portfolio companies file unusual transactions—large purchases signal confidence, sudden sales warrant investigation
- **Earnings season preparation**: Track 8-K filings for revenue warnings or guidance changes in the weeks before quarterly reports to position ahead of volatility
- **Risk management**: Identify insider selling at historical highs that may signal overvaluation or upcoming lock-up expirations
- **M&A alpha detection**: Monitor 8-K disclosures for joint ventures, licensing agreements, and strategic partnerships that hint at future transactions
- **Short squeeze screening**: Flag rapid accumulation by insiders combined with high short interest as potential catalysts

### Quick Start

#### Prerequisites

- Apify account (free tier available)
- Node.js 18+ for local testing

#### 1-minute setup

```bash
## Install Apify CLI
npm install -g apify-cli

## Clone the actor
apify actors:create sec-form-4-insider-tracker

## Set environment variable
export APIFY_TOKEN=your_apify_token

## Run locally
node main.js --tickers AAPL,MSFT,GOOGL --maxResults 5
````

#### MCP Quick Start

```json
{
  "toolName": "track_insider_filings",
  "arguments": {
    "tickers": ["AAPL", "MSFT", "GOOGL"],
    "event_types": ["4", "8-K"],
    "maxResults": 10
  }
}
```

### Input Parameters

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| tickers | array of string | \["AAPL", "MSFT"] | Stock tickers to monitor (max 50) |
| event\_types | array of string | \["4", "8-K"] | SEC form types: 4=Form4 insider trades, 8-K=material events |
| maxResults | integer | 10 | Max filings to return per ticker (max 50) |

### Output

```json
{
  "tickers_watched": ["AAPL", "MSFT"],
  "event_types_tracked": ["4", "8-K"],
  "total_filings": 2,
  "filings": [
    {
      "ticker": "AAPL",
      "form_type": "4",
      "filed_at": "2026-05-14",
      "insider_name": "Tim Cook",
      "title": "Chief Executive Officer",
      "transaction_type": "P - Purchase",
      "value_usd": 150000,
      "shares": 1000
    },
    {
      "ticker": "AAPL",
      "form_type": "8-K",
      "filed_at": "2026-05-13",
      "insider_name": "N/A - Company Filing",
      "title": "N/A",
      "transaction_type": "8-K Item 2.02",
      "value_usd": 0,
      "shares": 0
    }
  ],
  "metadata": {
    "sec_source": "https://www.sec.gov/cgi-bin/browse-edgar",
    "fetched_at": "2026-05-15T12:00:00Z"
  }
}
```

### Pricing

**PPE**: $0.08 per watched ticker per filing event.

Cost estimation: Watching 3 tickers with 5 filing events = 3 × 5 × $0.08 = $1.20

| Scenario | Tickers | Events | Cost |
|----------|---------|--------|------|
| Small watchlist | 5 | 10 | $0.40 |
| Medium portfolio | 15 | 20 | $2.40 |
| Large hedge fund | 50 | 50 | $20.00 |

### Troubleshooting

**"No filings found for ticker"**: SEC EDGAR has ~15-minute delay on new filings. If a filing just occurred, wait 15 minutes and retry. Also verify the ticker symbol is correct (e.g., "BRK.B" not "BRK B").

**"Rate limit exceeded"**: SEC imposes limits on EDGAR queries. The actor includes built-in retry logic with exponential backoff. For high-volume use cases, spread requests across multiple calls with 5-second intervals.

**"Form type not supported"**: Currently supports Form 4 (insider trades) and 8-K (material events). For support of additional form types (Form 13D, Form S-1, etc.), contact the development team with your requirements.

**"Invalid ticker symbol"**: Only valid SEC-registered tickers work. Test with well-known symbols like AAPL, MSFT, GOOGL before using niche symbols.

**"maxResults capped at 50"**: The SEC caps response size for performance. Use pagination by incrementing a date filter to retrieve historical filings in batches.

**Data latency concerns**: For real-time trading signals requiring zero latency, consider premium data feeds from Bloomberg or Refinitiv. SEC filings inherently have ~15-minute delay by regulation.

# Actor input Schema

## `tool` (type: `string`):

MCP tool to call

## `tickers` (type: `array`):

Stock tickers to watch (e.g. AAPL, MSFT, GOOGL)

## `event_types` (type: `array`):

SEC form types to track (4=Form4, 8-K=8-K)

## `maxResults` (type: `integer`):

Max filings to return per ticker

## Actor input object example

```json
{
  "tool": "track_insider_filings",
  "tickers": [
    "AAPL",
    "MSFT"
  ],
  "event_types": [
    "4",
    "8-K"
  ],
  "maxResults": 10
}
```

# 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 = {
    "tool": "track_insider_filings",
    "tickers": [
        "AAPL",
        "MSFT"
    ],
    "event_types": [
        "4",
        "8-K"
    ],
    "maxResults": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("red.cars/sec-form-4-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 = {
    "tool": "track_insider_filings",
    "tickers": [
        "AAPL",
        "MSFT",
    ],
    "event_types": [
        "4",
        "8-K",
    ],
    "maxResults": 10,
}

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

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

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

```

## CLI example

```bash
echo '{
  "tool": "track_insider_filings",
  "tickers": [
    "AAPL",
    "MSFT"
  ],
  "event_types": [
    "4",
    "8-K"
  ],
  "maxResults": 10
}' |
apify call red.cars/sec-form-4-insider-tracker --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=red.cars/sec-form-4-insider-tracker",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "SEC Form 4 Insider Tracker MCP",
        "description": "Track SEC Form 4 and 8-K insider filings for watched tickers. Input tickers and event types, get structured insider trading signals with transaction details.",
        "version": "0.1",
        "x-build-id": "D1tczhspVJCBvexJF"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/red.cars~sec-form-4-insider-tracker/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-red.cars-sec-form-4-insider-tracker",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        },
        "/acts/red.cars~sec-form-4-insider-tracker/runs": {
            "post": {
                "operationId": "runs-sync-red.cars-sec-form-4-insider-tracker",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor and returns information about the initiated run in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK",
                        "content": {
                            "application/json": {
                                "schema": {
                                    "$ref": "#/components/schemas/runsResponseSchema"
                                }
                            }
                        }
                    }
                }
            }
        },
        "/acts/red.cars~sec-form-4-insider-tracker/run-sync": {
            "post": {
                "operationId": "run-sync-red.cars-sec-form-4-insider-tracker",
                "x-openai-isConsequential": false,
                "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
                "tags": [
                    "Run Actor"
                ],
                "requestBody": {
                    "required": true,
                    "content": {
                        "application/json": {
                            "schema": {
                                "$ref": "#/components/schemas/inputSchema"
                            }
                        }
                    }
                },
                "parameters": [
                    {
                        "name": "token",
                        "in": "query",
                        "required": true,
                        "schema": {
                            "type": "string"
                        },
                        "description": "Enter your Apify token here"
                    }
                ],
                "responses": {
                    "200": {
                        "description": "OK"
                    }
                }
            }
        }
    },
    "components": {
        "schemas": {
            "inputSchema": {
                "type": "object",
                "required": [
                    "tickers",
                    "event_types"
                ],
                "properties": {
                    "tool": {
                        "title": "Tool Name",
                        "enum": [
                            "track_insider_filings"
                        ],
                        "type": "string",
                        "description": "MCP tool to call",
                        "default": "track_insider_filings"
                    },
                    "tickers": {
                        "title": "Stock Tickers",
                        "type": "array",
                        "description": "Stock tickers to watch (e.g. AAPL, MSFT, GOOGL)",
                        "items": {
                            "type": "string"
                        },
                        "default": [
                            "AAPL",
                            "MSFT"
                        ]
                    },
                    "event_types": {
                        "title": "SEC Event Types",
                        "type": "array",
                        "description": "SEC form types to track (4=Form4, 8-K=8-K)",
                        "items": {
                            "type": "string"
                        },
                        "default": [
                            "4",
                            "8-K"
                        ]
                    },
                    "maxResults": {
                        "title": "Max Results",
                        "minimum": 1,
                        "maximum": 50,
                        "type": "integer",
                        "description": "Max filings to return per ticker",
                        "default": 10
                    }
                }
            },
            "runsResponseSchema": {
                "type": "object",
                "properties": {
                    "data": {
                        "type": "object",
                        "properties": {
                            "id": {
                                "type": "string"
                            },
                            "actId": {
                                "type": "string"
                            },
                            "userId": {
                                "type": "string"
                            },
                            "startedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "finishedAt": {
                                "type": "string",
                                "format": "date-time",
                                "example": "2025-01-08T00:00:00.000Z"
                            },
                            "status": {
                                "type": "string",
                                "example": "READY"
                            },
                            "meta": {
                                "type": "object",
                                "properties": {
                                    "origin": {
                                        "type": "string",
                                        "example": "API"
                                    },
                                    "userAgent": {
                                        "type": "string"
                                    }
                                }
                            },
                            "stats": {
                                "type": "object",
                                "properties": {
                                    "inputBodyLen": {
                                        "type": "integer",
                                        "example": 2000
                                    },
                                    "rebootCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "restartCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "resurrectCount": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "computeUnits": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "options": {
                                "type": "object",
                                "properties": {
                                    "build": {
                                        "type": "string",
                                        "example": "latest"
                                    },
                                    "timeoutSecs": {
                                        "type": "integer",
                                        "example": 300
                                    },
                                    "memoryMbytes": {
                                        "type": "integer",
                                        "example": 1024
                                    },
                                    "diskMbytes": {
                                        "type": "integer",
                                        "example": 2048
                                    }
                                }
                            },
                            "buildId": {
                                "type": "string"
                            },
                            "defaultKeyValueStoreId": {
                                "type": "string"
                            },
                            "defaultDatasetId": {
                                "type": "string"
                            },
                            "defaultRequestQueueId": {
                                "type": "string"
                            },
                            "buildNumber": {
                                "type": "string",
                                "example": "1.0.0"
                            },
                            "containerUrl": {
                                "type": "string"
                            },
                            "usage": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "integer",
                                        "example": 1
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            },
                            "usageTotalUsd": {
                                "type": "number",
                                "example": 0.00005
                            },
                            "usageUsd": {
                                "type": "object",
                                "properties": {
                                    "ACTOR_COMPUTE_UNITS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATASET_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "KEY_VALUE_STORE_WRITES": {
                                        "type": "number",
                                        "example": 0.00005
                                    },
                                    "KEY_VALUE_STORE_LISTS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_READS": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "REQUEST_QUEUE_WRITES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_INTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "DATA_TRANSFER_EXTERNAL_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                                        "type": "integer",
                                        "example": 0
                                    },
                                    "PROXY_SERPS": {
                                        "type": "integer",
                                        "example": 0
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
