# SEC EDGAR API — filings & financials (no key) (`synthetic.ia/sec-edgar-api`) Actor

Company filings and XBRL financial facts for every SEC filer — lookup, filings, fundamentals, one-metric history and cross-company frames. Official SEC data, no API key. Clean HTTP API + MCP. Pay per query.

- **URL**: https://apify.com/synthetic.ia/sec-edgar-api.md
- **Developed by:** [Synthetic](https://apify.com/synthetic.ia) (community)
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $4.00 / 1,000 edgar queries

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
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 API — company filings & XBRL financials (no key)

Turn the U.S. **SEC EDGAR** database into a clean HTTP API (and MCP tool): resolve a ticker to a company, list its **filings** with ready-to-open document links, pull **fundamentals** from standardized XBRL data, chart **one metric over time**, or compare **one metric across every filer** for a period. Official government data, **no API key**, one price per query.

- 🔎 **Lookup** — ticker or company name → CIK (Apple → `0000320193`).
- 🗂️ **Filings** — the latest 10-K, 10-Q, 8-K, Form 4, S-1… with `filingIndexUrl` + `primaryDocumentUrl` you can open or fetch directly.
- 📊 **Facts** — a curated set of fundamentals (revenue, gross profit, operating & net income, EPS, assets, liabilities, equity, cash, shares outstanding), each at its latest reported value — or the **full** XBRL fact set.
- 📈 **Concept** — the full time series of any XBRL tag (e.g. `NetIncomeLoss`) for a company.
- 🌐 **Frames** — one concept across **all** filers for a period (e.g. total `Assets`, `CY2022Q4`) — instant peer screening.
- 💵 Pay per query · no key · official SEC data.

### The use case it was built for

Fundamentals and filings are the highest-value, hardest-to-parse data for finance agents and retail-trading tools — and SEC EDGAR is the authoritative, free source, but its raw JSON is awkward (10-digit CIKs, parallel arrays, XBRL taxonomies, frame period codes). This Actor does the parsing so your agent doesn't: give it a ticker, get back clean, typed JSON. Pair it with our [Yahoo Finance API](https://apify.com/synthetic.ia/yahoo-finance-api) for prices and this one for the underlying financials and disclosures.

### Sample output (`facts`, AAPL)

```json
{
  "cik": "0000320193", "company": "Apple Inc.", "mode": "compact", "count": 15,
  "metrics": [
    { "concept": "NetIncomeLoss", "label": "Net Income (Loss)", "value": 101464000000, "unit": "USD",
      "end": "2026-06-27", "fy": 2026, "fp": "Q3", "form": "10-Q", "filed": "2026-07-31" },
    { "concept": "Assets", "value": 331612000000, "unit": "USD", "end": "2026-06-27", "form": "10-Q" }
  ]
}
```

### How to use

- **As an HTTP API (Standby):** POST or GET to `/lookup`, `/filings`, `/facts`, `/concept`, `/frames`. `GET /` returns help. Example: `GET /filings?ticker=AAPL&formType=10-K&limit=5`.
- **As a normal run / daily job:** pass `{ operation, ... }` as input; the result is stored in the dataset and key-value store.
- **As an MCP tool:** expose it to your agent through Apify's MCP server and let the model call it by name.

### Input

- **operation** — `lookup` · `filings` · `facts` · `concept` · `frames`.
- **ticker** / **cik** — the company (ticker like `AAPL`, or a numeric CIK). `lookup` also takes **q** for name search.
- **formType** — (filings) keep only these forms, e.g. `10-K`, `8-K`, `4`.
- **concept** / **concepts** — XBRL tag(s) for `concept` / `facts`, e.g. `Revenues`, `NetIncomeLoss`.
- **taxonomy** — `us-gaap` (default), `dei`, `ifrs-full`, `srt`…
- **unit / year / quarter / instantaneous** — (frames) e.g. `USD`, `2023`, `4`, and `instantaneous:true` for balance-sheet metrics.
- **limit / full** — cap rows; `full:true` returns the entire fact set.

### Pricing

**Per query** from **$0.01** (drops to $0.003 on higher tiers). One successful `lookup`, `filings`, `facts`, `concept` or `frames` call = one query. Platform usage included; this is lightweight (pure HTTPS, no proxy/browser).

### Related Actors

- **[Yahoo Finance API](https://apify.com/synthetic.ia/yahoo-finance-api)** — real-time quotes, OHLCV, search, fundamentals for stocks, ETFs, crypto and FX.
- **[CoinGecko Crypto API](https://apify.com/synthetic.ia/coingecko-crypto)** — crypto prices, markets and charts.

### FAQ

**Do I need an SEC key?** No. SEC EDGAR is keyless; this Actor identifies itself with the User-Agent SEC asks for.

**Which companies are covered?** Every filer in SEC EDGAR — all U.S. public companies (and foreign private issuers that file). Lookup by ticker or by name.

**Why does `Revenues` sometimes show an old date?** Companies migrate between XBRL tags over time; each concept returns *its own* latest reported value. For current top-line revenue, also check `RevenueFromContractWithCustomerExcludingAssessedTax`.

**Is this investment advice?** No. It returns official disclosures and standardized financial data as-is; how you use it is your responsibility.

### Notes & limits

Data comes from SEC EDGAR (`data.sec.gov`). XBRL facts are as-filed and can be restated; some smaller filers tag inconsistently. SEC applies fair-access rate limits, which this Actor respects.

# Changelog

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

# Actor input Schema

## `operation` (type: `string`):

What to fetch.

## `ticker` (type: `string`):

Company ticker for lookup / filings / facts / concept, e.g. AAPL, MSFT, BRK.B.

## `cik` (type: `string`):

SEC Central Index Key (digits, zero-padding optional). Use instead of ticker if you have it.

## `q` (type: `string`):

For operation=lookup with no ticker: search companies by name, e.g. "tesla".

## `formType` (type: `array`):

For filings: keep only these forms, e.g. 10-K, 10-Q, 8-K, 4, S-1. Empty = all.

## `concept` (type: `string`):

XBRL element name, e.g. Revenues, NetIncomeLoss, Assets, EarningsPerShareDiluted.

## `concepts` (type: `array`):

For facts: return only these XBRL concepts. Empty = a curated fundamentals set.

## `taxonomy` (type: `string`):

XBRL taxonomy for facts / concept / frames.

## `unit` (type: `string`):

Unit of measure. For frames it is required in the path: USD, USD-per-shares (EPS), shares, pure.

## `year` (type: `integer`):

For frames: the calendar year, e.g. 2023.

## `quarter` (type: `integer`):

For frames: 1-4 for a quarterly period; empty = full-year (annual).

## `instantaneous` (type: `boolean`):

For frames on balance-sheet (point-in-time) metrics like Assets with a quarter set. Leave off for flows (income/cash-flow).

## `full` (type: `boolean`):

For facts: return the entire XBRL company-facts object (large) instead of the compact curated set.

## `limit` (type: `integer`):

Max rows to return (filings ≤100, concept ≤500, frames ≤500, lookup ≤100).

## Actor input object example

```json
{
  "operation": "facts",
  "ticker": "AAPL",
  "taxonomy": "us-gaap",
  "instantaneous": false,
  "full": false
}
```

# Actor output Schema

## `result` (type: `string`):

The query result JSON.

## `runs` (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 = {
    "ticker": "AAPL"
};

// Run the Actor and wait for it to finish
const run = await client.actor("synthetic.ia/sec-edgar-api").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 = { "ticker": "AAPL" }

# Run the Actor and wait for it to finish
run = client.actor("synthetic.ia/sec-edgar-api").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 '{
  "ticker": "AAPL"
}' |
apify call synthetic.ia/sec-edgar-api --silent --output-dataset

```

## MCP server setup

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

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/0MWgis6uYAj0JW7yg/builds/VP2w7rx1S7UTsedjR/openapi.json
