# SEC EDGAR Scraper - Filings, Financials, Insider Trades, 13F (`scrapercompany/sec-edgar-scraper`) Actor

Scrape SEC EDGAR: company filings and profiles, financial statements (revenue, profit, cash flow, EPS), insider trades (Form 4), 13F holdings with quarterly changes, Form D private placements, full-text search and the earnings calendar. By ticker, CIK or keyword. Made by ScraperCompany.

- **URL**: https://apify.com/scrapercompany/sec-edgar-scraper.md
- **Developed by:** [ScraperCompany](https://apify.com/scrapercompany) (community)
- **Categories:** Business, Lead generation
- **Security:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.55 / 1,000 company or filings lookups

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 EDGAR Scraper - Filings, Financials, Insider Trades, 13F

**SEC EDGAR Scraper** by ScraperCompany turns EDGAR into clean JSON. Get a company's **profile and recent filings** (10-K, 10-Q, 8-K, S-1 and more, with document links), its **financial statements** (revenue, gross and operating profit, net income, EPS, operating cash flow, capex and balance-sheet values by fiscal period), **insider trades** from Form 4 (who, title, buy or sell, shares, price, value), an investment manager's **13F holdings** with changes since the previous quarter, **Form D private placements** (who raised how much, from how many investors), **full-text search** across filings, and the **earnings calendar** for any day. Pricing is pay-per-event: from **$0.003 per lookup** to **$0.006 per insider-trade, 13F or Form D request**; empty answers and failed requests are free.

**Nothing to set up:** no code, no login and no keys. Start a run, then export JSON, CSV or Excel, or pull the results through the Apify API. You pay only for results; failed and empty requests are free.

### What can this SEC EDGAR scraper do?

- **Filings and profiles**: CIK, tickers, SIC, address and recent filings with items and links.
- **Financial statements** from XBRL: revenue, profit, EPS, cash flow and capex by fiscal period.
- **Insider trades (Form 4)** with buy and sale summaries; filter by transaction code.
- **13F holdings** with value, weight and quarter-on-quarter share changes, plus positions sold out.
- **Form D private placements**, **full-text search** and the **earnings calendar**.

#### Modes

| Mode | What it returns | Price per request |
| --- | --- | --- |
| `filings` | A company's profile (CIK, tickers, SIC, address) and recent filings with form, dates, items and document links | $0.003 |
| `financials` | Revenue, cost of revenue, gross and operating profit, net income, EPS, cash flow, capex and balance-sheet values by fiscal period | $0.004 |
| `insider_trades` | Insider buys, sales, grants and exercises with insider, title, shares, price, value and holdings after | $0.006 |
| `holdings` | An investment manager's 13F positions with value, shares, weight and quarter-on-quarter changes | $0.006 |
| `private_placements` | Form D raises: issuer, industry, amount offered and sold, investors, minimum investment and related persons | $0.006 |
| `search` | EDGAR full-text search: filings mentioning a phrase, with company, form, dates and document links | $0.004 |
| `companies` | CIK numbers and tickers for a company, fund or person name | $0.003 |
| `earnings_calendar` | Every company reporting earnings on a day: symbol, time, EPS forecast, last year's EPS and market cap | $0.004 |

### What makes it different?

| | **SEC EDGAR Scraper** | Many alternatives |
| --- | --- | --- |
| Setup | Nothing to configure: no login, no keys | Often your own accounts, cookies or network setup |
| You pay for | Successful results; failed and empty requests are free | Often run time, or every attempt |
| When a site pushes back | Retried and handled for you | Often an empty or failed run |

### Who uses SEC EDGAR data?

- **Investors and analysts**: Pull financials, insider buying and fund holdings for a watchlist without parsing XBRL or Form 4 XML.
- **Sales and dealflow teams**: Find companies that just raised money (Form D) or filed an 8-K about a topic.
- **Research and compliance**: Full-text search every filing for a phrase and track filings by form type.

### What SEC EDGAR data can you extract?

| Field | Description |
| --- | --- |
| `company.cik / name / tickers / sic_description` | Company profile |
| `filings[].form / filing_date / report_date / items / document_url` | Filings |
| `metrics.<concept>.values[] (financials)` | Value, fiscal year and period, form and filing date |
| `transactions[].insider / insider_title / code_meaning / shares / price / value` | Insider trades |
| `holdings[].issuer / value_usd / shares / weight_pct / change / shares_change` | 13F positions |
| `placements[].issuer / total_offering_amount / total_amount_sold / investors` | Form D raises |
| `hits[] (search) / companies[] (earnings, companies)` | Search hits, earnings dates and company matches |

Every dataset item also carries `input` (the options used for that request), `request_id` (quote it to support), `billed` and `scraped_at`.

### How to scrape SEC EDGAR data

1. Open SEC EDGAR Scraper in Apify Console and go to the **Input** tab.
2. Pick **what to get**, then enter one item per line: tickers or CIKs for filings, financials, insider trades and 13F holdings; keywords for private placements, full-text search and company lookup; days (`2026-11-04`) for the earnings calendar. Filters and mode options are optional.
3. Adjust the options if needed.
4. Click **Start** and wait for the run to finish.
5. Download the results from the **Output** tab as JSON, CSV, Excel or HTML, or fetch them with the Apify API.

### Input

| Input | Name | What it does |
| --- | --- | --- |
| `mode` | What to get | The SEC EDGAR data to fetch. Each line of Items is one request. |
| `items` | Items | One per line. Filings, financials, insider trades: a ticker or CIK (`AAPL`, `0000320193`). |
| `forms` | Form types | .g. `10-K`, `10-Q`, `8-K`, `S-1` (filings and full-text search). |
| `since` | Since | Earliest date, `YYYY-MM-DD` (filings, insider trades, private placements, search). |
| `until` | Until | Latest date, `YYYY-MM-DD` (filings, private placements, search). |
| `limit` | Results per request | Most results per request. Each mode has its own maximum (filings 200, financials 40 periods, insider trades 40 filings, holdings 1,000, private placements 50, companies 25, earnings 1,000); a larger value is lowered to it. |
| `financials_period` | Financial periods | Annual (10-K), quarterly (10-Q) or all periods (financials). |
| `concepts` | Extra XBRL concepts | .g. `us-gaap:Goodwill` (financials). |
| `codes` | Transaction codes | .g. `P` (open-market buy), `S` (sale), `A` (grant), `M` (option exercise) (insider trades). |
| `holdings_period` | 13F quarter | .g. `2026-06-30`). Leave empty for the latest filing (13F holdings). |
| `compare` | Compare with previous quarter | Add each position's change and the positions sold out since the previous 13F (13F holdings). |
| `industry` | Industry | .g. `Other Technology`, `Biotechnology` (private placements). |
| `include_amendments` | Include amendments | Also return amended Form D filings (D/A) (private placements). |
| `page` | Search page | Results page of full-text search (100 hits per page). |

### Input example

This is the default input; running the Actor without changes uses it.

```json
{
  "mode": "filings",
  "items": [
    "AAPL"
  ],
  "includeErrors": true,
  "maxConcurrency": 3,
  "maxRetries": 2
}
```

### Output example

One dataset item per request (trimmed here; real items contain all the fields):

```json
{
  "mode": "filings",
  "input": {
    "company": "AAPL",
    "forms": [
      "10-K",
      "10-Q",
      "8-K"
    ],
    "limit": 3
  },
  "company": {
    "business_address": {
      "city": "CUPERTINO",
      "state": "CA",
      "street": "ONE APPLE PARK WAY",
      "zip": "95014"
    },
    "category": "Large accelerated filer",
    "cik": "0000320193",
    "ein": "942404110",
    "entity_type": "operating",
    "exchanges": [
      "Nasdaq"
    ],
    "fiscal_year_end": "0926",
    "former_names": [
      "APPLE INC"
    ],
    "name": "Apple Inc.",
    "phone": "(408) 996-1010",
    "sic": "3571",
    "sic_description": "Electronic Computers",
    "state_of_incorporation": "CA",
    "tickers": [
      "AAPL"
    ]
  },
  "filings": [
    {
      "accepted_at": "2026-09-01T20:30:35.000Z",
      "accession_number": "0001140361-26-035325",
      "description": "8-K/A",
      "document_url": "https://www.sec.gov/Archives/edgar/data/320193/000114036126035325/ef20081427_8ka.htm",
      "filing_date": "2026-09-01",
      "filing_index_url": "https://www.sec.gov/Archives/edgar/data/320193/000114036126035325/0001140361-26-035325-index.htm",
      "form": "8-K/A",
      "is_xbrl": true,
      "items": [
        "5.02"
      ],
      "report_date": "2026-04-17",
      "size_bytes": 241262
    },
    {
      "accepted_at": "2026-07-31T10:01:02.000Z",
      "accession_number": "0000320193-26-000020",
      "description": "10-Q",
      "document_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019326000020/aapl-20260627.htm",
      "filing_date": "2026-07-31",
      "filing_index_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019326000020/0000320193-26-000020-index.htm",
      "form": "10-Q",
      "is_xbrl": true,
      "report_date": "2026-06-27",
      "size_bytes": 5946811
    }
  ],
  "meta": {
    "requests": 2,
    "source": "sec_edgar"
  },
  "older_filings_not_listed": true,
  "total": 18,
  "request_id": "req_3f9c0d6e2b8a4c1f9e7d5b3a1c0e8f6d",
  "billed": true,
  "scraped_at": "2026-10-01T14:03:27.512Z"
}
```

A request that fails is saved with an `error` message instead (turn off **Include failed requests** to skip those). Failed requests are never charged.

### How much does it cost to scrape SEC EDGAR data?

This Actor uses **pay-per-event** pricing: you pay for successful requests, not for compute time.

| Event | Charged when | Price | Per 1,000 |
| --- | --- | --- | --- |
| `sec-lookup` | One company search, or one company's profile and recent filings. No match is free. | $0.003 | $3.00 |
| `sec-financials` | One company's revenue, profit, cash flow and balance-sheet figures from its XBRL filings. | $0.004 | $4.00 |
| `sec-search` | One page of EDGAR full-text search hits. No hits is free. | $0.004 | $4.00 |
| `sec-insider-trades` | One company's insider buys and sales (Form 4), read from its recent filings. | $0.006 | $6.00 |
| `sec-holdings` | One investment manager's 13F portfolio for a quarter, optionally compared with the quarter before. | $0.006 | $6.00 |
| `sec-private-placements` | Form D private raises matching a keyword, industry or date range. | $0.006 | $6.00 |
| `earnings-calendar` | Every company reporting earnings on one day, with EPS forecast and market cap. | $0.004 | $4.00 |

Paid Apify plans pay less: `sec-lookup` up to 15% off, `sec-financials` up to 15% off, `sec-search` up to 15% off, `earnings-calendar` up to 15% off (Bronze 5%, more on higher plans). The Pricing tab shows the price on your plan.

**What a real run costs:**

- 100 requests: **$0.30**
- 1,000 requests: **$3.00**
- 10,000 requests: **$30.00**

Apify's $5 of free monthly usage covers about **1,666** `sec-lookup` events.

- Failed requests (errors, invalid input, a site refusing after retries) are **free**.
- Requests where the source returns nothing at all (no results, nothing priced) are saved but **not charged**.
- Set **Maximum cost per run** when you start a run and the Actor stops cleanly before going over it.

### Run it on a schedule

Use Apify **Schedules** to repeat a run hourly, daily or weekly and compare results over time, and **webhooks** or the **Integrations** tab to push new results to Make, Zapier, n8n, Google Sheets, Slack or your own warehouse.

### Use it with AI agents

Results are structured JSON, so they are easy to feed to a model. AI agents such as Claude can run this Actor and read its results through the [Apify MCP server](https://mcp.apify.com).

### FAQ

#### Do I need an account on the site, or an API key?

No. The Actor is ready to run as is, and you only pay the per-event prices above.

#### Where does the data come from?

From the SEC's public EDGAR system (filings, XBRL financial data, Form 4, 13F and Form D) and a public earnings calendar.

#### How fresh is it?

Each request reads EDGAR live, so a filing shows up as soon as the SEC publishes it.

#### Can I look up a company by name?

Yes: the <b>Find companies</b> mode returns CIK numbers and tickers for a name, which the other modes accept.

#### Why does the 13F mode want a manager, not a stock?

13F filings list what an investment manager holds. Enter the manager (Berkshire Hathaway <code>BRK-B</code>, or a fund's CIK), not the stocks it owns.

#### Is it legal to scrape SEC EDGAR data?

The Actor collects publicly available information that anyone can see without logging in. You are responsible for how you use the results: respect the source site's terms, copyright and privacy law (such as GDPR) and do not collect personal data without a lawful basis. If in doubt, ask a lawyer.

#### What happens when a request is blocked or rate-limited?

Temporary errors are retried automatically. If a request still fails it is saved with the error message and not charged, and the rest of the batch keeps going. A run only fails when every request failed.

#### Why did a request return an error?

Read the `error` field: it says what was wrong with the input, for example a malformed date or an unknown id. Fix it and run again; failed requests cost nothing.

#### How many requests can I run at once?

Any number per run. The Actor sends up to 3 requests in parallel by default (change it under **Run options**); larger batches simply take longer.

### Use it from your code

Call the Actor from any language through the [Apify API](https://docs.apify.com/api/v2). With the JavaScript client (`npm install apify-client`):

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: process.env.APIFY_TOKEN });
const run = await client.actor('scrapercompany/sec-edgar-scraper').call({
    "mode": "filings",
    "items": [
        "AAPL"
    ]
});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items);
```

With Python (`pip install apify-client`):

```python
import os
from apify_client import ApifyClient

client = ApifyClient(os.environ["APIFY_TOKEN"])
run = client.actor("scrapercompany/sec-edgar-scraper").call(run_input={
    "mode": "filings",
    "items": ["AAPL"],
})
for item in client.dataset(run["defaultDatasetId"]).iterate_items():
    print(item)
```

### Related scrapers

- [Google News Scraper](https://apify.com/scrapercompany/google-news-scraper): news about the same companies
- [Careers Page Jobs Scraper](https://apify.com/scrapercompany/careers-page-jobs-scraper): who a company is hiring

### Support

Questions, a field you need, or a site that stopped working? Open an issue on the **Issues** tab. Include the `request_id` from the dataset item so we can trace the request.

# Changelog

This Actor's version history is a separate document: https://apify.com/scrapercompany/sec-edgar-scraper/changelog.md

# Actor input Schema

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

The SEC EDGAR data to fetch. Each line of Items is one request.

## `items` (type: `array`):

One per line. <b>Filings, financials, insider trades</b>: a ticker or CIK (<code>AAPL</code>, <code>0000320193</code>). <b>13F holdings</b>: the manager's ticker or CIK (<code>BRK-B</code>, <code>0001067983</code>). <b>Private placements, full-text search, find companies</b>: a keyword or name. <b>Earnings calendar</b>: a day (<code>2026-11-04</code>).

## `forms` (type: `array`):

Only these forms, e.g. <code>10-K</code>, <code>10-Q</code>, <code>8-K</code>, <code>S-1</code> (filings and full-text search).

## `since` (type: `string`):

Earliest date, <code>YYYY-MM-DD</code> (filings, insider trades, private placements, search).

## `until` (type: `string`):

Latest date, <code>YYYY-MM-DD</code> (filings, private placements, search).

## `limit` (type: `integer`):

Most results per request. Each mode has its own maximum (filings 200, financials 40 periods, insider trades 40 filings, holdings 1,000, private placements 50, companies 25, earnings 1,000); a larger value is lowered to it. Leave empty for the default.

## `financials_period` (type: `string`):

Annual (10-K), quarterly (10-Q) or all periods (financials).

## `concepts` (type: `array`):

Additional us-gaap concepts to return, e.g. <code>us-gaap:Goodwill</code> (financials).

## `codes` (type: `array`):

Only these Form 4 codes, e.g. <code>P</code> (open-market buy), <code>S</code> (sale), <code>A</code> (grant), <code>M</code> (option exercise) (insider trades).

## `holdings_period` (type: `string`):

Quarter end, <code>YYYY-MM-DD</code> (e.g. <code>2026-06-30</code>). Leave empty for the latest filing (13F holdings).

## `compare` (type: `boolean`):

Add each position's change and the positions sold out since the previous 13F (13F holdings).

## `industry` (type: `string`):

Form D industry group, e.g. <code>Other Technology</code>, <code>Biotechnology</code> (private placements).

## `include_amendments` (type: `boolean`):

Also return amended Form D filings (D/A) (private placements).

## `page` (type: `integer`):

Results page of full-text search (100 hits per page).

## `customRequests` (type: `array`):

Optional list of JSON objects, one request each, using the field names shown above. Each object is merged over the options above, so you only need to give what differs. Use <code>"mode"</code> to pick what to fetch per object, with that mode's API fields (<code>company</code>, <code>query</code> or <code>day</code>). Example: <code>{"mode":"insider_trades","company":"NVDA","codes":\["P","S"],"since":"2026-01-01"}</code>

## `includeErrors` (type: `boolean`):

When on, a request that fails (for example an unknown property id) is saved as a dataset item with an <code>error</code> message so you can see what went wrong. Failed requests are never charged.

## `maxConcurrency` (type: `integer`):

How many requests run at the same time (1-8). Parallel runs share one limit, so extra requests wait for a free slot instead of failing.

## `maxRetries` (type: `integer`):

How many times a request that failed for a temporary reason is tried again. Invalid input is never retried.

## Actor input object example

```json
{
  "mode": "filings",
  "items": [
    "AAPL"
  ],
  "financials_period": "annual",
  "compare": false,
  "include_amendments": false,
  "page": 1,
  "includeErrors": true,
  "maxConcurrency": 3,
  "maxRetries": 2
}
```

# Actor output Schema

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

One dataset item per request.

## `summary` (type: `string`):

Counts of succeeded, failed, skipped and charged requests.

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

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

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,scrapercompany/sec-edgar-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/T5qhi0qpptsqxvvtS/builds/UGuzdYGFhJmROwbRe/openapi.json
