# SEC EDGAR Company Financials Scraper (`parselab/sec-edgar-financials-scraper`) Actor

Get annual financial statements for any US public company straight from SEC filings: revenue, gross profit, operating income, net income, assets, liabilities, long-term debt, operating cash flow, EPS and shares outstanding. Search by ticker and export the results to CSV or Excel.

- **URL**: https://apify.com/parselab/sec-edgar-financials-scraper.md
- **Developed by:** [ParseLab](https://apify.com/parselab) (community)
- **Categories:** Business, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $26.25 / 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.
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 Company Financials Scraper

This SEC EDGAR scraper pulls the latest annual financial statements for any US public company. Enter stock tickers and get one row per company with revenue, gross profit, operating income, net income, total assets, total liabilities, long-term debt, operating cash flow, diluted EPS and shares outstanding, taken from the company's own filings with the SEC.

Analysts, investors, students and fintech developers use it to build screeners and comparison tables in minutes, without opening a 10-K for every company.

### What can you do with this SEC EDGAR scraper?

- Get annual revenue for any US public company
- Find net income, gross profit and operating income by ticker
- Compare the balance sheets of several companies (assets, liabilities, debt)
- Get operating cash flow and diluted EPS from 10-K filings
- Find the number of shares outstanding
- Build a company financials spreadsheet from a list of tickers
- Get a link to the company's 10-K filings on the SEC website
- Export SEC financial data to CSV or Excel

### What data can you extract from SEC EDGAR?

| Field | What it holds |
|---|---|
| `ticker`, `companyName`, `cik` | Company identification |
| `fiscalYear`, `periodEnd` | The fiscal year and end date of the numbers |
| `revenue` | Total revenue |
| `grossProfit`, `operatingIncome`, `netIncome` | Profit lines |
| `researchAndDevelopmentExpense` | R\&D spending |
| `totalAssets`, `totalCurrentAssets` | Assets |
| `totalLiabilities`, `totalCurrentLiabilities`, `longTermDebt` | Liabilities and debt |
| `stockholdersEquity`, `cashAndEquivalents` | Equity and cash |
| `operatingCashFlow` | Cash generated by operations |
| `earningsPerShareDiluted`, `sharesOutstanding` | Per-share data |
| `filingUrl` | Link to the company's 10-K filings on the SEC website |

### How to scrape SEC financial data

1. Add one or more US stock tickers, for example `AAPL`, `MSFT`, `TSLA`.
2. Optionally add a contact email. The SEC asks automated tools to identify themselves, and this keeps your runs in good standing.
3. Click **Start**.
4. Export the dataset as CSV, Excel or from the Apify console.

### Input example

```json
{
  "tickers": ["AAPL", "MSFT", "TSLA"],
  "contactEmail": "you@example.com",
  "maxItems": 3
}
```

### Output example

```json
{
  "ticker": "AAPL",
  "companyName": "Apple Inc.",
  "cik": "0000320193",
  "fiscalYear": 2025,
  "periodEnd": "2025-09-27",
  "revenue": 416161000000,
  "grossProfit": 195201000000,
  "operatingIncome": 133050000000,
  "netIncome": 112010000000,
  "researchAndDevelopmentExpense": 34550000000,
  "totalAssets": 359241000000,
  "totalLiabilities": 285508000000,
  "longTermDebt": 78328000000,
  "stockholdersEquity": 73733000000,
  "cashAndEquivalents": 35934000000,
  "operatingCashFlow": 111482000000,
  "earningsPerShareDiluted": 7.46,
  "sharesOutstanding": 14773260000,
  "filingUrl": "https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=0000320193&type=10-K"
}
```

### How much does it cost to scrape SEC EDGAR?

You pay per result, and one result is one company: $35 per 1,000 companies plus a tiny start fee. The free plan returns up to 10 companies per run. Companies are processed in parallel, so a list of a few hundred tickers finishes quickly.

### Good to know

- Amounts are in US dollars as reported. Shares are plain counts.
- The Actor picks the most recent value reported for each line, even when a company changed its accounting labels over the years.
- Companies that do not file annual 10-K reports in the standard format, such as some foreign issuers, may have empty fields.

### Who uses SEC financial data?

- **Investors** screen stocks by margins, debt or growth.
- **Analysts** fill comparison models without manual copying.
- **Students** collect real financials for projects.
- **Developers** power finance apps and dashboards.

### FAQ

**Do I need an SEC account?**
No. The Actor works without any login.

**Does it cover quarterly data?**
This version returns the latest annual figures.

**Why is a field empty for some companies?**
Not every company reports every line. A bank, for example, has no gross profit.

**How do I look up a ticker?**
Use the symbol you see on any stock site, such as `NVDA` for NVIDIA.

### Screening ideas with the numbers

Every row has the raw lines you need to calculate the ratios most screeners use:

- **Net margin**: net income divided by revenue
- **Operating margin**: operating income divided by revenue
- **Debt load**: long-term debt divided by stockholders' equity
- **Cash quality**: operating cash flow divided by net income
- **R\&D intensity**: research and development divided by revenue

Load the dataset into a spreadsheet, add these columns and sort. A list of 500 tickers becomes a ranked screen in a few minutes.

### Automate and connect

Schedule the Actor from the Apify console to refresh the data daily or weekly. Send finished datasets to Google Sheets, Zapier, Make or n8n, or trigger a webhook when a run ends, so your reports and alerts update without manual work.

### Legal note

This Actor collects information that is publicly visible on the website. Check the source site's terms and your local rules before using the data. Nothing here is financial advice.

### Support

Missing a field or found a bug? Open an issue from the Actor page.

# Actor input Schema

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

Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000. One item = one ticker.

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

US stock ticker symbols to look up, e.g. \['AAPL', 'MSFT', 'TSLA'].

## `contactEmail` (type: `string`):

SEC requires requests to identify a contact (name/email) in the User-Agent header. Optional, but recommended to avoid rate limiting.

## `maxConcurrency` (type: `integer`):

How many tickers to fetch in parallel. SEC's fair-access policy documents a 10 req/s ceiling per client, so this is capped at 8. Default 6.

## Actor input object example

```json
{
  "maxItems": 10,
  "tickers": [
    "AAPL",
    "MSFT",
    "TSLA"
  ],
  "maxConcurrency": 6
}
```

# Actor output Schema

## `overview` (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 = {
    "maxItems": 10,
    "tickers": [
        "AAPL",
        "MSFT",
        "TSLA"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("parselab/sec-edgar-financials-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 = {
    "maxItems": 10,
    "tickers": [
        "AAPL",
        "MSFT",
        "TSLA",
    ],
}

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

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parselab/sec-edgar-financials-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/HxtZKhv6e6exJ1eGT/builds/T9BDjmzyVPVCuuZMS/openapi.json
