# Sec Edgar Filings Scraper (`smorgi_apps/sec-edgar-filings-scraper`) Actor

- **URL**: https://apify.com/smorgi\_apps/sec-edgar-filings-scraper.md
- **Developed by:** [Smorgi Apps](https://apify.com/smorgi_apps) (community)
- **Categories:** Business, Developer tools, Other
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $1.00 / 1,000 sec filings

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/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 Filings Scraper — Pay Per Result

Search **SEC EDGAR** filings through the official full-text search API (`efts.sec.gov/LATEST/search-index`). Filter by ticker, CIK, form type, filing date range, and free-text query.

**Store search keywords:** SEC EDGAR scraper · 10-K · 10-Q · 8-K · CIK · ticker filings · EDGAR search API

***

### Why this Actor

| Need | What you get |
|------|----------------|
| Monitor public companies | Resolve tickers → CIK, search 10-K / 10-Q / 8-K |
| Compliance / research | Structured filing metadata + direct SEC archive URL |
| Cost control | Pay per delivered row; empty searches **not charged** |
| SEC-friendly access | Descriptive User-Agent, request throttling, backoff on 429/503 |

HTTP-only — no browser. Uses `got-scraping` with JSON Accept headers.

***

### Input

```json
{
  "tickers": ["AAPL", "MSFT"],
  "ciks": ["0000320193"],
  "query": "climate risk",
  "forms": ["10-K", "10-Q", "8-K"],
  "startDate": "2026-01-01",
  "endDate": "2026-03-31",
  "maxItems": 50,
  "requestDelayMs": 500
}
```

Provide at least one of **tickers**, **ciks**, or **query**.

- **tickers** — resolved via `https://www.sec.gov/files/company_tickers.json` (cached in memory for the run)
- **ciks** — searched as quoted zero-padded CIKs (e.g. `"0000320193"`)
- **forms** — defaults to `10-K`, `10-Q`, `8-K`
- **startDate / endDate** — `YYYY-MM-DD`; defaults to the **last 90 days** when omitted

Each ticker/CIK/query runs a separate search until `maxItems` is reached. Results are deduplicated across searches.

***

### Output fields

| Field | Description |
|-------|-------------|
| `id` | Accession number (`adsh`) |
| `form` | Root form (e.g. `10-K`) |
| `fileType` | Document type within the filing |
| `fileDate` | Filing date |
| `periodEnding` | Period end date when present |
| `companyName` | From `display_names[0]` |
| `ciks` | CIK list (zero-padded) |
| `tickers` | Parsed from display name when available |
| `sic` | SIC codes |
| `states` | Business state codes |
| `locations` | Business locations |
| `fileDescription` | Exhibit / document description |
| `items` | 8-K items or Form D items when present |
| `url` | SEC filing index page on sec.gov |
| `scrapedAt` | ISO timestamp |

***

### Pricing

Pay-per-event for each **delivered** filing row (`apify-default-dataset-item`).

- Empty searches, HTTP failures, and unparseable rows → **not charged**
- Unknown tickers fall back to a text search (may return broader matches)

***

### Limitations (honest)

- **SEC fair access** — The SEC expects automated clients to identify themselves (User-Agent with contact info) and limit request rates. This Actor sends `SmorgiApps-EDGAR-Scraper smorgiapps@gmail.com` and throttles requests; heavy parallel use may still trigger **429** responses.
- **Search API, not bulk archives** — Results come from EDGAR full-text search index metadata, not parsed XBRL or full document text.
- **One row per indexed document** — A single 10-K submission may produce multiple rows (main 10-K, exhibits, etc.).
- **Ticker resolution** — Only tickers in SEC `company_tickers.json` map cleanly to CIK; OTC or very new symbols may need a manual CIK or query.
- **Date defaults** — Missing dates default to the last 90 days, not “all time”.
- **Rate limits** — SEC may block or slow abusive traffic; use `requestDelayMs` ≥ 500 ms for production schedules.

***

Issues / feature requests: use the Actor **Issues** tab.

# Actor input Schema

## `tickers` (type: `array`):

Stock tickers to resolve via SEC company\_tickers.json (e.g. AAPL, MSFT). Each ticker runs a CIK search.

## `ciks` (type: `array`):

Central Index Keys — with or without leading zeros.

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

Optional EDGAR full-text search q parameter (keywords, phrases, operators supported by SEC search).

## `forms` (type: `array`):

SEC form types joined for the API forms parameter.

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

Filing date range start (YYYY-MM-DD). Defaults to 90 days before end date.

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

Filing date range end (YYYY-MM-DD). Defaults to today.

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

Maximum filing rows to deliver across all searches in this run.

## `requestDelayMs` (type: `integer`):

Throttle between SEC API requests. SEC fair-access policy recommends modest request rates.

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

Optional. SEC EDGAR usually works without proxies; enable only if needed.

## Actor input object example

```json
{
  "tickers": [
    "AAPL"
  ],
  "ciks": [],
  "query": "",
  "forms": [
    "10-K",
    "10-Q",
    "8-K"
  ],
  "startDate": "",
  "endDate": "",
  "maxItems": 50,
  "requestDelayMs": 500,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `filings` (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 = {
    "tickers": [
        "AAPL"
    ],
    "forms": [
        "10-K",
        "10-Q",
        "8-K"
    ],
    "maxItems": 50
};

// Run the Actor and wait for it to finish
const run = await client.actor("smorgi_apps/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 = {
    "tickers": ["AAPL"],
    "forms": [
        "10-K",
        "10-Q",
        "8-K",
    ],
    "maxItems": 50,
}

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

```

## MCP server setup

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

```

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/B2zrpvgZNa8vTonhm/builds/22B2sD1qi5HouK8j5/openapi.json
