# SEC EDGAR API – Filings + XBRL Financials – $0.30/1k (`henrycrawl/sec-edgar-filings`) Actor

SEC EDGAR filings by ticker or CIK: form, dates, items and direct document links, plus annual XBRL financials (revenue, net income, EPS, assets, cash flow). Works with AI agents via Apify MCP. Pay only per result; error rows are free.

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

## Pricing

$0.30 / 1,000 results

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 API – 10-K, 10-Q, 8-K, S-1 + XBRL Financials

Get every SEC EDGAR filing of a US public company by ticker or CIK — with direct links to the main document — and, optionally, clean annual financials (revenue, net income, EPS, assets...) from XBRL, without writing SEC API code.

Data comes only from the official public SEC API (`data.sec.gov`), with a declared User-Agent and under SEC's 10 requests/second fair-access limit.

### What you get

**Filing rows** (`recordType: "filing"`)

| Field | Description |
|---|---|
| ticker, cik, companyName | Company |
| form | SEC form (10-K, 10-Q, 8-K, S-1, DEF 14A, 4, 13F-HR...) |
| filingDate, reportDate, acceptanceDateTime | Dates |
| accessionNumber | EDGAR accession number |
| items | 8-K item numbers (e.g. 2.02 = results of operations) |
| documentUrl | Direct URL of the main document |
| filingIndexUrl | Filing index page (all exhibits) |
| fileNumber, sizeBytes, isXBRL, isInlineXBRL | Extra metadata |

**Annual financial rows** (`recordType: "annualFinancials"`, when `includeFinancials` is on) – one row per fiscal year, USD:
`periodEnd, fiscalYear, revenue, grossProfit, operatingIncome, netIncome, epsBasic, epsDiluted, operatingCashFlow, capitalExpenditure, researchAndDevelopment, totalAssets, totalLiabilities, stockholdersEquity, cashAndEquivalents, longTermDebt, dilutedSharesOutstanding, sourceForm, sourceAccession`.
Values come from US-GAAP company facts in 10-K / 20-F filings (latest restated value wins). Foreign filers reporting only in IFRS are not covered.

### Example output (real rows)

```json
{"recordType": "filing", "ticker": "AAPL", "cik": "320193", "companyName": "Apple Inc.", "form": "10-K", "filingDate": "2026-11-03", "reportDate": "2026-09-26", "accessionNumber": "0000320193-26-000026", "primaryDocDescription": "10-K", "documentUrl": "https://www.sec.gov/Archives/edgar/data/320193/000032019326000026/aapl-20260926.htm", "filingIndexUrl": "https://www.sec.gov/Archives/edgar/data/320193/000032019326000026/0000320193-26-000026-index.htm", "fileNumber": "001-36743", "isXBRL": true, "type": "result", "status": "OK"}
{"recordType": "annualFinancials", "ticker": "MSFT", "cik": "789019", "companyName": "MICROSOFT CORP", "currency": "USD", "periodEnd": "2026-06-30", "fiscalYear": 2026, "revenue": 331839000000, "grossProfit": 225465000000, "operatingIncome": 155237000000, "netIncome": 133749000000, "epsBasic": 18, "epsDiluted": 17.95, "operatingCashFlow": 182935000000, "capitalExpenditure": 115948000000, "type": "result", "status": "OK"}
```

### Pricing

Pay per result: **$0.30 per 1,000 rows** (filing or annual-financials row). No start fee. Error rows (unknown ticker, no match) are free. `maxResults` caps your spend.

### Use with AI agents (MCP)

Add this actor as a tool for Claude, ChatGPT or any MCP client:
`https://mcp.apify.com/?tools=henrycrawl/sec-edgar-filings`
Ask e.g. "List Apple's 8-K filings since July and show its revenue for the last 5 years."

### Input example

```json
{
  "companies": ["AAPL", "MSFT"],
  "formTypes": ["10-K", "10-Q", "8-K"],
  "dateFrom": "2024-01-01",
  "includeFinancials": true,
  "financialYears": 5,
  "maxResults": 40
}
```

Leave `formTypes` empty for all forms. Tickers like `BRK-B` and raw CIKs (`320193`) both work.

### Support

Questions, bugs or a field you need? Email **support@tidyware.app** — we reply within 1 business day. You can also open an issue on this page.

# Actor input Schema

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

US-listed tickers (AAPL, MSFT, BRK-B) or SEC CIK numbers (320193).

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

Filter by SEC form, e.g. 10-K, 10-Q, 8-K, S-1, DEF 14A, 4, 13F-HR. Leave empty for all forms.

## `includeAmendments` (type: `boolean`):

Also return amended versions (e.g. 10-K/A when 10-K is selected).

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

Earliest filing date (YYYY-MM-DD). Empty = no lower limit.

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

Latest filing date (YYYY-MM-DD). Empty = today.

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

Stop after this many filings per company (0 = no limit).

## `includeFinancials` (type: `boolean`):

Add one row per fiscal year with revenue, gross profit, operating income, net income, EPS, cash flow, capex, R\&D, assets, liabilities, equity, cash, debt (US-GAAP company facts).

## `financialYears` (type: `integer`):

How many most recent fiscal years of financials to return per company.

## `maxResults` (type: `integer`):

Maximum number of rows for the whole run (you are only charged for delivered rows; error rows are free).

## Actor input object example

```json
{
  "companies": [
    "AAPL",
    "MSFT"
  ],
  "formTypes": [
    "10-K",
    "10-Q",
    "8-K"
  ],
  "includeAmendments": true,
  "dateFrom": "2024-01-01",
  "maxFilingsPerCompany": 0,
  "includeFinancials": true,
  "financialYears": 5,
  "maxResults": 40
}
```

# Actor output Schema

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

One row per result, plus free error rows (type = error).

## `summary` (type: `string`):

Counts for this run (SUMMARY record).

# 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",
        "MSFT"
    ],
    "formTypes": [
        "10-K",
        "10-Q",
        "8-K"
    ],
    "dateFrom": "2024-01-01",
    "includeFinancials": true,
    "financialYears": 5,
    "maxResults": 40
};

// Run the Actor and wait for it to finish
const run = await client.actor("henrycrawl/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",
        "MSFT",
    ],
    "formTypes": [
        "10-K",
        "10-Q",
        "8-K",
    ],
    "dateFrom": "2024-01-01",
    "includeFinancials": True,
    "financialYears": 5,
    "maxResults": 40,
}

# Run the Actor and wait for it to finish
run = client.actor("henrycrawl/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",
    "MSFT"
  ],
  "formTypes": [
    "10-K",
    "10-Q",
    "8-K"
  ],
  "dateFrom": "2024-01-01",
  "includeFinancials": true,
  "financialYears": 5,
  "maxResults": 40
}' |
apify call henrycrawl/sec-edgar-filings --silent --output-dataset

```

## MCP server setup

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