# SEC EDGAR Scraper - US Filings, 10-K, 10-Q & Financials (`thirdwatch/sec-edgar-scraper`) Actor

Scrape SEC EDGAR filings for any US public company. Get 10-K annual reports, 10-Q quarterly filings, 8-K events, insider trades, and XBRL financial data (revenue, net income, total assets). Search by company name or ticker symbol.

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

## Pricing

from $0.50 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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/docs.md):

```bash
npm install apify-client
```

In Python projects, use official [Python client library](https://docs.apify.com/api/client/python/docs.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/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 Scraper - US Filings, 10-K, 10-Q & Financials

> Scrape SEC EDGAR filings for any US public company by name or ticker. Get 10-K, 10-Q, 8-K filings, insider trades, and XBRL financials (revenue, net income, total assets).

### What you get

SEC EDGAR is the official US securities filing archive. This scraper pulls filings for any US public company by company name or ticker, with direct links to documents and filing index pages. Optionally enrich each company with the latest XBRL financial data (revenue, net income, total assets) so you can combine filings metadata with headline financials in one dataset.

### Output fields

| Field | Description |
|-------|-------------|
| `company_name` | Official company name from SEC |
| `ticker` | Stock ticker symbol |
| `cik` | SEC Central Index Key |
| `filing_type` | Form type (10-K, 10-Q, 8-K, 4, etc.) |
| `filing_date` | Date filed with SEC (YYYY-MM-DD) |
| `report_date` | Period of report (YYYY-MM-DD) |
| `accession_number` | Unique SEC filing identifier |
| `description` | Filing description |
| `items` | 8-K item numbers (e.g. "2.02,9.01") |
| `document_url` | Direct link to the filing document |
| `filing_url` | EDGAR filing index page |
| `size` | File size in bytes |
| `revenue` | Latest annual revenue (if includeFinancials) |
| `net_income` | Latest annual net income (if includeFinancials) |
| `total_assets` | Latest total assets (if includeFinancials) |

### Example output

```json
{
    "company_name": "Apple Inc.",
    "ticker": "AAPL",
    "cik": "320193",
    "filing_type": "10-K",
    "filing_date": "2025-10-31",
    "report_date": "2025-09-27",
    "accession_number": "0000320193-25-000079",
    "description": "10-K",
    "items": null,
    "document_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019325000079/aapl-20250927.htm",
    "filing_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019325000079/",
    "size": 9392337,
    "query": "AAPL",
    "revenue": 383285000000,
    "net_income": 96995000000,
    "total_assets": 364980000000
}
````

### Input parameters

| Parameter | Required | Description |
|-----------|----------|-------------|
| `queries` | Yes | Company names or ticker symbols (e.g. `"AAPL"`, `"Microsoft"`) |
| `maxResults` | No | Max filings per company. Default 10. |
| `filingType` | No | `"10-K"`, `"10-Q"`, `"8-K"`, or `"all"`. Default `"all"`. |
| `dateFrom` | No | Start date filter (YYYY-MM-DD). |
| `dateTo` | No | End date filter (YYYY-MM-DD). |
| `includeFinancials` | No | Add revenue / net income / total assets from XBRL. Default false. |

#### Example input

```json
{
    "queries": ["AAPL", "TSLA", "Microsoft"],
    "maxResults": 10,
    "filingType": "10-K",
    "includeFinancials": true
}
```

### Use cases

- **Equity researchers:** build watchlists of 10-K / 10-Q filings and pull latest financials
- **Compliance teams:** track 8-K material events for monitored tickers
- **Fintech & data vendors:** backfill company fundamentals at scale
- **Academics:** build research datasets of filings across time periods
- **Investment analysts:** monitor insider trades (Form 4) across portfolios

### Limitations

- Revenue / net income / total assets depend on the company tagging the right XBRL concepts. Coverage is very high for large-cap US issuers, lower for small-cap and foreign private issuers.
- Financial fields are populated only when `includeFinancials: true`.
- SEC's own rate limits apply (10 requests / second). Very large runs (thousands of companies) can take several minutes.
- Foreign private issuers filing 20-F / 40-F are supported, but not every domestic form type is surfaced - use `filingType: "all"` to capture everything.

### Compared to alternatives

- **Official SEC EDGAR website** is free but requires scraping HTML yourself, managing rate limits, and has no bulk export. This actor wraps that into a single JSON output with XBRL financials joined in.
- **Commercial data vendors (Refinitiv, FactSet)** charge thousands per month for the same data. This actor costs well under a cent per filing.

### FAQ

**Does it include real-time filings?**
Filings appear within minutes of being posted to EDGAR.

**Can I filter by form type other than 10-K / 10-Q / 8-K?**
Use `"all"` to fetch every form type (including 4, 13F, S-1, DEF 14A, etc.) and filter downstream.

**Does it support full-text search of filing contents?**
No. It returns filing metadata and direct links to the document. Download the document via the URL for full text.

**What about non-US companies?**
US-listed foreign issuers (ADRs, etc.) are included. Purely foreign exchanges are not covered.

Last verified: 2026-05

# Actor input Schema

## `queries` (type: `array`):

List of company names or ticker symbols to search for on SEC EDGAR. Examples: 'Apple', 'TSLA', 'Microsoft', 'AMZN'.

## `maxResults` (type: `integer`):

Maximum number of filings to return per company.

## `filingType` (type: `string`):

Type of SEC filing to fetch. '10-K' for annual reports, '10-Q' for quarterly, '8-K' for events, or 'all' for everything.

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

Start date filter (YYYY-MM-DD). Only return filings filed on or after this date.

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

End date filter (YYYY-MM-DD). Only return filings filed on or before this date.

## `includeFinancials` (type: `boolean`):

If enabled, fetches XBRL financial data for each company (revenue, net income, total assets). Adds extra API calls per company.

## Actor input object example

```json
{
  "queries": [
    "Apple"
  ],
  "maxResults": 10,
  "filingType": "all",
  "dateFrom": "",
  "dateTo": "",
  "includeFinancials": false
}
```

# 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 = {
    "queries": [
        "Apple"
    ],
    "maxResults": 10,
    "filingType": "all"
};

// Run the Actor and wait for it to finish
const run = await client.actor("thirdwatch/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 = {
    "queries": ["Apple"],
    "maxResults": 10,
    "filingType": "all",
}

# Run the Actor and wait for it to finish
run = client.actor("thirdwatch/sec-edgar-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 '{
  "queries": [
    "Apple"
  ],
  "maxResults": 10,
  "filingType": "all"
}' |
apify call thirdwatch/sec-edgar-scraper --silent --output-dataset

```

## MCP server setup

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

```

## OpenAPI specification

```json
{
    "openapi": "3.0.1",
    "info": {
        "title": "SEC EDGAR Scraper - US Filings, 10-K, 10-Q & Financials",
        "description": "Scrape SEC EDGAR filings for any US public company. Get 10-K annual reports, 10-Q quarterly filings, 8-K events, insider trades, and XBRL financial data (revenue, net income, total assets). Search by company name or ticker symbol.",
        "version": "0.1",
        "x-build-id": "azbdCYNELaGc6lun9"
    },
    "servers": [
        {
            "url": "https://api.apify.com/v2"
        }
    ],
    "paths": {
        "/acts/thirdwatch~sec-edgar-scraper/run-sync-get-dataset-items": {
            "post": {
                "operationId": "run-sync-get-dataset-items-thirdwatch-sec-edgar-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/thirdwatch~sec-edgar-scraper/runs": {
            "post": {
                "operationId": "runs-sync-thirdwatch-sec-edgar-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/thirdwatch~sec-edgar-scraper/run-sync": {
            "post": {
                "operationId": "run-sync-thirdwatch-sec-edgar-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",
                "required": [
                    "queries"
                ],
                "properties": {
                    "queries": {
                        "title": "Company Names or Ticker Symbols",
                        "type": "array",
                        "description": "List of company names or ticker symbols to search for on SEC EDGAR. Examples: 'Apple', 'TSLA', 'Microsoft', 'AMZN'.",
                        "default": [],
                        "items": {
                            "type": "string"
                        }
                    },
                    "maxResults": {
                        "title": "Max Results Per Company",
                        "minimum": 1,
                        "maximum": 5000,
                        "type": "integer",
                        "description": "Maximum number of filings to return per company.",
                        "default": 10
                    },
                    "filingType": {
                        "title": "Filing Type",
                        "enum": [
                            "10-K",
                            "10-Q",
                            "8-K",
                            "all"
                        ],
                        "type": "string",
                        "description": "Type of SEC filing to fetch. '10-K' for annual reports, '10-Q' for quarterly, '8-K' for events, or 'all' for everything.",
                        "default": "all"
                    },
                    "dateFrom": {
                        "title": "Date From",
                        "type": "string",
                        "description": "Start date filter (YYYY-MM-DD). Only return filings filed on or after this date.",
                        "default": ""
                    },
                    "dateTo": {
                        "title": "Date To",
                        "type": "string",
                        "description": "End date filter (YYYY-MM-DD). Only return filings filed on or before this date.",
                        "default": ""
                    },
                    "includeFinancials": {
                        "title": "Include Financial Data",
                        "type": "boolean",
                        "description": "If enabled, fetches XBRL financial data for each company (revenue, net income, total assets). Adds extra API calls per company.",
                        "default": false
                    }
                }
            },
            "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
                                    }
                                }
                            }
                        }
                    }
                }
            }
        }
    }
}
```
