# 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:** 8 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/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

## 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(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 '{
  "mode": "recentTransactions",
  "transactionTypeMode": "all",
  "transactionType": "",
  "maxItems": 20
}' |
apify call crawlerbros/open-insider-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawlerbros/open-insider-scraper"
        }
    }
}

```

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/99NsvQRNt8OkEKejX/builds/51wtUqr5cGwYxt22g/openapi.json
