# OpenInsider Scraper (`crawlerbros/open-insider-scraper`) Actor

Scrape SEC Form 4 insider trading data from OpenInsider.com - browse recent purchases and sales, filter by ticker, date range, transaction type, and value. Extracts filer name, title, shares traded, price, total value, and direct SEC filing links.

- **URL**: https://apify.com/crawlerbros/open-insider-scraper.md
- **Developed by:** [Crawler Bros](https://apify.com/crawlerbros) (community)
- **Categories:** Automation, Developer tools, Integrations
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.00 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

## OpenInsider Scraper

Extract SEC Form 4 insider trading disclosures from [OpenInsider.com](https://openinsider.com) — the leading aggregator of public insider trading filings. Monitor what company executives, directors, and 10% owners are buying and selling in real time.

### What You Get

Each record contains:
- **Ticker & company name** — stock symbol and company
- **Insider details** — name, title (CEO, Director, CFO, etc.), CIK number
- **Trade details** — transaction type (Purchase/Sale), shares traded, share price
- **Financial metrics** — total trade value, shares owned after trade
- **Filing links** — direct link to the SEC Form 4 filing
- **Timestamps** — SEC filing date and actual trade date

### Modes

| Mode | Description |
|---|---|
| `recentTransactions` | Latest insider purchases and sales (default) |
| `byTicker` | All insider trades for a specific stock ticker (e.g., AAPL, TSLA) |
| `screener` | Paginated screener with optional ticker filter |

### Input Parameters

| Parameter | Type | Description |
|---|---|---|
| `mode` | select | Scraping mode (see Modes above) |
| `ticker` | string | Stock ticker for `byTicker` mode or screener filter (e.g., `AAPL`) |
| `transactionTypeMode` | select | For `recentTransactions`: `all`, `buys`, or `sales` |
| `transactionType` | select | Filter by type: Purchase, Sale, Award, etc. |
| `dateRangeFrom` | string | Earliest trade date (YYYY-MM-DD) |
| `dateRangeTo` | string | Latest trade date (YYYY-MM-DD) |
| `minTotalValue` | integer | Minimum absolute trade value in USD |
| `maxTotalValue` | integer | Maximum absolute trade value in USD |
| `maxItems` | integer | Maximum records to return (default: 100) |

### Sample Output

```json
{
  "ticker": "AAPL",
  "companyName": "Apple Inc.",
  "insiderName": "Levinson Arthur D",
  "insiderTitle": "Dir",
  "transactionType": "Sale",
  "transactionTypeRaw": "S - Sale",
  "sharesTraded": -50000,
  "sharesOwned": 3755576,
  "price": 311.02,
  "totalValue": -15551000.0,
  "filingDate": "2026-05-29 18:30:27",
  "tradeDate": "2026-05-27",
  "secFilingUrl": "http://www.sec.gov/Archives/edgar/data/320193/000114036126023363/xslF345X03/form4.xml",
  "insiderProfileUrl": "https://openinsider.com/insider/Levinson-Arthur-D/1214128",
  "insiderCik": "1214128",
  "sourceUrl": "https://openinsider.com/latest-sales",
  "scrapedAt": "2026-06-10T12:00:00+00:00",
  "recordType": "insiderTrade"
}
````

### Use Cases

- **Trading signals** — identify stocks where insiders are buying heavily
- **Due diligence** — check executive selling patterns before investing
- **Compliance monitoring** — track Form 4 filings for specific companies
- **Market research** — analyze insider trading trends by sector or date range

### Data Source

Data is sourced from [OpenInsider.com](https://openinsider.com), which aggregates public SEC Form 4 filings. All data is publicly available and filed with the U.S. Securities and Exchange Commission. No authentication or API key required.

### FAQ

**How fresh is the data?**
OpenInsider updates within hours of SEC filings being processed. The `filingDate` field shows when the record was filed with the SEC.

**What is Form 4?**
SEC Form 4 is required to be filed within 2 business days of any transaction by corporate insiders (officers, directors, or 10% shareholders).

**Can I filter for large trades only?**
Yes — use `minTotalValue` to set a USD threshold (e.g., `100000` for trades over $100K).

**Why are some `sharesTraded` values negative?**
Negative values indicate share sales or dispositions. Positive values indicate purchases or awards.

**Is a proxy needed?**
No — OpenInsider.com is a public website with no bot protection. This actor uses standard HTTP requests without proxy overhead.

**What transaction types are available?**
Purchase, Sale, Sale+OE (Sale + Option Exercise), Award, Conversion, Exercise, Gift, Dispose.

# Actor input Schema

## `mode` (type: `string`):

What to scrape.

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

Stock ticker symbol, e.g. AAPL, MSFT, TSLA. Used in byTicker mode or as a screener filter.

## `transactionTypeMode` (type: `string`):

Which transaction categories to fetch in recentTransactions mode.

## `transactionType` (type: `string`):

Filter output to a specific transaction type. Leave blank for all types.

## `dateRangeFrom` (type: `string`):

Only include trades on or after this date (ISO format: 2024-01-01).

## `dateRangeTo` (type: `string`):

Only include trades on or before this date (ISO format: 2024-12-31).

## `minTotalValue` (type: `integer`):

Only include trades with absolute total value at or above this threshold (USD).

## `maxTotalValue` (type: `integer`):

Only include trades with absolute total value at or below this threshold (USD).

## `maxItems` (type: `integer`):

Hard cap on total records emitted.

## Actor input object example

```json
{
  "mode": "recentTransactions",
  "transactionTypeMode": "all",
  "transactionType": "",
  "maxItems": 20
}
```

# Actor output Schema

## `insiderTrades` (type: `string`):

Dataset containing all scraped insider trading records.

# 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 = {
    "mode": "recentTransactions",
    "transactionTypeMode": "all",
    "transactionType": "",
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlerbros/open-insider-scraper").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 = {
    "mode": "recentTransactions",
    "transactionTypeMode": "all",
    "transactionType": "",
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlerbros/open-insider-scraper").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 '{
  "mode": "recentTransactions",
  "transactionTypeMode": "all",
  "transactionType": "",
  "maxItems": 20
}' |
apify call crawlerbros/open-insider-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=crawlerbros/open-insider-scraper",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "OpenInsider Scraper",
        "description": "Scrape SEC Form 4 insider trading data from OpenInsider.com - browse recent purchases and sales, filter by ticker, date range, transaction type, and value. Extracts filer name, title, shares traded, price, total value, and direct SEC filing links.",
        "version": "1.0",
        "x-build-id": "51wtUqr5cGwYxt22g"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/crawlerbros~open-insider-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-crawlerbros-open-insider-scraper",
                "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/crawlerbros~open-insider-scraper/runs": {
            "post": {
                "operationId": "runs-sync-crawlerbros-open-insider-scraper",
                "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/crawlerbros~open-insider-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-crawlerbros-open-insider-scraper",
                "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": [
                    "mode"
                ],
                "properties": {
                    "mode": {
                        "title": "Mode",
                        "enum": [
                            "recentTransactions",
                            "byTicker",
                            "screener"
                        ],
                        "type": "string",
                        "description": "What to scrape.",
                        "default": "recentTransactions"
                    },
                    "ticker": {
                        "title": "Stock Ticker (mode=byTicker or screener filter)",
                        "type": "string",
                        "description": "Stock ticker symbol, e.g. AAPL, MSFT, TSLA. Used in byTicker mode or as a screener filter."
                    },
                    "transactionTypeMode": {
                        "title": "Transaction category (mode=recentTransactions)",
                        "enum": [
                            "all",
                            "buys",
                            "sales"
                        ],
                        "type": "string",
                        "description": "Which transaction categories to fetch in recentTransactions mode.",
                        "default": "all"
                    },
                    "transactionType": {
                        "title": "Transaction type filter",
                        "enum": [
                            "",
                            "Purchase",
                            "Sale",
                            "Sale+OE",
                            "Award",
                            "Conversion",
                            "Exercise",
                            "Gift",
                            "Dispose"
                        ],
                        "type": "string",
                        "description": "Filter output to a specific transaction type. Leave blank for all types.",
                        "default": ""
                    },
                    "dateRangeFrom": {
                        "title": "Trade date from (YYYY-MM-DD)",
                        "type": "string",
                        "description": "Only include trades on or after this date (ISO format: 2024-01-01)."
                    },
                    "dateRangeTo": {
                        "title": "Trade date to (YYYY-MM-DD)",
                        "type": "string",
                        "description": "Only include trades on or before this date (ISO format: 2024-12-31)."
                    },
                    "minTotalValue": {
                        "title": "Min total value (USD)",
                        "minimum": 0,
                        "maximum": 1000000000,
                        "type": "integer",
                        "description": "Only include trades with absolute total value at or above this threshold (USD)."
                    },
                    "maxTotalValue": {
                        "title": "Max total value (USD)",
                        "minimum": 0,
                        "maximum": 1000000000,
                        "type": "integer",
                        "description": "Only include trades with absolute total value at or below this threshold (USD)."
                    },
                    "maxItems": {
                        "title": "Max items",
                        "minimum": 1,
                        "maximum": 2000,
                        "type": "integer",
                        "description": "Hard cap on total records emitted.",
                        "default": 100
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
