# SEC EDGAR Filings Scraper - Full-Text Search & Company Filings (`evpp/sec-edgar-filings`) Actor

Scrape and export SEC EDGAR filings as a clean JSON API: full-text search results, company filing feeds, form types, accession numbers, dates, and document URLs.

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

## Pricing

from $3.00 / 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.

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 - Full-Text Search & Company Filings

Search and monitor **SEC EDGAR filings** through the SEC's own public JSON APIs. Run **full-text search** across every filing since 2001 (the same engine that powers EDGAR's web search), or pull a **per-company filing feed** by ticker or CIK. Output is clean flat JSON with accession numbers, form types, filing dates, filer names, and direct document URLs. No headless browser, no CAPTCHAs, no API key.

### Why use it

- **Investors & analysts**: track 10-K/10-Q/8-K disclosures mentioning "artificial intelligence", "supply chain", "going concern", or any phrase, across all filers at once.
- **Compliance & legal teams**: monitor a company's filing stream or sweep the market for disclosure language used by peers.
- **Journalists**: find which companies disclosed a topic, when, and jump straight to the filing.
- **AI-agent builders**: get a structured filing feed (accession number + canonical URL) to pipe into summarization or alerting pipelines.

### What it scrapes

| Mode | Trigger | Source |
|------|---------|--------|
| Full-text search | `query` set (no ticker/CIK) | `efts.sec.gov/LATEST/search-index` (EDGAR full-text search) |
| Company filings | `ticker` or `cik` set | `data.sec.gov/submissions/CIK##########.json` |
| Ticker resolution | `ticker` set | `www.sec.gov/files/company_tickers.json` |

Full-text queries support quoted phrases (`"supply chain"`) and boolean operators (`AND`, `OR`). In company mode, historical filings beyond the recent window are paged in automatically from the SEC's archive files.

### Quick start input

Target source: `sec.gov`. Paste this JSON into the Actor input tab for a fast first run, or use it as the body of the Apify API run call:

```json
{
    "ticker": "AAPL",
    "forms": "10-K,10-Q,8-K",
    "startDate": "2025-01-01",
    "maxItems": 10
}
```

The default input is intentionally small. Raise `maxItems` only after validating the first SEC filing records.

### Input

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `query` | string | `"artificial intelligence"` | EDGAR full-text search query. Wrap phrases in double quotes; supports AND/OR. |
| `ticker` | string | `""` | US-listed ticker (AAPL, MSFT, TSLA). Switches to company mode. |
| `cik` | string | `""` | SEC Central Index Key (digits only). Alternative to `ticker`. |
| `forms` | string | `"10-K"` | Comma-separated form types to keep (10-K,10-Q,8-K,S-1,DEF 14A,4). Empty = all. |
| `startDate` | string | `"2025-01-01"` | Earliest filing date (YYYY-MM-DD). Empty = no lower bound. |
| `endDate` | string | today | Latest filing date (YYYY-MM-DD). |
| `userAgent` | string | `"ResearchAgent contact@example.com"` | SEC requires a descriptive User-Agent with contact info. Set your own. |
| `maxItems` | integer | `10` | Maximum filings returned (1-1000), strictly enforced. |
| `proxyConfiguration` | object | `{ "useApifyProxy": false }` | Optional. SEC endpoints are public and need no proxy. |

### Output

One flat JSON item is produced per SEC filing. Download the dataset as JSON, CSV, Excel, or HTML, or consume it through the Apify API.

#### Field reference

| Field | Type | Description |
|-------|------|-------------|
| `accessionNumber` | string | SEC accession number uniquely identifying the filing |
| `form` | string | SEC form type of the filing |
| `filingDate` | string | Date the filing was submitted to EDGAR (YYYY-MM-DD) |
| `reportDate` | string | Period of report / period ending date (YYYY-MM-DD) |
| `cik` | string\[] | CIK(s) of the filing entity or entities (10-digit zero-padded) |
| `companyNames` | string\[] | Display names of the filing entities |
| `fileNum` | string | SEC file number of the filing |
| `primaryDocument` | string | Filename of the primary document within the filing (company mode) |
| `url` | string | Direct EDGAR URL: primary document in company mode, filing index page in search mode |
| `entityName` | string | Registered entity name (company mode) |
| `ticker` | string | Stock ticker of the filing company (company mode) |
| `sic` | string | SIC industry code or description of the filer |
| `items` | string\[] | Item numbers reported in the filing (mainly for 8-K forms) |
| `matchedQuery` | string | Full-text query that produced this item (search mode only) |

#### Real sample output (latest live dataset)

```json
{
    "accessionNumber": "0000320193-26-000026",
    "form": "10-K",
    "filingDate": "2026-11-03",
    "reportDate": "2026-09-26",
    "cik": [
        "0000320193"
    ],
    "companyNames": [
        "Apple Inc. (AAPL)"
    ],
    "fileNum": "001-36743",
    "url": "https://www.sec.gov/Archives/edgar/data/320193/000032019326000026/0000320193-26-000026-index.htm",
    "sic": "3571",
    "matchedQuery": "\"artificial intelligence\""
}
```

### Use with AI agents (MCP), n8n, Make, and Python

- **AI agents / MCP:** add `https://mcp.apify.com/?tools=evpp/sec-edgar-filings` to your MCP client, then ask the agent to scrape SEC EDGAR data or export the latest dataset.
- **n8n / Make / Zapier:** run Actor `evpp/sec-edgar-filings` with the quick-start input, then map dataset items into Google Sheets, a CRM, a webhook, or a monitoring workflow.
- **Python:** install the client with `pip install apify-client` and run:

```python
import json
from apify_client import ApifyClient

client = ApifyClient()
run_input = json.loads('''{"ticker":"AAPL","forms":"10-K,10-Q,8-K","startDate":"2025-01-01","maxItems":10}''')
run = client.actor("evpp/sec-edgar-filings").call(run_input=run_input)
items = list(client.dataset(run["defaultDatasetId"]).iterate_items())
print(items[0])
```

The same dataset is available as JSON, CSV, Excel, XML, RSS, and HTML through the Apify API.

### Cost

The Actor makes a handful of lightweight JSON calls: one search page per ~100 results, or one submissions file (plus ticker resolution and occasional archive pages) in company mode. A 10-item run finishes in seconds on 256 MB of memory. At the pay-per-event price of **$3 per 1,000 results**, sweeping every 10-K for a disclosure topic costs a fraction of a cent per run.

### FAQ

**Is this an official SEC API?**
Yes. These are the same public JSON endpoints that power EDGAR's web search and company pages (`efts.sec.gov`, `data.sec.gov`). No authentication is required and no HTML is scraped.

**Why do I need to set a User-Agent?**
SEC fair-access policy asks automated clients to identify themselves with a descriptive User-Agent containing contact info. The Actor sends the `userAgent` input on every request; replace the default with your own project name and email.

**What is the difference between `url` in the two modes?**
In company mode the SEC data includes the primary document filename, so `url` points straight at the filing document (e.g. the 10-K HTML). In search mode the hit does not carry a filename, so `url` points at the filing index page listing all documents.

**How far back does the data go?**
Full-text search covers filings since 2001. Company mode covers the full filing history exposed by the submissions API, paged through the SEC's archive files.

**Why does company mode return fewer items than expected?**
The `forms` filter, `startDate`, and `endDate` all apply. For rare forms over long histories the Actor pages through `filings.files` archives automatically until `maxItems` is reached or history is exhausted.

**Does it need proxies?**
No. Defaults run direct, throttled to SEC fair-access limits (~10 req/sec max, the Actor uses ~3). The `proxyConfiguration` input exists for users who want their own pool.

**Can I search for phrases?**
Yes. Wrap phrases in double quotes: `"supply chain disruption"`. Combine with `AND`/`OR`: `"climate risk" OR "cybersecurity incident"`.

# Actor input Schema

## `query` (type: `string`):

EDGAR full-text search query across all filings since 2001. Wrap phrases in double quotes (e.g. "artificial intelligence", "supply chain"); supports AND/OR operators. Ignored when a ticker or CIK is set.

## `ticker` (type: `string`):

US-listed company ticker (e.g. AAPL, MSFT, TSLA). When set, the Actor returns that company's recent filings instead of running a full-text search. Resolved to a CIK via the official SEC ticker file.

## `cik` (type: `string`):

SEC Central Index Key of the registrant (digits only, zero-padding is handled). Alternative to ticker; ticker takes precedence when both are set.

## `forms` (type: `string`):

Comma-separated SEC form types to keep (e.g. 10-K,10-Q,8-K,S-1,DEF 14A,4). Leave empty for all forms.

## `startDate` (type: `string`):

Only include filings filed on or after this date (YYYY-MM-DD). Leave empty for no lower bound.

## `endDate` (type: `string`):

Only include filings filed on or before this date (YYYY-MM-DD). Defaults to today.

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

SEC fair-access policy requires a descriptive User-Agent identifying your app and a contact email (e.g. "MyCompany admin@mycompany.com"). Change this to identify your own project.

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

Maximum number of filings to output (1-1000).

## `proxyConfiguration` (type: `object`):

Optional proxies for outbound requests. The SEC endpoints are public JSON APIs and usually need no proxy.

## Actor input object example

```json
{
  "query": "\"artificial intelligence\"",
  "ticker": "",
  "cik": "",
  "forms": "10-K",
  "startDate": "2025-01-01",
  "endDate": "",
  "userAgent": "ResearchAgent contact@example.com",
  "maxItems": 10,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing all scraped SEC filing records

# 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 = {
    "query": "\"artificial intelligence\"",
    "ticker": "",
    "cik": "",
    "forms": "10-K",
    "startDate": "2025-01-01",
    "endDate": "",
    "userAgent": "ResearchAgent contact@example.com",
    "proxyConfiguration": {
        "useApifyProxy": false
    }
};

// Run the Actor and wait for it to finish
const run = await client.actor("evpp/sec-edgar-filings").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 = {
    "query": "\"artificial intelligence\"",
    "ticker": "",
    "cik": "",
    "forms": "10-K",
    "startDate": "2025-01-01",
    "endDate": "",
    "userAgent": "ResearchAgent contact@example.com",
    "proxyConfiguration": { "useApifyProxy": False },
}

# Run the Actor and wait for it to finish
run = client.actor("evpp/sec-edgar-filings").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 '{
  "query": "\\"artificial intelligence\\"",
  "ticker": "",
  "cik": "",
  "forms": "10-K",
  "startDate": "2025-01-01",
  "endDate": "",
  "userAgent": "ResearchAgent contact@example.com",
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}' |
apify call evpp/sec-edgar-filings --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,evpp/sec-edgar-filings"
        }
    }
}
```

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/00IIAC0foMiBLGKOx/builds/2VLLVR4oqlzuKgAmQ/openapi.json
