# SEC EDGAR Filings Scraper: Forms, Tickers and CIKs (`joesimo/sec-edgar`) Actor

Read U.S. SEC EDGAR filings through the official data.sec.gov submissions APIs. Look up companies by ticker, CIK or name, filter by form type and date, and get document and index URLs. No login. Failed or empty inputs are free.

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

## Pricing

$1.00 / 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.

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: Forms, Tickers and CIKs

Read U.S. Securities and Exchange Commission EDGAR filings through the official public `data.sec.gov` submissions APIs. Resolve companies by ticker, CIK or name, filter by form type and filing date, and get clean rows with accession numbers, form types, dates, and document and index URLs. No login and no API key.

Empty input runs a short demo of recent Apple (AAPL) filings (20 rows) so you can try the Actor from the Store without filling in a form.

**$0.001 per filing** ($1.00 per 1,000). Invalid inputs, missing companies and empty results are saved as free status rows. You are not charged for errors.

### What you get

Each paid row has `status: ok` and a `kind` of `filing` (or `company` when Include company profile row is on), with:

- `cik`, `cikNumeric`, `name`, `ticker`, `tickers`, `exchanges`
- For filings: `accessionNumber`, `form`, `filingDate`, `reportDate`, `acceptanceDateTime`
- `primaryDocument`, `primaryDocDescription`, `documentUrl`, `indexUrl`
- `items`, `size`, `isXBRL`, `isInlineXBRL`, `fileNumber`, `filmNumber`
- For company rows: `sic`, `sicDescription`, `entityType`, `fiscalYearEnd`, `website`
- `scrapedAt`

### How to run it

| Goal | Input |
| --- | --- |
| By ticker | `"tickers": ["AAPL", "MSFT"]` |
| By CIK | `"ciks": ["320193"]` |
| EDGAR URL | `"companyUrls": ["https://www.sec.gov/cgi-bin/browse-edgar?CIK=320193"]` |
| Company name | `"queries": ["nvidia"]` |
| Only 10-K and 10-Q | `"tickers": ["AAPL"], "formTypes": ["10-K", "10-Q"]` |
| Date window | `"dateFrom": "2024-01-01", "dateTo": "2024-12-31"` |
| Company profile too | `"tickers": ["AAPL"], "includeCompany": true` |

Use **Max items** to cap paid rows. 0 means no extra cap (the run still stops at your max cost).

### How it works

- Ticker and name lookup use the public SEC file `https://www.sec.gov/files/company_tickers.json`.
- Filing history uses `https://data.sec.gov/submissions/CIK##########.json` (official EDGAR submissions API).
- Every request sends a declared User-Agent (`Sim0 LLC joesimo@mail.grokbot.com`) and stays under the SEC fair-access limit of 10 requests per second.
- The Actor does not scrape EDGAR HTML search pages and does not use a browser or a proxy.
- Company phone numbers and street addresses from the submissions JSON are omitted from output.

### Pricing

| Event | Price | When it is charged |
| --- | --- | --- |
| `filing` | $0.001 | One filing or company row with `status: ok` |
| (free) | $0 | `failed`, `not_found`, `invalid_input`, `empty` |

Apify keeps 20% of pay-per-event revenue as its commission.

### Input example

```json
{
  "tickers": ["AAPL"],
  "formTypes": ["10-K", "10-Q", "8-K"],
  "maxFilingsPerCompany": 25,
  "maxItems": 50
}
```

### Output example

```json
{
  "status": "ok",
  "kind": "filing",
  "source": "ticker",
  "cik": "0000320193",
  "name": "Apple Inc.",
  "ticker": "AAPL",
  "accessionNumber": "0000320193-24-000123",
  "form": "10-K",
  "filingDate": "2024-11-01",
  "documentUrl": "https://www.sec.gov/Archives/edgar/data/320193/000032019324000123/aapl-20240928.htm",
  "indexUrl": "https://www.sec.gov/Archives/edgar/data/320193/000032019324000123/0000320193-24-000123-index.htm"
}
```

### Limits and notes

- Personal data is limited to public company and filing fields the SEC already publishes. No emails are harvested from filing bodies.
- SEC fair access: at most 10 requests per second. Large multi-company runs are paced by design.
- Default memory is 256 MB. No proxy is required.
- Data source: U.S. Securities and Exchange Commission EDGAR (`data.sec.gov` and `www.sec.gov` public files).

### Support

Questions or feature requests: joesimo@mail.grokbot.com

Docs for every Joe Simo Actor: [github.com/Joe-Simo/apify-actors](https://github.com/Joe-Simo/apify-actors)

# Actor input Schema

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

Stock tickers to resolve via the SEC company_tickers map (example: AAPL, MSFT). The form is prefilled with AAPL. Clear the list (and leave CIKs and queries empty) to run the 20-row Apple demo.

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

Optional single ticker. Merged with Tickers.

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

SEC Central Index Keys (with or without leading zeros). Example: 320193 or 0000320193.

## `companyUrls` (type: `array`):

sec.gov browse-edgar or Archives /data/{cik}/ links. The CIK is parsed from the URL.

## `queries` (type: `array`):

Substring match against company titles in the public SEC ticker map (example: "nvidia", "berkshire").

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

Optional single name query. Merged with Company name search.

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

Keep only these EDGAR form types (example: 10-K, 10-Q, 8-K, 4, 13F-HR). Empty means all forms.

## `dateFrom` (type: `string`):

Inclusive filing date lower bound as YYYY-MM-DD.

## `dateTo` (type: `string`):

Inclusive filing date upper bound as YYYY-MM-DD.

## `includeCompany` (type: `boolean`):

Also save one company metadata row per CIK (name, tickers, exchanges, SIC). Charged as a paid filing event.

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

Cap filings returned per CIK after filters. 0 means 50 (demo empty input uses 20).

## `searchLimit` (type: `integer`):

Max companies matched per name query (1 to 200).

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

Stop after this many paid rows (filings + optional company rows). 0 means no extra cap (the run still stops at your max cost). The form is prefilled at 20 so a first Try stays small. Empty input also uses 20 for the demo.

## `timeoutSecs` (type: `integer`):

Per-request timeout for SEC API calls.

## Actor input object example

```json
{
  "tickers": [
    "AAPL"
  ],
  "ciks": [],
  "companyUrls": [],
  "queries": [],
  "formTypes": [],
  "includeCompany": false,
  "maxFilingsPerCompany": 20,
  "searchLimit": 25,
  "maxItems": 20,
  "timeoutSecs": 25
}
```

# Actor output Schema

## `results` (type: `string`):

One item per filing or company row, plus free status rows for failed, empty or invalid inputs.

## `runSummary` (type: `string`):

JSON summary: results saved, requests, User-Agent, stop reason and attribution.

# 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"
    ],
    "maxFilingsPerCompany": 20,
    "maxItems": 20
};

// Run the Actor and wait for it to finish
const run = await client.actor("joesimo/sec-edgar").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"],
    "maxFilingsPerCompany": 20,
    "maxItems": 20,
}

# Run the Actor and wait for it to finish
run = client.actor("joesimo/sec-edgar").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 '{
  "tickers": [
    "AAPL"
  ],
  "maxFilingsPerCompany": 20,
  "maxItems": 20
}' |
apify call joesimo/sec-edgar --silent --output-dataset

```

## MCP server setup

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

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/qiLqjF70ieibJ8rs0/builds/KrYTkWlmCRbVp6bMB/openapi.json
