# 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 web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — 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

Download the OpenAPI definition: https://api.apify.com/v2/actors/Tr38zjXCD5jYDohxh/builds/azbdCYNELaGc6lun9/openapi.json
