# Insider Trading Tracker: SEC Form 4 Buys & Sells (EDGAR) (`datacrate/sec-form4-insider-transactions`) Actor

Insider buying and selling from SEC Form 4 filings: issuer, ticker, insider role, transaction type, shares, price and value. Filters by ticker, value, role and date. Official EDGAR data, no key.

- **URL**: https://apify.com/datacrate/sec-form4-insider-transactions.md
- **Developed by:** [Data Crate](https://apify.com/datacrate) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.20 / 1,000 insider transactions

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
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?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
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.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## 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.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## SEC Form 4 Insider Trading Tracker (EDGAR)

See what company insiders are buying and selling. Each row is one Form 4 transaction: issuer, ticker, insider role (CEO, CFO, Director, 10% Owner), transaction type, shares, price, total value, shares owned after, 10b5-1 flag and a link to the filing. Use it for insider-buying screens, CEO/CFO sale alerts and investor newsletters.

**First run:** press Start. The prefill returns up to 15 open-market purchases and sales of $100,000 or more from recent filings (about $0.02 at $0.0015 per transaction).

**Faster runs:** add tickers (e.g. NVDA, TSLA); only matching filings are downloaded. A full day of Form 4s (about 700-1,500 filings) takes several minutes.

Insiders are reported by role only; names are not returned. Form 4 is due two business days after a trade. Not investment advice.

### Input

| Field | What it does |
|---|---|
| `filedSince` | Read filings from this date to today (newest first, up to ~45 business days) |
| `tickers` | Only these issuers (e.g. `NVDA`, `TSLA`). Much faster, because only matching filings are downloaded |
| `transactionCodes` | `P` open-market purchase, `S` open-market sale, `A` grant, `M` option exercise, `F` tax withholding, `G` gift... |
| `minTransactionValue`, `minShares` | Size filters (value = shares x price) |
| `roles` | Insider role contains, e.g. `Chief Executive`, `CFO`, `Director`, `10% Owner` |
| `acquiredOrDisposed` | Buys/grants (`A`) or sales (`D`) |
| `includeDerivatives` | Also return option / RSU derivative transactions |
| `deltaMode` | Only filings not returned by earlier runs; schedule daily for an alert feed |
| `maxItems` | Stop after N matches |

Example: `{ "filedSince": "2026-11-10", "transactionCodes": ["P"], "minTransactionValue": 250000, "roles": ["Chief Executive", "Chief Financial"], "maxItems": 50 }`

### Sample output

```json
{
  "ticker": "TXG",
  "issuerName": "10x Genomics, Inc.",
  "insiderRoles": ["Director", "Chief Executive Officer"],
  "primaryRole": "Director",
  "transactionDate": "2026-11-10",
  "transactionCode": "S",
  "transactionType": "Open-market sale",
  "acquiredOrDisposed": "D",
  "shares": 31000,
  "pricePerShare": 62.9,
  "transactionValue": 1949900,
  "sharesOwnedAfter": 1019249,
  "ownershipType": "Direct",
  "is10b5One": false,
  "filingDate": "2026-11-13",
  "formType": "4",
  "accession": "0001610717-26-000453"
}
```

### Pricing

Pay per event: **$0.0015 per transaction record** returned (about $1.50 per 1,000). Platform usage is included in this price.

### How it works and run time

The Actor reads the SEC daily filing index, downloads each Form 4 and parses its transactions. It respects the SEC fair-access policy (at most 5 requests per second, identified User-Agent), so a full day of ~700-1,500 Form 4 filings takes several minutes. Selective filters and a small `maxItems` finish in seconds; a `tickers` list is the fastest way to follow specific companies.

### Data source & attribution

Source: SEC EDGAR, https://www.sec.gov/edgar (public domain US government data). This Actor is not affiliated with or endorsed by the SEC.

### Privacy

Insiders are reported by **role only** (CEO, CFO, Director, 10% Owner...). Names, SEC person IDs and addresses are not output.

### FAQ

**Why is there no insider name?** To keep personal data out of the feed. Roles and the SEC filing link are included; the filing link shows the full public record.

**What is `is10b5One`?** True when the filer marks the trade as made under a Rule 10b5-1 trading plan (or the footnotes mention one).

**Why is a price empty?** Grants, gifts and some transfers have no price; they have no `transactionValue` either.

**Are trades filed late?** Form 4 is due within two business days of the trade. `transactionDate` is the trade date and `filingDate` is when it was filed.

**Does the ticker filter cover foreign issuers or funds?** Only issuers that appear in the SEC's company ticker list.

**This is not investment advice.**

# Actor input Schema

## `filedSince` (type: `string`):

Only Form 4 filings on or after this date (up to ~45 business days back). Newest filings are read first. Empty = last 5 days.

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

Only these issuers, e.g. NVDA, TSLA. Makes runs much faster because only matching filings are downloaded. Empty = all issuers.

## `issuerContains` (type: `string`):

Case-insensitive match on the issuer name.

## `transactionCodes` (type: `array`):

SEC codes: P = open-market purchase, S = open-market sale, A = grant/award, M = option exercise, F = tax withholding, G = gift, D = disposition to issuer. Empty = all.

## `minTransactionValue` (type: `integer`):

Shares x price per share. Transactions without a price (grants, gifts) have no value and are skipped when this is set.

## `minShares` (type: `integer`):

Skip transactions with fewer shares than this. 0 = no minimum.

## `acquiredOrDisposed` (type: `string`):

A = acquired (buys, grants), D = disposed (sales). Empty = both.

## `roles` (type: `array`):

Match on the insider's role/title, e.g. 'Chief Executive', 'CFO', 'Director', '10% Owner'. Any entry matches. Empty = all roles.

## `includeDerivatives` (type: `boolean`):

Also return option/warrant/RSU derivative transactions (Table II).

## `includeAmendments` (type: `boolean`):

Also return Form 4/A amendment filings.

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

Stop after this many matching transactions.

## `deltaMode` (type: `boolean`):

Remember processed accession numbers in a named key-value store and skip them on later runs. Schedule daily for an alert feed.

## `contactEmail` (type: `string`):

Optional. The SEC asks automated clients to identify a contact; if set it replaces the default in the User-Agent sent to sec.gov. Not stored in output.

## `maxRequestsPerSecond` (type: `integer`):

SEC fair-access limit is 10/s. Default 4, max 5.

## Actor input object example

```json
{
  "filedSince": "2026-11-10",
  "tickers": [],
  "transactionCodes": [
    "P",
    "S"
  ],
  "minTransactionValue": 100000,
  "minShares": 0,
  "acquiredOrDisposed": "",
  "roles": [],
  "includeDerivatives": false,
  "includeAmendments": true,
  "maxItems": 15,
  "deltaMode": false,
  "maxRequestsPerSecond": 4
}
```

# Actor output Schema

## `results` (type: `string`):

All records returned by this run (default dataset items).

# 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 = {
    "filedSince": "2026-11-10",
    "tickers": [],
    "transactionCodes": [
        "P",
        "S"
    ],
    "minTransactionValue": 100000,
    "maxItems": 15
};

// Run the Actor and wait for it to finish
const run = await client.actor("datacrate/sec-form4-insider-transactions").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 = {
    "filedSince": "2026-11-10",
    "tickers": [],
    "transactionCodes": [
        "P",
        "S",
    ],
    "minTransactionValue": 100000,
    "maxItems": 15,
}

# Run the Actor and wait for it to finish
run = client.actor("datacrate/sec-form4-insider-transactions").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 '{
  "filedSince": "2026-11-10",
  "tickers": [],
  "transactionCodes": [
    "P",
    "S"
  ],
  "minTransactionValue": 100000,
  "maxItems": 15
}' |
apify call datacrate/sec-form4-insider-transactions --silent --output-dataset

```

## MCP server setup

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

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/14jlA9XhDGjeEwSMD/builds/mcDtnqEIoB52VRQJT/openapi.json
