# SEC EDGAR Filings Scraper (`rainminer/sec-edgar-filings-scraper`) Actor

List the filings a US public company has made with the SEC. One row per filing: form type, filing date, accession number, primary document and direct sec.gov links. Search by ticker or CIK, filter by form.

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

## Pricing

from $1.49 / 1,000 filings

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/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

List what a US public company has **filed with the SEC**. One row per filing: form type, filing date, accession number, primary document and a direct link to the document on sec.gov.

Search by ticker (`AAPL`) or CIK (`0000320193`). No API key and no login: it reads the public EDGAR submissions API that sec.gov publishes for exactly this purpose.

### What can this SEC scraper do?

- Look up one company or a list of companies in a single run.
- Accept tickers, CIK numbers, or `CIK0000320193`.
- Filter by form type, with `10-K*` matching amendments such as `10-K/A`.
- Filter by filing date with a `since` cutoff.
- Keep up to 1000 filings per company and cap the whole run with `maxItems`.
- Give direct document and filing index links, so no second lookup is needed.
- Export JSON, CSV or Excel, and schedule a repeat through Apify.

### What data can you extract?

| Field | Meaning |
| --- | --- |
| cik | Company CIK, zero padded |
| company | Company name as the SEC spells it |
| ticker | First ticker on the submissions document |
| form | Form type, for example 10-K, 10-Q, 8-K, 4, 144 |
| filingDate | Date the filing was made |
| reportDate | Period the filing reports on, when given |
| accessionNumber | Accession number with dashes |
| accessionNumberCompact | Accession number without dashes, as used in Archives paths |
| primaryDocument | Primary document file name, including any folder prefix |
| documentUrl | Direct link to the primary document |
| filingIndexUrl | Filing index page listing every document in the filing |
| items | 8-K item numbers, when given |
| sizeBytes | Size of the filing as reported by EDGAR |
| isXBRL / isInlineXBRL | Whether the filing carries XBRL data |
| sourceUrl | Submissions document this row came from |
| scrapedAt | When this row was collected |

### How to use it

1. Put tickers or CIKs in **Companies**. The default input is `AAPL`.
2. Optionally narrow **Form types**. Leave it empty to take every form. The default is `10-K*`, `10-Q*` and `8-K`.
3. Optionally set **Filed on or after** to a date such as `2026-01-01`.
4. Run it and download the dataset. Per company outcomes land in the key-value store record `SUMMARY`.

### Notes on scope

- EDGAR publishes the most recent ~1000 filings inline. That covers years of filings for most companies, and it is what this Actor reads. Older filings live in extra documents that are not fetched.
- A ticker that is not in the official SEC ticker file is reported in `SUMMARY` instead of failing the run.
- The Actor sends a polite user agent with a contact address, as sec.gov requires, and requests are sequential to stay well inside the SEC fair access limit.

# Actor input Schema

## `companies` (type: `array`):

Tickers such as AAPL, or CIK numbers such as 0000320193 (CIK0000320193 also works).

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

Optional. Leave empty for every form. Exact match, or end an entry with \* for a prefix, for example 10-K\* to include amendments.

## `since` (type: `string`):

Optional ISO date, for example 2026-01-01. Empty means no lower bound.

## `maxFilingsPerCompany` (type: `integer`):

How many matching filings to keep for each company.

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

Hard cap on dataset rows across all companies.

## Actor input object example

```json
{
  "companies": [
    "AAPL"
  ],
  "forms": [
    "10-K*",
    "10-Q*",
    "8-K"
  ],
  "maxFilingsPerCompany": 40,
  "maxItems": 500
}
```

# Actor output Schema

## `overview` (type: `string`):

No description

## `summary` (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 = {
    "companies": [
        "AAPL"
    ],
    "forms": [
        "10-K*",
        "10-Q*",
        "8-K"
    ]
};

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

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

```

## MCP server setup

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