# SEC EDGAR Filings Scraper (`dabooti/sec-edgar-filings-scraper`) Actor

Export SEC EDGAR filings: full-text search across all filings since 2001, or the filing history of companies by ticker or CIK. Form type, dates, company, CIK, items, document and index links. Official SEC data, no key.

- **URL**: https://apify.com/dabooti/sec-edgar-filings-scraper.md
- **Developed by:** [Danial Maqbool](https://apify.com/dabooti) (community)
- **Categories:** Business, Automation, News
- **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 filings

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.

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 Filings Scraper

Export filings from SEC EDGAR to JSON, CSV or Excel in two ways:

- **Company filing history**: give stock tickers (AAPL) or CIK numbers and get each company's filings, newest first, with form type, filing and report dates, acceptance time, 8-K items, file number, primary document, size, XBRL flag and direct document and index links.
- **Full-text search**: search the text of every EDGAR filing since 2001 for words or exact phrases (for example `"going concern"` or `"artificial intelligence"`) and get each matching document with company, CIK, ticker, form, dates, SIC code, states and links.

Both can be filtered by form type (10-K, 10-Q, 8-K, S-1, 4, DEF 14A, 13F-HR and others) and filing date. The data comes from the SEC's own public APIs (data.sec.gov and EDGAR full-text search). No login, API key or proxy needed.

### What you can use it for

- **Investment research**: pull every 10-K, 10-Q and 8-K for a watchlist.
- **Event monitoring**: find all 8-Ks mentioning a topic, such as cybersecurity incidents or going-concern doubts, in a date range.
- **Compliance and legal**: track proxy statements, insider filings (Form 4) or registration statements.
- **Data pipelines**: get document URLs to feed into your own parser or an LLM.

### What data you get

| Field | Description |
|---|---|
| `source` | `company` (filing history) or `fullTextSearch` |
| `accessionNumber`, `form`, `fileType` | Filing ID, form type and (search) document type such as EX-99.1 |
| `filingDate`, `reportDate`, `acceptanceDateTime` | Filed date, period of report and EDGAR acceptance time |
| `cik`, `companyName`, `tickers` | Filer CIK (10 digits), name and tickers |
| `sic`, `sicDescription`, `stateOfIncorporation`, `businessStates` | Industry code and states |
| `items` | 8-K item numbers, for example 2.02 or 5.02 |
| `fileNumber`, `primaryDocument`, `documentDescription`, `sizeBytes`, `isXBRL` | Document details |
| `documentUrl`, `filingIndexUrl` | Direct link to the document and to the filing index page |
| `query`, `scrapedAt` | Matching search query and scrape time |

### How to use it

1. Add **Companies** (tickers or CIKs) and/or **Full-text search queries**.
2. Optionally set **Form types** and a **Filed from / to** date range.
3. Set **Max results per company or query** and click **Start**.
4. Optionally add your company name and email under **Your contact for the SEC User-Agent**; the SEC asks automated tools to identify themselves.

#### Example input

```json
{
  "companies": ["AAPL", "TSLA", "1318605"],
  "searchQueries": ["\"material weakness\""],
  "formTypes": ["10-K", "8-K"],
  "dateFrom": "2025-01-01",
  "maxResultsPerSearch": 200
}
```

#### Example output

```json
{
  "source": "company",
  "accessionNumber": "0001140361-26-042798",
  "form": "8-K",
  "filingDate": "2026-11-09",
  "reportDate": "2026-11-05",
  "acceptanceDateTime": "2026-11-09T21:30:40.000Z",
  "cik": "0000320193",
  "companyName": "Apple Inc.",
  "tickers": [
    "AAPL"
  ],
  "sic": "3571",
  "sicDescription": "Electronic Computers",
  "stateOfIncorporation": "CA",
  "items": [
    "8.01",
    "9.01"
  ],
  "fileNumber": "001-36743",
  "primaryDocument": "ef20085077_8k.htm",
  "documentDescription": null,
  "fileType": null,
  "sizeBytes": 1029343,
  "isXBRL": true,
  "documentUrl": "https://www.sec.gov/Archives/edgar/data/320193/000114036126042798/ef20085077_8k.htm",
  "filingIndexUrl": "https://www.sec.gov/Archives/edgar/data/320193/000114036126042798/0001140361-26-042798-index.htm",
  "businessStates": [
    "CA"
  ],
  "query": null,
  "scrapedAt": "2026-11-17T20:27:22.925Z"
}
```

### Pricing

Pay per event: **$1.00 per 1,000 filings** (or matching documents) saved, plus a tiny standard start fee and Apify platform usage (usually a fraction of a cent per run). Set **Max cost per run** to cap spending.

### Tips and limits

- Full-text search covers filings from 2001 onwards and returns one row per matching document, so a filing can appear once per matching exhibit.
- EDGAR full-text search returns at most 10,000 hits per query; narrow the dates or forms for bigger result sets.
- Company histories include all recent filings plus up to five older history files when your limit and dates need them.
- Requests are kept under the SEC's limit of 10 per second.
- This Actor returns filing metadata and links, not the parsed text or XBRL financial values.
- A `RUN_SUMMARY` record shows hits and saved rows per company and query.

### FAQ

**Can I use tickers for old or delisted companies?** The ticker list only covers current tickers. Use the CIK for others (search the company on sec.gov to find it).

**How current is it?** EDGAR data is read live; new filings usually show up within minutes of acceptance.

### Legal note

EDGAR filings are public information published by the US Securities and Exchange Commission. The Actor follows the SEC's fair-access rules (declared User-Agent, under 10 requests per second). Use the data in line with your own legitimate purpose and applicable laws.

# Actor input Schema

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

Get each company's filing history, newest first. Use stock tickers such as AAPL or SEC CIK numbers such as 320193.

## `searchQueries` (type: `array`):

Optional. Search the text of all EDGAR filings since 2001. Put phrases in double quotes, for example "artificial intelligence" or "going concern". Each query is a separate search.

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

Optional. Keep only these forms, for example 10-K, 10-Q, 8-K, S-1, 4, DEF 14A or 13F-HR. Empty means all forms.

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

Optional. YYYY-MM-DD.

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

Optional. YYYY-MM-DD.

## `maxResultsPerSearch` (type: `integer`):

Up to 10,000 per company or search query.

## `userAgentContact` (type: `string`):

Optional. SEC asks automated tools to identify themselves. Add your company name and email here to include them in the User-Agent header sent to sec.gov.

## Actor input object example

```json
{
  "companies": [
    "AAPL",
    "MSFT"
  ],
  "formTypes": [
    "10-K",
    "10-Q",
    "8-K"
  ],
  "maxResultsPerSearch": 10
}
```

# Actor output Schema

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

No description

## `resultsFull` (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 = {
    "companies": [
        "AAPL",
        "MSFT"
    ],
    "formTypes": [
        "10-K",
        "10-Q",
        "8-K"
    ],
    "maxResultsPerSearch": 10
};

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

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

```

## MCP server setup

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