# SEC EDGAR Filings Scraper - Insider Trades & Reports (`oriented_wallpaper/sec-edgar-filings-scraper`) Actor

Scrape SEC EDGAR filings by stock ticker or company — form type + plain-English label, filing & report dates, filer, accession & direct doc links. Filter to Form 4 insider trades, 8-K, 10-K, 13F etc. + by date. Official SEC data, no API key. Export CSV/JSON/Excel.

- **URL**: https://apify.com/oriented\_wallpaper/sec-edgar-filings-scraper.md
- **Developed by:** [Flash Scrape](https://apify.com/oriented_wallpaper) (community)
- **Categories:** Business, News
- **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. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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 EDGAR Filings Scraper - Insider Trades & Reports

**This SEC EDGAR scraper turns the official SEC filings database into a clean feed** — give it a stock **ticker** (or company name) and get one row per filing: the form type with a **plain-English label**, filing & report dates, the filer, accession number, and **direct links to the filing index and primary document**. Filter to a specific form — **Form 4 insider trades**, 8-K material events, 10-K annual reports, 13F institutional holdings, S-1 IPOs — and by date. Export to CSV, JSON, or Excel.

Built for **investors, equity & credit analysts, compliance teams, fintech builders, and journalists** who want a clean, queryable filings/insider-trade feed — not EDGAR's raw 1990s interface. Official SEC data (data.sec.gov), **no API key, no anti-bot.**

---

### Why use this

- **Parsed Form 4 insider transactions** — the killer feature. For Form 3/4/5 filings it fetches the ownership XML and returns the **full transaction table** (security, code + plain-English label, shares, price, value, shares owned after) plus the insider's name and role (director / officer + title / 10% owner). Competitors stop at a link to the document.
- **Buy/sell `signal_score`** (-100…+100) — every insider filing is classified (open-market buy = bullish, sale = bearish, grant/exercise/tax = routine) with `total_bought_value`, `total_sold_value`, and `net_transaction_value`, so you can rank real conviction trades.
- **Company profile on every row** — SIC industry, exchange, fiscal-year-end, state of incorporation, entity category — joined automatically.
- **Ticker → filings in one step** — you give `AAPL`; it resolves the CIK and pulls the filings (no CIK lookup needed).
- **Plain-English form labels** — `4` → "Insider trade", `8-K` → "Material event", `13F-HR` → "Institutional holdings".
- **Direct document links** — jump straight to the filing's primary document and index.
- **Form + date filters** — e.g. only Form 4 insider trades since a date, across several tickers at once.
- **Authoritative + free** — straight from the SEC, no key, no proxies.

#### Input

| Field | Type | Description |
|---|---|---|
| `tickers` | array | Stock tickers, e.g. `["AAPL","NVDA"]`. |
| `companyName` | string | Company-name search (partial). |
| `ciks` | array | SEC CIKs (advanced). |
| `formType` | string | Keep forms starting with this — `4`, `8-K`, `10-K`, `13F`, `SC 13`. |
| `dateFrom` | string | Filings on/after `YYYY-MM-DD`. |
| `parseInsiderTransactions` | boolean | Parse Form 3/4/5 ownership XML into the transaction table + signal. Default `true`. |
| `maxInsiderDocs` | integer | Cap on insider docs parsed per run (each is one extra SEC request). |
| `maxItems` | integer | Max filings total. Default `200`. |
| `maxPerCompany` | integer | Cap per company (≤1000). |

**Example input:**

```json
{ "tickers": ["AAPL", "NVDA"], "formType": "4", "dateFrom": "2025-01-01", "maxItems": 500 }
````

#### JSON output sample

```json
{
  "ticker": "AAPL",
  "company": "Apple Inc.",
  "cik": 320193,
  "company_sic": "3571",
  "company_industry": "Electronic Computers",
  "company_exchange": "Nasdaq",
  "fiscal_year_end": "0928",
  "state_of_incorporation": "CA",
  "form": "4",
  "form_label": "Insider trade",
  "filing_date": "2025-05-14",
  "report_date": "2025-05-12",
  "accession_number": "0000320193-25-000057",
  "primary_doc_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019325000057/xslF345X05/...",
  "filing_index_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019325000057/",
  "insider_name": "Newstead Jennifer",
  "insider_role": "SVP, GC and Secretary",
  "insider_is_officer": true,
  "transactions": [
    { "security": "Common Stock", "date": "2025-05-12", "code": "S", "code_label": "Open-market sale",
      "acquired_disposed": "D", "shares": 16238, "price_per_share": 296.42, "value": 4813267.96, "shares_owned_after": 41546 }
  ],
  "transaction_count": 1,
  "total_bought_value": 0.0,
  "total_sold_value": 4813267.96,
  "net_transaction_value": -4813267.96,
  "insider_signal": "Bearish — open-market sale",
  "signal_score": -55,
  "is_xbrl": false,
  "size": 12345
}
```

Results render as a clean, sortable table (newest first) and export to CSV, JSON, or Excel.

***

### Use cases

- **Insider-trade tracking** — pull Form 4s across a watchlist of tickers and watch executive buying/selling.
- **Event monitoring** — schedule 8-K pulls to catch material events (M\&A, exec changes, results).
- **Fundamental research** — grab the latest 10-K/10-Q with direct document links.
- **13F / activist watch** — track institutional holdings and SC 13D/G ownership stakes.
- **Compliance / journalism** — a clean, dated, linkable filings trail.

***

### Use with AI agents & automation

Run from the Apify **MCP** server so AI agents can pull filings as a tool call, schedule it via **Make**, **n8n**, or **Zapier** to alert on new Form 4s / 8-Ks for a watchlist, or sync to **Google Sheets**. Clean flat JSON drops into a trading/research pipeline with no glue code.

***

### Pricing

**Pay-per-event — charged per filing delivered.** Source is the free public SEC EDGAR API (no proxy cost). See the Apify Store page for the current price.

***

### FAQ

**Where's the data from?** The official **SEC EDGAR** data API (data.sec.gov) and the SEC ticker→CIK map — public US government data.

**Do I need an API key?** No.

**How far back does it go?** The SEC "recent" feed holds up to ~1000 of each company's latest filings; use `formType` + `dateFrom` to scope it.

**Does Form 4 include the trade details?** Yes — with `parseInsiderTransactions` on (default), the actor fetches each Form 3/4/5 ownership XML and returns the full parsed transaction table (insider name + role, transaction code with a plain-English label, shares, price, total value, shares owned after) plus a buy/sell `signal_score`. Turn it off, or lower `maxInsiderDocs`, for faster link-only runs.

**Can I export to CSV or Google Sheets?** Yes — CSV, JSON, or Excel, or sync via Make/n8n/Zapier.

***

### Other Flash Scrape scrapers

- [FDA Recall Scraper](https://apify.com/oriented_wallpaper/fda-recall-scraper) — drug/device/food recalls
- [US Lobbying Disclosure Scraper](https://apify.com/oriented_wallpaper/lobbying-disclosure-scraper) — federal lobbying filings
- [NPI Healthcare Provider Scraper](https://apify.com/oriented_wallpaper/npi-healthcare-leads) — US provider leads
- [HUD Assisted Housing Scraper](https://apify.com/oriented_wallpaper/hud-assisted-housing-scraper) — Section 8 properties

# Actor input Schema

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

Stock ticker symbols, e.g. 'AAPL', 'NVDA', 'TSLA'. The actor resolves them to SEC CIKs.

## `companyName` (type: `string`):

Company name search (matches the SEC company title, partial). Use instead of / with tickers.

## `ciks` (type: `array`):

SEC Central Index Keys, if you already have them.

## `formType` (type: `string`):

Keep only filings whose form starts with this, e.g. '4' (insider trades), '8-K', '10-K', '13F', 'SC 13'. Leave empty for all forms.

## `dateFrom` (type: `string`):

Only filings on/after this date (YYYY-MM-DD). Optional.

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

Maximum filings to return across all companies.

## `maxPerCompany` (type: `integer`):

Cap per company (the SEC 'recent' feed holds up to ~1000 latest filings).

## `parseInsiderTransactions` (type: `boolean`):

For insider filings, fetch and parse the ownership XML into a structured transaction table (insider name, role, code, shares, price, value, shares owned after) plus a buy/sell signal score.

## `maxInsiderDocs` (type: `integer`):

Cap on how many Form 3/4/5 documents to fetch + parse per run (each is one extra request to SEC).

## Actor input object example

```json
{
  "tickers": [
    "NVDA",
    "TSLA"
  ],
  "ciks": [],
  "maxItems": 200,
  "maxPerCompany": 1000,
  "parseInsiderTransactions": true,
  "maxInsiderDocs": 300
}
```

# Actor output Schema

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

No description

# 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 = {
    "tickers": [
        "AAPL"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("oriented_wallpaper/sec-edgar-filings-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 = { "tickers": ["AAPL"] }

# Run the Actor and wait for it to finish
run = client.actor("oriented_wallpaper/sec-edgar-filings-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 '{
  "tickers": [
    "AAPL"
  ]
}' |
apify call oriented_wallpaper/sec-edgar-filings-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "SEC EDGAR Filings Scraper - Insider Trades & Reports",
        "description": "Scrape SEC EDGAR filings by stock ticker or company — form type + plain-English label, filing & report dates, filer, accession & direct doc links. Filter to Form 4 insider trades, 8-K, 10-K, 13F etc. + by date. Official SEC data, no API key. Export CSV/JSON/Excel.",
        "version": "0.1",
        "x-build-id": "b3D7myfX5wYCSo5Os"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/oriented_wallpaper~sec-edgar-filings-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-oriented_wallpaper-sec-edgar-filings-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/oriented_wallpaper~sec-edgar-filings-scraper/runs": {
            "post": {
                "operationId": "runs-sync-oriented_wallpaper-sec-edgar-filings-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/oriented_wallpaper~sec-edgar-filings-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-oriented_wallpaper-sec-edgar-filings-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",
                "properties": {
                    "tickers": {
                        "title": "Stock tickers",
                        "type": "array",
                        "description": "Stock ticker symbols, e.g. 'AAPL', 'NVDA', 'TSLA'. The actor resolves them to SEC CIKs.",
                        "items": {
                            "type": "string"
                        }
                    },
                    "companyName": {
                        "title": "Company name",
                        "type": "string",
                        "description": "Company name search (matches the SEC company title, partial). Use instead of / with tickers."
                    },
                    "ciks": {
                        "title": "CIKs (advanced)",
                        "type": "array",
                        "description": "SEC Central Index Keys, if you already have them.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "formType": {
                        "title": "Form type filter",
                        "type": "string",
                        "description": "Keep only filings whose form starts with this, e.g. '4' (insider trades), '8-K', '10-K', '13F', 'SC 13'. Leave empty for all forms."
                    },
                    "dateFrom": {
                        "title": "Filed on/after (date)",
                        "type": "string",
                        "description": "Only filings on/after this date (YYYY-MM-DD). Optional."
                    },
                    "maxItems": {
                        "title": "Max filings (total)",
                        "minimum": 1,
                        "maximum": 10000,
                        "type": "integer",
                        "description": "Maximum filings to return across all companies.",
                        "default": 200
                    },
                    "maxPerCompany": {
                        "title": "Max filings per company",
                        "minimum": 1,
                        "maximum": 1000,
                        "type": "integer",
                        "description": "Cap per company (the SEC 'recent' feed holds up to ~1000 latest filings).",
                        "default": 1000
                    },
                    "parseInsiderTransactions": {
                        "title": "Parse insider transactions (Form 3/4/5)",
                        "type": "boolean",
                        "description": "For insider filings, fetch and parse the ownership XML into a structured transaction table (insider name, role, code, shares, price, value, shares owned after) plus a buy/sell signal score.",
                        "default": true
                    },
                    "maxInsiderDocs": {
                        "title": "Max insider documents to parse",
                        "minimum": 0,
                        "maximum": 2000,
                        "type": "integer",
                        "description": "Cap on how many Form 3/4/5 documents to fetch + parse per run (each is one extra request to SEC).",
                        "default": 300
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
