# SEC EDGAR Filings (`timbered_oak/sec-edgar-filings`) Actor

Fetches SEC EDGAR filing metadata (and optionally text) for companies by ticker, CIK, or name, via the official data.sec.gov API.

- **URL**: https://apify.com/timbered\_oak/sec-edgar-filings.md
- **Developed by:** [Mark](https://apify.com/timbered_oak) (community)
- **Categories:** News, Developer tools
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.80 / 1,000 filing scrapeds

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?

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

### What it does

Fetches SEC filing metadata for companies from the official
`data.sec.gov` submissions API — no proxy, no scraping of rendered pages.
Resolve a company by ticker, CIK, or name, get back its recent filings
(10-K, 10-Q, 8-K, etc.) with links to the primary document. Optionally
fetches the primary document itself and includes its plain text, with
automatic Risk Factors (Item 1A) extraction for 10-Ks.

Company-level data only. No officer/insider personal data is collected —
Form 4/3/5 filings are returned as metadata rows like any other form, but
their per-person transaction fields are never parsed out.

### Input

| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| `companies` | array of strings | yes | — | Ticker (`AAPL`), CIK (`320193`), or company name (`Nortel Networks Corp`) per company. |
| `formTypes` | array of strings | no | `["10-K","8-K","10-Q"]` | SEC form types to include. |
| `maxFilings` | integer | no | `20` | Max matching filings per company, most recent first. |
| `includeText` | boolean | no | `false` | Fetch the primary document text (truncated to 200,000 chars) and, for 10-Ks, its Risk Factors section. |

Name resolution uses EDGAR's company-search feed and takes the first CIK
match — an exact ticker or CIK is more reliable than a name, since a
name search can match a similarly-named subsidiary (e.g. "Nortel
Networks" alphabetically matches "Nortel Networks Capital Corp" before
the actual parent "Nortel Networks Corp").

### Output example

One row per filing in the default dataset:

```json
{
  "company": "NORTEL NETWORKS CORP",
  "cik": "0000072911",
  "ticker": null,
  "formType": "8-K",
  "filedAt": "2012-10-03",
  "reportDate": "2012-10-03",
  "accessionNumber": "0001193125-12-414094",
  "primaryDocUrl": "https://www.sec.gov/Archives/edgar/data/72911/000119312512414094/d420239d8k.htm",
  "description": "8-K"
}
```

With `includeText: true`, rows also carry `text` (plain text, ≤200k
chars) and, for 10-K rows, `riskFactors` (Item 1A section, ≤50k chars).

### Pricing

Pay-per-event (PPE). One `filing-scraped` event is charged per filing row
pushed via `Actor.charge({ eventName: 'filing-scraped' })` — never charged
on an empty result. Console price: **$0.0008 per event** ($0.80/1,000
filings), no start fee (`docs/CANDIDATES.md` #14).

### Limits

- Free-plan compute only; no residential proxy — SEC is a public API.
- Requests carry a descriptive `User-Agent` and are throttled to stay
  under SEC's 10 req/s limit.
- `includeText` adds one extra fetch (and more compute) per filing;
  leave it off unless you need document text.
- Name search takes the first EDGAR match — verify the resolved `cik`
  in the output if the company name is ambiguous.

# Actor input Schema

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

Ticker symbol, CIK number, or company name for each company to fetch filings for.

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

SEC form types to include (e.g. 10-K, 10-Q, 8-K).

## `maxFilings` (type: `integer`):

Maximum number of matching filings to return per company, most recent first.

## `includeText` (type: `boolean`):

Fetch the primary document and include its plain text (truncated to 200,000 chars). For 10-K filings, also extracts the Risk Factors (Item 1A) section. Slower and heavier — leave off unless you need the text.

## Actor input object example

```json
{
  "companies": [
    "AAPL"
  ],
  "formTypes": [
    "10-K",
    "8-K",
    "10-Q"
  ],
  "maxFilings": 20,
  "includeText": false
}
```

# Actor output Schema

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

All scraped rows as JSON

# 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"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("timbered_oak/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 = { "companies": ["AAPL"] }

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

```

## MCP server setup

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