# SEC EDGAR Filings Scraper — 10-K, 10-Q, 8-K by Ticker (`parkero/edgar-filings-scraper`) Actor

Fetch SEC EDGAR filings (10-K, 10-Q, 8-K, Form 4 & more) for any US public company by ticker or CIK. Returns structured JSON — filing dates, form types, accession numbers, and direct sec.gov document URLs — straight from the official SEC API. No API key, fast, and always current.

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

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/platform/actors/running/actors-in-store#pay-per-usage

## 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 Filings Scraper — 10-K, 10-Q, 8-K by Ticker

Extract SEC EDGAR filings for any public company by ticker symbol or CIK. Get annual reports (10-K), quarterly reports (10-Q), current reports (8-K), insider transactions (Form 4), proxy statements (DEF 14A), and every other filing type in the EDGAR database — filtered by date and form type, ready for your dataset.

### What It Does

This actor queries the SEC's official keyless EDGAR JSON API — no API key required. For each company you provide, it:

1. Resolves the ticker symbol to a CIK (Central Index Key) via the SEC's live ticker map.
2. Fetches the company's full submissions history from `data.sec.gov`.
3. Filters by form type and/or filing date.
4. Returns clean, validated records with the filing date, accession number, and a direct URL to the primary filing document on `sec.gov`.

Results are stored in an Apify Dataset, one row per filing.

### Use Cases

- **Financial research and analysis** — bulk-download 10-K/10-Q filings to analyse revenue trends, balance sheets, and segment data across dozens of companies at once.
- **Fintech and quantitative finance** — feed earnings report dates (10-Q filingDate) and 8-K material events into event-driven trading signals or sentiment pipelines.
- **Legal and compliance monitoring** — track Form 4 insider transactions, DEF 14A proxy filings, and 8-K material disclosures for portfolio companies in near real time.
- **Academic and ESG research** — gather SD (specialized disclosure) filings, annual reports, and proxy statements for large-scale textual analysis.
- **Competitive intelligence** — monitor when competitors file 8-Ks or quarterly updates so you never miss a material announcement.

### Input

| Field | Type | Required | Description |
|---|---|---|---|
| `tickersOrCiks` | string\[] | ✓ | Ticker symbols (`AAPL`, `MSFT`) and/or raw CIKs (`320193`). Mixed lists are fine. |
| `formTypes` | string\[] | | Only return these SEC form types. Leave blank for all. Common: `10-K`, `10-Q`, `8-K`, `4`, `DEF 14A`. |
| `sinceDate` | string | | ISO date `YYYY-MM-DD`. Only filings on or after this date. |
| `maxFilings` | integer | | Cap per company (most-recent N filings, after filters). Default: no cap. |
| `userAgent` | string | | **SEC requires a descriptive User-Agent with your contact email.** See below. |

#### Example Input

```json
{
  "tickersOrCiks": ["AAPL", "MSFT", "NVDA"],
  "formTypes": ["10-K", "10-Q"],
  "sinceDate": "2022-01-01",
  "maxFilings": 20,
  "userAgent": "MyFinanceApp/1.0 analyst@mycompany.com"
}
```

### Output

Each dataset row is a `FilingRecord`:

| Field | Type | Example |
|---|---|---|
| `company` | string | `"Apple Inc."` |
| `cik` | string | `"0000320193"` |
| `ticker` | string? | `"AAPL"` |
| `formType` | string | `"10-K"` |
| `filingDate` | string | `"2026-07-31"` |
| `reportDate` | string? | `"2026-06-28"` |
| `accessionNumber` | string | `"0000320193-26-000063"` |
| `primaryDocument` | string | `"aapl-20260628.htm"` |
| `filingUrl` | string | `"https://www.sec.gov/Archives/edgar/data/320193/000032019326000063/aapl-20260628.htm"` |
| `primaryDocDescription` | string? | `"10-K"` |

#### Sample Output Record

```json
{
  "company": "Apple Inc.",
  "cik": "0000320193",
  "ticker": "AAPL",
  "formType": "10-K",
  "filingDate": "2025-11-01",
  "reportDate": "2025-09-27",
  "accessionNumber": "0000320193-25-000123",
  "primaryDocument": "aapl-20250927.htm",
  "filingUrl": "https://www.sec.gov/Archives/edgar/data/320193/000032019325000123/aapl-20250927.htm",
  "primaryDocDescription": "10-K"
}
```

`ticker` and `reportDate` are absent for filers with no ticker (private placement investors, individuals filing Form 4) and for filing types that have no period-of-report (SD, 144).

### SEC User-Agent Requirement

The SEC's fair-access policy **requires** that all automated requests include a descriptive `User-Agent` header with your tool name and a contact email address. Requests without one are rejected with HTTP 403. Always set `userAgent` to something like:

```
MyApp/1.0 your-email@yourcompany.com
```

See the [SEC webmaster FAQ](https://www.sec.gov/os/webmaster-faq#developers) for details.

### Rate Limiting

The actor respects SEC's documented ceiling of 10 requests per second. Requests are throttled to one every 120 ms per hostname (`www.sec.gov` and `data.sec.gov` are counted separately), comfortably under the limit.

### Data Source

All data comes directly from the SEC's official keyless EDGAR JSON API:

- Ticker → CIK: `https://www.sec.gov/files/company_tickers.json`
- Filings: `https://data.sec.gov/submissions/CIK##########.json`

No third-party data sources, no scraping of HTML — pure structured API data.

# Actor input Schema

## `tickersOrCiks` (type: `array`):

One or more ticker symbols (e.g. AAPL, MSFT) or raw SEC CIK numbers (e.g. 320193). Mixed lists are allowed — the actor resolves tickers to CIKs automatically via the official SEC ticker map.

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

Only return filings of these SEC form types. Common values: 10-K (annual report), 10-Q (quarterly report), 8-K (current report / material event), 4 (insider transaction), DEF 14A (proxy statement). Leave empty to return all form types.

## `sinceDate` (type: `string`):

Only return filings submitted on or after this date (ISO format: YYYY-MM-DD). Leave blank for no lower bound.

## `maxFilings` (type: `integer`):

Maximum number of filings to return per company, applied after the formTypes and sinceDate filters. The EDGAR submissions API returns filings in reverse chronological order, so this effectively caps the most-recent N filings. Leave blank for no cap.

## `userAgent` (type: `string`):

User-Agent string sent with every request to SEC EDGAR. The SEC's fair-access policy REQUIRES a descriptive User-Agent that identifies your tool and includes a contact email address. Requests without a proper User-Agent are rejected with HTTP 403. Format: 'YourToolName/1.0 contact@yourdomain.com'. See https://www.sec.gov/os/webmaster-faq#developers

## Actor input object example

```json
{
  "tickersOrCiks": [
    "AAPL"
  ],
  "formTypes": [
    "10-K",
    "10-Q",
    "8-K"
  ],
  "sinceDate": "2023-01-01",
  "maxFilings": 20,
  "userAgent": "my-edgar-app/1.0 your-email@example.com"
}
```

# 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 = {
    "tickersOrCiks": [
        "AAPL"
    ],
    "formTypes": [
        "10-K",
        "10-Q",
        "8-K"
    ],
    "maxFilings": 20,
    "userAgent": "my-edgar-app/1.0 your-email@example.com"
};

// Run the Actor and wait for it to finish
const run = await client.actor("parkero/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 = {
    "tickersOrCiks": ["AAPL"],
    "formTypes": [
        "10-K",
        "10-Q",
        "8-K",
    ],
    "maxFilings": 20,
    "userAgent": "my-edgar-app/1.0 your-email@example.com",
}

# Run the Actor and wait for it to finish
run = client.actor("parkero/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 '{
  "tickersOrCiks": [
    "AAPL"
  ],
  "formTypes": [
    "10-K",
    "10-Q",
    "8-K"
  ],
  "maxFilings": 20,
  "userAgent": "my-edgar-app/1.0 your-email@example.com"
}' |
apify call parkero/edgar-filings-scraper --silent --output-dataset

```

## MCP server setup

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