# SEC EDGAR Scraper — Company Filings & History (`felixgoldwin/sec-edgar-filings-scraper`) Actor

Export SEC EDGAR company filings by ticker or CIK, including older history, form and date filters, company metadata and document links. No API key required.

- **URL**: https://apify.com/felixgoldwin/sec-edgar-filings-scraper.md
- **Developed by:** [Felix GoldWin](https://apify.com/felixgoldwin) (community)
- **Categories:** Other
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 filing or companies

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/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

### What does SEC EDGAR Filings Scraper do?

Export **SEC EDGAR filing metadata and company details** for a list of ticker symbols or CIKs. This Actor reads the [SEC's official public JSON APIs](https://www.sec.gov/search-filings/edgar-application-programming-interfaces), follows available historical filing files, and delivers a clean Apify dataset you can download or access through an API.

Choose **Filings** for accession numbers, form types, filing dates, report dates and document links. Choose **Companies** for names, CIKs, tickers, exchanges, SIC classifications and other current company metadata. No SEC account, API key, browser or proxy is required.

### Why scrape SEC EDGAR filings?

- Build a filing watchlist for companies you follow, then schedule it in Apify.
- Collect annual reports, quarterly reports or current-report links for research workflows.
- Find filing dates and accession numbers for a document processing pipeline.
- Enrich a company list with SEC identifiers, exchanges and industry classifications.
- Export historical filing inventories without manually opening each company page.

The Actor extracts metadata and links. It does not download or parse filing documents, PDFs, exhibits, financial statement facts, insider transaction details or full-text search results. A Form 4 result identifies a filing; it is not a parsed insider-trade record.

### How to scrape SEC EDGAR

1. Select **Filings and document links** or **Company metadata** in the Input tab.
2. Enter ticker symbols such as `AAPL` and `MSFT`, or CIKs such as `0000320193`.
3. For filings, optionally choose exact form names and an inclusive filing-date range.
4. Set a maximum number of results and source requests, then start the Actor.
5. Download the dataset in **JSON, HTML, CSV or Excel**, or use the API tab to connect it to your application.

Example: collect annual and quarterly filing metadata for two companies:

```json
{
  "mode": "filings",
  "tickers": ["AAPL", "MSFT"],
  "forms": ["10-K", "10-Q", "10-K/A", "10-Q/A"],
  "dateFrom": "2020-01-01",
  "includeHistory": true,
  "maxItems": 1000,
  "maxRequests": 100
}
```

Example: export current company metadata using CIKs:

```json
{
  "mode": "companies",
  "ciks": ["320193", "789019"],
  "maxItems": 50
}
```

### Input options

See the Input tab for the complete configuration form.

| Input | Default | Behavior |
| --- | --- | --- |
| `mode` | `filings` | `filings` or `companies`. |
| `tickers` | `AAPL` only when both target fields are omitted | Case-insensitive ticker symbols resolved through the SEC's official company ticker list. |
| `ciks` | None | Positive CIK strings of 1–10 digits; automatically padded to 10 digits. |
| `forms` | All forms | Exact, case-insensitive form names. `10-K` and `10-K/A` are separate forms. |
| `dateFrom`, `dateTo` | No date boundary | Inclusive `YYYY-MM-DD` bounds on **filingDate**, not reportDate. |
| `includeHistory` | `true` | Follow historical submissions files advertised by the SEC. Applies only to filings. |
| `maxItems` | `1000` | Global saved-result cap, from 1 to 10,000. |
| `maxRequests` | `100` | Global SEC HTTP request cap, from 1 to 200, including the ticker lookup, retries and redirects. |

You may supply up to **50 ticker and CIK entries combined**, counted before deduplication. Duplicate entries and ticker/CIK references that resolve to the same company are merged. Explicit empty target lists are rejected instead of silently scraping the default company. URLs and arbitrary endpoints are not accepted.

Use the ticker spelling in the SEC list, such as `BRK-B`; punctuation aliases are not guessed. If a ticker is unavailable, use the entity's CIK. The listed-company ticker file does not cover every SEC filer.

Form and date filters apply only to filings. Supplying nonempty filing filters in Companies mode produces a validation error. `includeHistory` has no effect in Companies mode.

### What data does the Actor return?

Each dataset row represents one filing or one company. Unavailable optional values are `null`; ticker and exchange lists may be empty.

| Fields | Description |
| --- | --- |
| `type` | `filing` or `company`. |
| `cik`, `companyName`, `tickers`, `exchanges` | SEC entity identity and current listing metadata. |
| `entityType`, `category` | SEC entity type and filer category, when provided. |
| `sic`, `sicDescription` | SEC industry classification. |
| `fiscalYearEnd`, `stateOfIncorporation` | Current fiscal year end in SEC `MMDD` form and incorporation code. |
| `accessionNumber`, `form` | Filing identifier and exact form type; filings mode only. |
| `filingDate`, `reportDate`, `acceptanceDateTime` | Filed date, report period and acceptance timestamp. |
| `fileNumber`, `primaryDocument`, `description` | SEC filing file number, primary filename and source description. |
| `size`, `isXBRL`, `isInlineXBRL` | SEC-reported filing size in bytes and XBRL flags. |
| `filingUrl`, `documentUrl` | Filing index link and primary document link, when a safe filename is available. |
| `companyUrl` | SEC company filing browser link. |
| `source`, `scrapedAt` | Source JSON URL and retrieval timestamp. |

Company context attached to historical filings reflects the **current submissions response**, not necessarily the company name, ticker or classification at the filing date. Links are exported for downstream use; document availability is not checked by downloading every linked file.

#### Example output

Simplified examples are shown below; the dataset includes the additional fields described above. Filings and Companies modes produce separate result types in separate runs.

```json
[
  {
    "type": "filing",
    "cik": "0000320193",
    "companyName": "Apple Inc.",
    "tickers": ["AAPL"],
    "accessionNumber": "0000320193-26-000026",
    "form": "10-K",
    "filingDate": "2026-11-03",
    "reportDate": "2026-09-26",
    "filingUrl": "https://www.sec.gov/Archives/edgar/data/320193/0000320193-26-000026-index.html",
    "documentUrl": "https://www.sec.gov/Archives/edgar/data/320193/000032019326000026/aapl-20260926.htm"
  },
  {
    "type": "company",
    "cik": "0000320193",
    "companyName": "Apple Inc.",
    "tickers": ["AAPL"],
    "exchanges": ["Nasdaq"],
    "sic": "3571",
    "sicDescription": "Electronic Computers",
    "source": "https://data.sec.gov/submissions/CIK0000320193.json"
  }
]
```

### Pricing

**$1 per 1,000 saved results, plus $0.005 per run start. Platform usage is included.** One filing or one company row is one result. For example, 1,000 saved rows cost $1.005; 100 saved rows cost $0.105.

Only rows saved to the dataset count as results. Duplicates, filtered records, source lookup responses and the run summary are not billed as results. A run that returns no results still incurs the run-start charge. Set `maxItems` and Apify's maximum charge per run to control spending; allow at least $0.006 for one result plus the start fee.

### Historical coverage and limits

There is **no fixed 500-result ceiling**. The SEC's current submissions response contains at least one year or 1,000 of the most recent filings, whichever is larger, and may advertise additional historical JSON files. With `includeHistory: true`, the Actor follows those files when their date ranges overlap your requested range. Coverage depends on the files the SEC actually provides, valid matching records, request limits and your result budget.

Companies are processed one at a time. Recent filings are processed before each company's historical files, in source order. Results are not globally sorted across companies, and an early company may fill the global `maxItems` allowance. Use separate runs or narrower form/date filters if you need a balanced watchlist export.

Setting `includeHistory: false` intentionally limits the run to each company's recent response. A small `maxRequests` can stop history traversal early. Supplying CIKs avoids the ticker-list request. Narrow date ranges can avoid historical files outside that range, but the current company response is still needed.

The Actor identifies itself to the SEC, sends requests serially with a delay, and respects the SEC's [fair-access policy](https://www.sec.gov/about/developer-resources). Access denials or rate-limit responses stop further source requests. Temporary server/network failures receive bounded retries. No proxy rotation or access bypass is used.

### Run summary and troubleshooting

The **Coverage, limits and errors** output links to the `SUMMARY` record in the default key-value store. It includes saved-row and request counts, input duplicates, resumed rows, warnings, `partial`, and per-target coverage. Each company reports saved rows, duplicate/invalid rows, available/read historical files, files outside the date range, a stop reason and any source error.

Stop reasons distinguish completed history, recent-only mode, result/request limits, missing tickers, source errors and interrupted runs. Check this summary before treating an export as complete. A partial export may have successfully saved useful rows; an unknown ticker or malformed source response does not become a billable error row. If every requested source fails without usable company results, the run fails. A valid search with no matching filings can succeed with an empty dataset.

#### Why did I get fewer rows than requested?

`maxItems` is a ceiling. The requested entities may have fewer matching filings, your filters may exclude them, only recent history may be enabled, or a request/spending/source limit may have stopped the run. Review `SUMMARY` and its per-company stop reasons.

#### Can I schedule a filing monitor?

Yes. Save your input as an Apify task and add a schedule. Each new run returns the matching snapshot again; this Actor does not maintain a cross-run “new filings only” database. Use `cik` plus `accessionNumber` as a downstream deduplication key, and choose a suitable date range. A resumed run checks its existing dataset to avoid adding the same rows again.

#### Does it include document text or financial facts?

No. It returns submissions metadata and document links. Revenue, earnings, ownership transaction values and document bodies require a separate processing step.

#### Support and source

Use this Actor's **Issues** tab to report reproducible problems or request features, and its **API** tab for integration examples. Include the input and a run link when possible; never include credentials. This independent tool is not affiliated with or endorsed by the U.S. Securities and Exchange Commission. Source data comes from official SEC company and submissions endpoints; this Actor does not collect private account data or contact details.

# Actor input Schema

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

Filings exports SEC filing metadata and document links. Companies exports one current company metadata record per CIK. Neither mode downloads document bodies or financial statements.

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

Ticker symbols from the official SEC company ticker list, for example AAPL, MSFT or BRK-B. Case-insensitive. Tickers and CIKs are limited to 50 entries combined before deduplication. If both fields are omitted, AAPL is used. Explicit empty lists do not enable the default. Unknown tickers are reported in the run summary.

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

Optional SEC Central Index Keys, entered as text with 1–10 digits, such as 320193 or 0000320193. CIKs are padded to 10 digits. Use CIKs for entities absent from the listed-company ticker file. No URLs are accepted.

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

Filings mode only. Exact form names, such as 10-K, 10-Q, 8-K, 4, SC 13G or 10-K/A. An empty list includes all forms. Amendments are separate: 10-K does not match 10-K/A. Up to 50 entries, each at most 30 characters.

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

Filings mode only. Optional inclusive filing-date boundary in YYYY-MM-DD format. Filters filingDate, not reportDate. Leave empty for no lower boundary.

## `dateTo` (type: `string`):

Filings mode only. Optional inclusive filing-date boundary in YYYY-MM-DD format. Must be on or after dateFrom. Leave empty for no upper boundary.

## `includeHistory` (type: `boolean`):

Filings mode only. Follow additional historical submissions JSON files advertised by the SEC, subject to date, result and request limits. When disabled, only the recent filings in each company response are considered. Has no effect in Companies mode.

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

Global ceiling across all companies. One filing or one company record is one result. Duplicate and filtered rows do not count. This is a maximum, not a guaranteed number of available results.

## `maxRequests` (type: `integer`):

Global budget for SEC HTTP requests, including the ticker list when tickers are supplied, company submissions, historical files, retries and redirects. Provide CIKs to avoid the ticker-list lookup.

## Actor input object example

```json
{
  "mode": "filings",
  "tickers": [
    "AAPL"
  ],
  "ciks": [],
  "forms": [],
  "dateFrom": "",
  "dateTo": "",
  "includeHistory": true,
  "maxItems": 1000,
  "maxRequests": 100
}
```

# Actor output Schema

## `records` (type: `string`):

No description

## `summary` (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"
    ],
    "ciks": [],
    "dateFrom": "",
    "dateTo": ""
};

// Run the Actor and wait for it to finish
const run = await client.actor("felixgoldwin/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"],
    "ciks": [],
    "dateFrom": "",
    "dateTo": "",
}

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

```

## MCP server setup

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