# SEC Filings and Insider Trading Scraper (EDGAR, Form 4) (`tacps126/sec-filings`) Actor

SEC EDGAR filings (10-K, 10-Q, 8-K and every other form) and insider trades from Form 4 by ticker: who bought or sold, shares, price and value. Official SEC data, only-new monitoring for a watchlist. From $0.40 per 1,000 filings.

- **URL**: https://apify.com/tacps126/sec-filings.md
- **Developed by:** [Tapaswai Choudhary](https://apify.com/tacps126) (community)
- **Categories:** Business, Lead generation, AI
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.32 / 1,000 filings

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 Filings and Insider Trades

Company filings and insider trades from the US Securities and Exchange Commission, as clean rows. Give it
tickers; get the documents each company filed, or every trade its officers, directors and large shareholders
reported.

### At a glance

- **Filings:** 10-K, 10-Q, 8-K, S-1, proxy statements, 13F and every other form, with links to the document
  and the filing page.
- **Insider trades:** one row per trade from Form 4: who traded, their role, purchase or sale, shares, price,
  value and shares held afterwards.
- **Monitoring:** turn on *Only new since last run* and schedule it to follow a watchlist.
- **Price:** $0.40 per 1,000 filings, $2 per 1,000 insider trades, plus a small start fee per run.
- **Source:** the SEC's own public data.

### Who uses it

- Investors and analysts following a watchlist for new reports and insider buying.
- Fintech and research products that need filings or insider activity as data.
- Sales and account research teams watching for 8-K events at target companies.

### Input

| Field | What it does |
|---|---|
| Companies | Tickers, CIK numbers or exact company names |
| What to get | Filings, or insider trades |
| Form types | For filings: which forms to keep (empty = all) |
| Filed in the last (days) | How far back to look (default 90) |
| Trades to keep | For insider trades: all, purchases only or sales only |
| Minimum trade value | For insider trades: lowest shares times price |
| Max rows per company / in total | Newest first |
| Only new since last run | For scheduled monitoring |

Example: insider purchases over $100,000 at three companies in the last 180 days.

```json
{
  "companies": ["NVDA", "TSLA", "JPM"],
  "mode": "insiderTrades",
  "trades": "purchases",
  "minValue": 100000,
  "filedWithinDays": 180
}
```

### Output

A filing:

```json
{
  "type": "filing",
  "ticker": "AAPL",
  "company": "Apple Inc.",
  "cik": 320193,
  "form": "10-K",
  "filedDate": "2026-10-30",
  "reportDate": "2026-09-26",
  "description": "10-K",
  "accessionNumber": "0000320193-26-000010",
  "url": "https://www.sec.gov/Archives/edgar/data/320193/000032019326000010/aapl-20260926.htm",
  "indexUrl": "https://www.sec.gov/Archives/edgar/data/320193/000032019326000010/0000320193-26-000010-index.htm",
  "sizeBytes": 9000000
}
```

An insider trade:

```json
{
  "type": "insiderTrade",
  "ticker": "AAPL",
  "company": "Apple Inc.",
  "insiderName": "DOE JANE",
  "isOfficer": true,
  "officerTitle": "Chief Financial Officer",
  "security": "Common Stock",
  "transactionDate": "2026-10-02",
  "transactionCode": "S",
  "transaction": "Sale",
  "shares": 1000,
  "pricePerShare": 250.5,
  "value": 250500,
  "acquiredOrDisposed": "Disposed",
  "sharesOwnedAfter": 120000,
  "ownership": "Direct",
  "derivative": false,
  "filedDate": "2026-10-03",
  "filingUrl": "https://www.sec.gov/Archives/edgar/data/320193/000114036126000222/0001140361-26-000222-index.htm"
}
```

### Use it as an API

```
GET https://tacps126--sec-filings.apify.actor/?ticker=AAPL&forms=8-K&days=30
```

Add `mode=insiderTrades` for trades, `format=rss` for a feed, `responseSummary=true` for a short answer.

### Questions

**Which trades count as purchases and sales?** Open-market purchases (code P) and sales (code S). Awards,
option exercises, gifts and shares withheld for tax are returned under *All* with their own label.

**How far back does it go?** The most recent filings of each company, usually the last one to two years
for active filers.

**Can I look up a fund or a private filer?** Yes, by its CIK number.

**Is this investment advice?** No. It is public filing data.

# Actor input Schema

## `companies` (type: `array`):

Tickers (AAPL), SEC CIK numbers or exact registered company names, one per line.

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

Filings lists the documents a company filed. Insider trades reads each Form 4 and returns one row per trade by an officer, director or large shareholder.

## `formTypes` (type: `array`):

For Filings: keep only these forms, for example 10-K, 10-Q, 8-K, S-1, DEF 14A, 13F-HR. Amendments (10-K/A) are included. Leave empty for every form.

## `filedWithinDays` (type: `integer`):

Only filings from this many days.

## `trades` (type: `string`):

For Insider trades.

## `minValue` (type: `integer`):

For Insider trades: shares times price must be at least this much.

## `maxItemsPerCompany` (type: `integer`):

Newest first.

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

The run stops at this many rows.

## `onlyNew` (type: `boolean`):

Return only rows that earlier runs with the same monitor name did not return. Use it with a schedule.

## `monitorName` (type: `string`):

A name for this monitor, so several schedules keep separate histories. Leave empty to keep one history per set of inputs.

## `tenantId` (type: `string`):

Optional. Keeps histories of different teams or clients apart.

## `debug` (type: `boolean`):

Write more detail to the log.

## Actor input object example

```json
{
  "companies": [
    "AAPL",
    "MSFT"
  ],
  "mode": "filings",
  "formTypes": [
    "10-K",
    "10-Q",
    "8-K"
  ],
  "filedWithinDays": 90,
  "trades": "all",
  "maxItemsPerCompany": 100,
  "maxItems": 50,
  "onlyNew": false,
  "debug": false
}
```

# Actor output Schema

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

The produced items (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 = {
    "companies": [
        "AAPL",
        "MSFT"
    ],
    "formTypes": [
        "10-K",
        "10-Q",
        "8-K"
    ],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("tacps126/sec-filings").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 = {
    "companies": [
        "AAPL",
        "MSFT",
    ],
    "formTypes": [
        "10-K",
        "10-Q",
        "8-K",
    ],
    "maxItems": 50,
}

# Run the Actor and wait for it to finish
run = client.actor("tacps126/sec-filings").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 '{
  "companies": [
    "AAPL",
    "MSFT"
  ],
  "formTypes": [
    "10-K",
    "10-Q",
    "8-K"
  ],
  "maxItems": 50
}' |
apify call tacps126/sec-filings --silent --output-dataset

```

## MCP server setup

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

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/kCO70tlP2LayS2QVh/builds/m19SJZAJGVKMvslGf/openapi.json
