# SEC EDGAR Filings Scraper: 10-K, 8-K, Form 4 & 13F (`plainkitbin/sec-edgar-filings`) Actor

Extract SEC EDGAR company filings (10-K, 10-Q, 8-K, 4, 13F-HR) as clean structured JSON with rate-limiting and pay-per-event pricing.

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

## Pricing

from $2.09 / 1,000 sec filing records

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

Financial analysts, quantitative researchers, equity investors, automated data pipelines, and AI financial agents need SEC EDGAR company filings as clean tabular rows without parsing raw HTML or SGML text submissions. One run retrieves recent regulatory filings (10-K, 10-Q, 8-K, 4, 13F-HR, and other form types) for specified ticker symbols or Central Index Key (CIK) numbers and returns structured JSON rows containing accession numbers, CIKs, filing dates, period-of-report dates, form types, and direct URLs to filing documents and index pages.

The price is **$0.003** per delivered filing row under the `FREE` tier on Apify Pay-Per-Event (event name: `sec-filing`).
This Actor is an independent tool and is not affiliated with the SEC.

### Output Row Fields

Each delivered filing record contains 9 fields:

- `accession_number`: Unique SEC submission accession identifier
- `cik`: 10-digit zero-padded SEC Central Index Key
- `company_name`: Registrant company name
- `filing_date`: Date the filing was accepted and processed (YYYY-MM-DD)
- `filing_index_url`: Direct URL to the EDGAR filing index directory
- `form`: Filing form type (e.g., 10-K, 10-Q, 8-K)
- `primary_document_url`: Direct URL to the primary filing document
- `report_date`: Period-of-report date (YYYY-MM-DD)
- `ticker`: Uppercase stock ticker symbol (or empty string if not matched)

#### Example Output

```json
{
  "accession_number": "0000320193-23-000106",
  "cik": "0000320193",
  "company_name": "Apple Inc.",
  "filing_date": "2023-11-03",
  "filing_index_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019323000106/0000320193-23-000106-index.htm",
  "form": "10-K",
  "primary_document_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019323000106/aapl-20230930.htm",
  "report_date": "2023-09-30",
  "ticker": "AAPL"
}
```

### Pricing and Charging

- Event name: `sec-filing`
- Pricing model: Apify Pay-Per-Event
- Tier prices:
  - FREE: $0.003 per event
  - BRONZE: $0.0027 per event
  - SILVER: $0.0024 per event
  - GOLD: $0.00209 per event
  - PLATINUM: $0.00209 per event
  - DIAMOND: $0.002 per event

Each filing is pushed first to the dataset and charged right after a successful push.
A refused charge or reached spending limit halts work immediately; that row remains delivered and uncharged.
Failed requests produce 0 charges and push no data.
Restart safety: if a run is restarted or resumed by the platform, already delivered filing rows are recognized and never pushed or charged twice.

### Input Parameters

| Parameter | Type | Required | Description |
|---|---|---|---|
| `user_agent` | String | **Yes** | User-Agent header declared in compliance with the SEC EDGAR fair-access policy (format: `SampleApp dev@example.com`). |
| `tickers` | Array of strings | No | List of stock ticker symbols (e.g. `["AAPL", "MSFT"]`). |
| `ciks` | Array of strings | No | List of 10-digit Central Index Key numbers (e.g. `["0000320193"]`). |
| `form_types` | Array of strings | No | Filter by form types (e.g. `["10-K", "10-Q", "8-K"]`). Empty matches all. Aliases are accepted: `Form 4` matches `4`, `Form 3` and `Form 5` match `3` and `5`, `13F` matches `13F-HR` and `13F-NT`, and `DEF14A` or `Proxy` matches `DEF 14A`. |
| `date_from` | String | No | Earliest filing date to include (`YYYY-MM-DD`). |
| `date_to` | String | No | Latest filing date to include (`YYYY-MM-DD`). |
| `exclude_amendments` | Boolean | No | When `true`, skips amended filings whose form ends with `/A` (such as `10-K/A`, `10-Q/A`, `4/A`). Default `false`. |
| `max_items` | Integer | No | Maximum total filings to return (default: 100). |

*Note: At least one ticker or CIK must be provided. The `user_agent` must contain a contact email. Dates must be real `YYYY-MM-DD` dates. A run with no resolvable ticker or CIK fails with a message naming the unresolved inputs.*

#### Coverage: recent filings only

The Actor reads the recent list of each company's SEC submissions record.
It does not fetch the older archive files, so filings older than that list are not returned.
It is not a real-time feed.

#### Example Input

```json
{
  "user_agent": "ExampleApp admin@example.com",
  "tickers": ["AAPL", "MSFT"],
  "form_types": ["10-K"],
  "date_from": "2023-01-01",
  "max_items": 10
}
```

### SEC Fair Access & Rate Limits

The SEC requires all automated clients to identify themselves and limit request rates:

> "To ensure our website performs well for all users, the SEC monitors the frequency of requests for SEC.gov content to ensure automated searches do not impact the ability of others to access SEC.gov content. We reserve the right to block IP addresses that submit excessive requests. Current guidelines limit users to a total of no more than 10 requests per second, regardless of the number of machines used to submit requests."

This Actor automatically limits requests to stay well below the 10 req/sec cap and handles backoff retries. Users must provide their own contact identifier in the `user_agent` field.

# Actor input Schema

## `user_agent` (type: `string`):

Required by SEC fair-access policy. Format: SampleApp dev@example.com (buyer supplies own contact information).

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

List of stock ticker symbols to fetch filings for.

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

List of 10-digit Central Index Key (CIK) numbers.

## `form_types` (type: `array`):

Filter filings by form type: 10-K, 10-Q, 8-K, 4 (Form 4 insider filings), 13F-HR (13F institutional holdings), S-1, DEF 14A. Aliases such as Form 4, 13F and Proxy also work. Leave empty to match all forms.

## `date_from` (type: `string`):

Earliest filing date to include in ISO format (YYYY-MM-DD).

## `date_to` (type: `string`):

Latest filing date to include in ISO format (YYYY-MM-DD).

## `max_items` (type: `integer`):

Maximum total filings to output.

## `exclude_amendments` (type: `boolean`):

When true, excludes amended SEC filings ending with /A (such as 10-K/A, 10-Q/A, 4/A).

## Actor input object example

```json
{
  "user_agent": "ExampleApp admin@example.com",
  "tickers": [
    "AAPL",
    "MSFT"
  ],
  "form_types": [
    "10-K"
  ],
  "max_items": 100,
  "exclude_amendments": false
}
```

# Actor output Schema

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

Dataset items produced by this run.

# 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 = {
    "user_agent": "ExampleApp admin@example.com",
    "tickers": [
        "AAPL",
        "MSFT"
    ],
    "form_types": [
        "10-K"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("plainkitbin/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 = {
    "user_agent": "ExampleApp admin@example.com",
    "tickers": [
        "AAPL",
        "MSFT",
    ],
    "form_types": ["10-K"],
}

# Run the Actor and wait for it to finish
run = client.actor("plainkitbin/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 '{
  "user_agent": "ExampleApp admin@example.com",
  "tickers": [
    "AAPL",
    "MSFT"
  ],
  "form_types": [
    "10-K"
  ]
}' |
apify call plainkitbin/sec-edgar-filings --silent --output-dataset

```

## MCP server setup

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