# SEC EDGAR Financials, Filings & Company Data Scraper (`foxlabs/sec-edgar-financials`) Actor

Rich US public-company intelligence from the official SEC EDGAR API: full firmographics, multi-year XBRL financial statements (income, balance sheet, cash flow), computed margins & growth, plus recent filings (10-K/10-Q/8-K, insider). Input tickers or CIKs. Free, structured JSON.

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

## Pricing

from $5.00 / 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 Company Financials 📊

**foXLabs US filings series:** [SEC enforcement](https://apify.com/foxlabs/sec-enforcement-actions) · [LEI ownership](https://apify.com/foxlabs/lei-company-ownership) · [Federal contractors](https://apify.com/foxlabs/usaspending-contractor-data)

🎉 Turn SEC EDGAR into clean, structured company-financial data — no login, no API key, one row per filer, with the CIK, ticker, industry (SIC), key financials and filing metadata.
Built for equity research, financial analysis and B2B intelligence.

### 🔍 What is the SEC EDGAR Company Financials — and when should you use it?

Give this actor company names, tickers or CIKs and it returns matching companies from SEC EDGAR company filings (official open data) — as clean, deduplicated rows you can filter, export or feed to an AI agent. Every run reads the source live.

**Use it when you need:** a SEC filer company list for outreach; formation / status monitoring; or a canonical registry record for KYB and due diligence.

**Use something else when:** you need private-company data — EDGAR covers SEC filers (public companies and funds).

### 🤖 Use with AI agents

**Already on the Apify MCP server?** Ask for this Actor by name: `foxlabs/sec-edgar-financials`.

**Your agent can pay for its own runs.** This Actor is pay-per-event with agentic payments, so an agent can discover it, run it and settle the bill over **x402 (USDC on Base)** or **Skyfire** — no Apify account or API token of its own. Billing is the same either way: per delivered record, never for errors.

Otherwise paste this into Claude, ChatGPT, Cursor or any MCP-enabled assistant:

```
I want to pull SEC filer company records using the Apify Actor `foxlabs/sec-edgar-financials`.
Input: `tickers`, `ciks`, `includeFinancials`, `maxAnnualYears` and more — see the Input table below. 
Start with: {"tickers":["AAPL","MSFT"]}
Ask me what to look up, run the Actor, then summarise the rows as a table.
```

The machine-readable API, MCP config and OpenAPI definition live at `apify.com/foxlabs/sec-edgar-financials.md`.

### 📋 Overview

Everything you need to turn SEC EDGAR company filings (official open data) into clean, structured data — in one actor, with no login, cookies or API key.

**Why teams pick this actor:**

- ✅ **Whole filings, one call** — name or ID in, matching companies out.
- 🧹 **No empty-promise columns** — only fields this registry actually fills; degenerate columns are removed.
- 🔗 **Stable identifiers** — every row carries the source's own IDs, ready to join across runs and to other Fox Labs actors.
- 💰 **Per-row pricing** — a minimal price per delivered row, no subscription.
- 🤖 **Agent-ready** — MCP + x402 agentic payments.

### ✨ Features

- 🔍 **Name or ID lookup** — relevance-ranked name search or exact registry-ID lookup.
- 🏢 **Full entity profile** — status, legal form, formation date, address and the registry’s own contact fields.
- 🧹 **Clean schema** — deduplicated camelCase rows, ready for CSV/Excel/JSON.

### 🎬 Quick Start

```bash
curl -X POST "https://api.apify.com/v2/acts/foxlabs~sec-edgar-financials/runs?token=YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"tickers":["AAPL","MSFT"]}'
```

### 🚀 Getting Started (3 steps)

1. **Choose your targets** — company names, tickers or CIKs.
2. **Review the options** — every field is optional unless marked required.
3. **Run and export** — get a clean dataset as JSON, CSV or Excel.

### 📥 Input

```json
{"tickers":["AAPL","MSFT"]}
```

| Field | Type | Description |
|---|---|---|
| `tickers` | array | Stock ticker symbols to look up (e.g. AAPL, MSFT, NVDA). Resolved to SEC CIK automatically. |
| `ciks` | array | SEC Central Index Keys, as an alternative or addition to tickers (e.g. 0000320193 or 320193). |
| `includeFinancials` | boolean | Fetch structured XBRL financials (income statement, balance sheet, cash flow) + computed metrics. Turn off for a firmographics-only run. |
| `maxAnnualYears` | integer | How many fiscal years of annual (10-K) financials to include per metric. |
| `maxQuarters` | integer | How many recent quarters of financials to include per metric. Set to 0 to skip quarterly series. |
| `includeFilings` | boolean | Add the list of recent SEC filings (10-K, 10-Q, 8-K, etc.) with direct links. |
| `maxFilings` | integer | Maximum number of recent filings to include per company. |
| `includeInsiderFilings` | boolean | Include insider transaction forms in the filings list. Off by default (they dominate the feed). |

### 📤 Output

One row per result, saved to the dataset. Every row carries `scrapedAt`. Lookups that cannot be completed are reported in the run log rather than silently dropped.

| Field | Description |
|---|---|
| `cik` | Cik |
| `name` | Name |
| `tickers` | Tickers |
| `exchanges` | Exchanges |
| `sic` | Sic |
| `sicDescription` | Sic Description |
| `ein` | Ein |
| `entityType` | Entity Type |
| `category` | Category |
| `fiscalYearEnd` | Fiscal Year End |
| `stateOfIncorporation` | State Of Incorporation |
| `formerNames` | Former Names |
| `phone` | Phone |
| `address` | Principal address |
| `source` | Source |
| `financials` | Financials |
| `computedMetrics` | Computed Metrics |
| `recentFilings` | Recent Filings |

### 💼 Use cases

**1. Equity research** — pull filers by industry with financials.
*Input:* tickers or names. *Output:* financials + filings. *Use:* a research table.

**2. Public-company targeting** — build a list of SEC filers by SIC.
*Input:* names. *Output:* filers + industry. *Use:* a target list.

**3. KYB / verification** — resolve a company to its CIK/ticker.
*Input:* name or ticker. *Output:* the EDGAR record. *Use:* confirm identity.

### 🔗 Integration

**JavaScript / Node.js**

```javascript
import { ApifyClient } from 'apify-client';
const client = new ApifyClient({ token: 'YOUR_TOKEN' });
const run = await client.actor('foxlabs/sec-edgar-financials').call({"tickers":["AAPL","MSFT"]});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(items[0]);
```

**Python**

```python
from apify_client import ApifyClient
client = ApifyClient('YOUR_TOKEN')
run = client.actor('foxlabs/sec-edgar-financials').call(run_input={"tickers":["AAPL","MSFT"]})
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)
```

Written for `apify-client` 3 for Python, where `call()` returns a run object; with version 1 or 2 it returns a dict — write `run['defaultDatasetId']` there.

**Automation (n8n / Zapier / Make):** schedule or webhook → HTTP request to the actor API with your input → handle the JSON dataset → push to a sheet, CRM or dashboard.

### 📊 Pricing

Pay-per-event: **per delivered record**. Empty or failed lookups are never billed. [View current pricing.](https://apify.com/foxlabs/sec-edgar-financials)

### ❓ FAQ

**Do I need an account, login or API key?** No. This reads SEC EDGAR company filings (official open data).

**What do I search by?** Company names, tickers or CIKs.

**How current is the data?** Every run queries the source live, so results are as fresh as the registry.

**What financials are included?** Key figures and filing metadata drawn from the company’s SEC filings (CIK, ticker, SIC industry, latest filings).

**Can I export to CSV / Excel / JSON?** Yes — directly from the Apify dataset.

### 🐛 Troubleshooting

- **Fewer rows than expected** — raise `the result cap`, or refine the input.
- **A name returns an unexpected entity** — it matched a similar registered name; search the exact registry ID.
- **No rows for a name** — try the entity’s exact legal name or its registry ID.

### ⚖️ Is it legal to scrape this data?

This actor reads public SEC EDGAR company filings. Results can still contain personal data (e.g. a person’s name); personal data is protected by the GDPR and similar laws, so only process it with a legitimate basis. See Apify’s blog post on the legality of web scraping.

### 🤝 Support & contact

- 🌐 **Website:** [data.foxlabs.com.tr](https://data.foxlabs.com.tr)
- 📧 **Email:** info@foxlabs.com.tr
- 🐛 **Issues:** open a ticket in the Actor’s **Issues** tab
- 🧰 **More clean B2B data actors:** [Fox Labs on Apify](https://apify.com/foxlabs)

### Changelog

#### 0.1.16 — 2026-10-08 — README: the Python example works with the current Apify client

- The README's Python example read the results with `run['defaultDatasetId']`. With the current Apify client for Python (version 3) `call()` returns a run object, not a dict, and that line raised `TypeError: 'Run' object is not subscriptable` — after the run itself had finished. The example now reads `run.default_dataset_id`; with client version 1 or 2, keep `run['defaultDatasetId']`. Checked with apify-client 3.2.1, 2.5.1 and 1.12.2.
- No code, output field or pricing change.

#### 0.1.15 — 2026-09-20 — README examples corrected against the real input schema

- **The README's code examples did not match this Actor.** They used `queries` and `maxResultsPerQuery` — keys that do not exist in this Actor's input schema — with a placeholder value, and the input table listed those same phantom fields. Anyone who copied the AI-agent, cURL, JavaScript or Python example got a failing run. Every example now uses the real schema and matches the Console prefill: `{"tickers":["AAPL","MSFT"]}`
- The input table is regenerated from `input_schema.json`, so it lists the fields the Actor actually accepts.
- Removed claims carried over from the same generator template where present: "formation / status monitoring", "a canonical registry record for KYB and due diligence", "every row carries `query`", and `industry` described as a NACE code.
- No code, output field or pricing change.

#### 0.1 — 2026-09-07

- **Dropped empty-promise columns.** Removed `website, investorWebsite` — SEC EDGAR company filings (official open data) does not carry them, so they were shipped as always-null columns. Only fields this source actually fills are now emitted.
- **Enabled AI-agent payments (x402) + rebuilt the README to the full standard** (What-is / when, AI-agents + x402 agentic payments + MCP, Overview, Features, Use cases, Integration, FAQ, Troubleshooting, Support & contact).

#### 0.0

- Initial release: data from SEC EDGAR company filings (official open data) by name or registry ID.

# Changelog

This Actor's version history is a separate document: https://apify.com/foxlabs/sec-edgar-financials/changelog.md

# Actor input Schema

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

Stock ticker symbols to look up (e.g. AAPL, MSFT, NVDA). Resolved to SEC CIK automatically.

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

SEC Central Index Keys, as an alternative or addition to tickers (e.g. 0000320193 or 320193).

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

Fetch structured XBRL financials (income statement, balance sheet, cash flow) + computed metrics. Turn off for a firmographics-only run.

## `maxAnnualYears` (type: `integer`):

How many fiscal years of annual (10-K) financials to include per metric.

## `maxQuarters` (type: `integer`):

How many recent quarters of financials to include per metric. Set to 0 to skip quarterly series.

## `includeFilings` (type: `boolean`):

Add the list of recent SEC filings (10-K, 10-Q, 8-K, etc.) with direct links.

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

Maximum number of recent filings to include per company.

## `includeInsiderFilings` (type: `boolean`):

Include insider transaction forms in the filings list. Off by default (they dominate the feed).

## Actor input object example

```json
{
  "tickers": [
    "AAPL",
    "MSFT"
  ],
  "ciks": [],
  "includeFinancials": true,
  "maxAnnualYears": 5,
  "maxQuarters": 8,
  "includeFilings": true,
  "maxFilings": 20,
  "includeInsiderFilings": false
}
```

# Actor output Schema

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

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

# Run the Actor and wait for it to finish
run = client.actor("foxlabs/sec-edgar-financials").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",
    "MSFT"
  ]
}' |
apify call foxlabs/sec-edgar-financials --silent --output-dataset

```

## MCP server setup

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

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/mKOxpKSEaNkjNZjcn/builds/dYnaQm2VZ6nthfLqH/openapi.json
