# SEC EDGAR Filings: filings, full-text search & XBRL (`subimpact/sec-edgar-filings`) Actor

SEC EDGAR filings as JSON for any US ticker or CIK: filing metadata, full-text search hits and XBRL financial facts straight from the official SEC APIs. No API key, no browser. $0.25 per 1,000 filings.

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

## Pricing

from $0.18 / 1,000 filing rows

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 Filings: filings, full-text search and XBRL as JSON

Collect U.S. SEC EDGAR data straight from the official SEC JSON APIs, with no API key, no browser and no proxy
needed: filing metadata for any ticker or CIK, EDGAR full-text search hits for a phrase, and structured XBRL
financial facts. One row per filing and one row per data point, delivered as soon as it is built.

Pay only for what you get: **$0.25 per 1,000 filings**. A default run (25 filings for AAPL) costs about **$0.006**,
with Apify platform usage included.

### What you get

- **Three modes, one actor.** `company_filings` (default) lists a company's filings from EDGAR's submissions API,
  `fulltext_search` searches the text of filings and exhibits from 2001 onwards, `xbrl_facts` returns the numbers
  a filer reported to the SEC in XBRL.
- **Any ticker or CIK.** `AAPL`, `msft`, `0000320193`, `320193` and `CIK0000320193` all resolve through SEC's own
  ticker file. Unknown entries become their own free error row, so one typo never loses the run.
- **Filing rows carry what buyers actually join on**: `cik`, `companyName`, `tickers`, `exchanges`, `sic`,
  `formType`, `filingDate`, `reportDate`, `acceptanceDateTime`, `accessionNumber`, `items`, `primaryDocument`,
  `documentSizeBytes`, `isXBRL`, `isInlineXBRL`, plus ready `filingIndexUrl` and `primaryDocumentUrl` links built
  from the accession number. Form 3/4/5 `xslF345X06/` prefixes are stripped, so the URL points at the real XML.
- **Full-text hits** add `matchedFilename` (the exhibit or document inside the filing that contains the phrase),
  `matchedScore` and `matchedSequence`.
- **XBRL facts** give one row per reported data point: `xbrlConcept`, `xbrlUnit`, `xbrlValue`, `xbrlPeriodStart`,
  `xbrlPeriodEnd`, `xbrlFiscalYear`, `xbrlFiscalPeriod`, `xbrlForm`, `xbrlFiled`, `xbrlAccessionNumber`,
  `xbrlFrame`, deduplicated on accession, concept, unit, period end and value.
- **Optional document text**: `includeDocumentText` fetches each primary document and adds its plain text
  (scripts, styles, inline-XBRL headers and tags removed, whitespace collapsed), truncated at `maxDocumentChars`
  with `documentTextTruncated: true` on rows that were cut.
- **Filters that save money**: `forms`, `startDate`, `endDate`, `maxResults` (a global cap across every company
  and row kind), and `includeHistoricalSubmissions` for company histories that reach back to 1994.

### Quick start

Input that works exactly as written:

```json
{
  "tickersOrCiks": ["AAPL", "MSFT"],
  "forms": ["10-K", "10-Q"],
  "startDate": "2024-01-01",
  "maxResults": 50
}
```

Search the text of every 10-K filed in a date window:

```json
{
  "mode": "fulltext_search",
  "query": "\"artificial intelligence\"",
  "forms": ["10-K"],
  "startDate": "2025-01-01",
  "endDate": "2025-03-01",
  "maxResults": 50
}
```

Pull two concepts of XBRL history for one filer:

```json
{
  "mode": "xbrl_facts",
  "tickersOrCiks": ["AAPL"],
  "xbrlConcepts": ["Assets", "NetIncomeLoss"],
  "maxResults": 40
}
```

An empty `{}` input runs `company_filings` for AAPL and delivers 25 filing rows.

### Output example

A filing row for Apple's 2026 10-K, built from the values the SEC publishes:

```json
{
  "recordKind": "filing",
  "cik": "0000320193",
  "companyName": "Apple Inc.",
  "tickers": ["AAPL"],
  "exchanges": ["Nasdaq"],
  "sic": "3571",
  "sicDescription": "Electronic Computers",
  "stateOfIncorporation": "CA",
  "fiscalYearEnd": "0925",
  "accessionNumber": "0000320193-26-000026",
  "formType": "10-K",
  "filingDate": "2026-11-03",
  "reportDate": "2026-09-26",
  "acceptanceDateTime": "2026-11-03T13:05:15.000Z",
  "act": "34",
  "fileNumber": "001-36743",
  "filmNumber": "261514222",
  "items": null,
  "primaryDocument": "aapl-20260926.htm",
  "primaryDocDescription": "10-K",
  "documentSizeBytes": 10902198,
  "isXBRL": true,
  "isInlineXBRL": true,
  "filingIndexUrl": "https://www.sec.gov/Archives/edgar/data/320193/000032019326000026/0000320193-26-000026-index.html",
  "primaryDocumentUrl": "https://www.sec.gov/Archives/edgar/data/320193/000032019326000026/aapl-20260926.htm",
  "scrapedAt": "2026-11-23T09:14:02.118Z"
}
```

An XBRL fact row (Apple's most recent balance-sheet total):

```json
{
  "recordKind": "xbrl_fact",
  "cik": "0000320193",
  "companyName": "Apple Inc.",
  "xbrlConcept": "Assets",
  "xbrlConceptLabel": "Assets",
  "xbrlUnit": "USD",
  "xbrlValue": 404548000000,
  "xbrlPeriodStart": null,
  "xbrlPeriodEnd": "2026-09-26",
  "xbrlFiscalYear": 2026,
  "xbrlFiscalPeriod": "FY",
  "xbrlForm": "10-K",
  "xbrlFiled": "2026-11-03",
  "xbrlAccessionNumber": "0000320193-26-000026",
  "xbrlFrame": "CY2026Q3I",
  "scrapedAt": "2026-11-23T09:14:07.402Z"
}
```

A full-text hit (`recordKind: "fulltext_hit"`) carries the same company fields plus `matchedFilename`,
`matchedScore` and `matchedSequence`. An entry or request that could not be read becomes
`{"recordKind": "error", "inputValue": "...", "error": "..."}` and is free.

### Pricing

| Event | When it is charged | Free plan | Bronze | Silver | Gold |
|---|---|---|---|---|---|
| `filing` | one filing row or full-text hit delivered | $0.25 / 1,000 | $0.22 / 1,000 | $0.20 / 1,000 | $0.18 / 1,000 |
| `xbrl-fact` | one XBRL data point delivered | $0.10 / 1,000 | $0.09 / 1,000 | $0.08 / 1,000 | $0.07 / 1,000 |
| `document-text` | one filing whose primary document was fetched and whose text was delivered | $1.00 / 1,000 | $0.90 / 1,000 | $0.80 / 1,000 | $0.70 / 1,000 |

Rows are charged only after they are pushed. Error rows are never charged, and there is no separate start fee
beyond Apify's minimum actor start event. Apify platform usage (compute, and proxy if you switch one on) is
included in these prices. A default run of 25 filing rows costs about $0.006.

`document-text` is charged on top of the `filing` event, and only when the text came back non-empty: a document
that could not be read yields the filing row plus a free error row.

### How this compares

SEC EDGAR is the original source, so every actor in this market reads the same filings; the differences are what
each one returns per row, what it charges, and whether it needs a proxy. This actor returns filing metadata,
full-text hits and XBRL facts from the official SEC JSON APIs over plain HTTP with no proxy by default, and it
charges one event per delivered row with no start fee.

| Actor | Price per 1,000 filings (Free plan) | Platform usage |
|---|---|---|
| SEC EDGAR Filings: filings, full-text search and XBRL (this actor) | $0.25 | Included |
| [SEC EDGAR Scraper](https://apify.com/constructive_calm/sec-edgar-scraper) | $0.40 + $0.01 per run start | See listing |
| [SEC EDGAR Scraper](https://apify.com/autofacts/sec-edgar-scraper) | $1.00 | See listing |
| [SEC EDGAR Scraper](https://apify.com/chorelet/sec-edgar-scraper) | $1.00 | See listing |

Prices are Apify Store list prices on the Free plan, checked 23 November 2026. Competitor prices, events and
included features can change; check their listings.

### Limits and good to know

- **SEC fair access.** The SEC allows 10 requests per second across all your machines and asks automated clients
  to declare a contact address. This actor sends
  `User-Agent: subimpact sec-edgar-filings actor <contactEmail or its own address>`, paces every request through
  one limiter (default `maxRequestsPerSecond: 5`, maximum 8) and retries 429/503/5xx and network errors three
  times with backoff, honouring `Retry-After`. A 403 "Undeclared Automated Tool" becomes a free error row with the
  SEC's own wording.
- **Full-text search is capped at 10,000 results** by EDGAR's search backend. The actor pages in steps of 100 and
  stops at offset 9,900; when a query matches more, the run finishes normally and the status message tells you to
  narrow the dates or forms. Only filings from 2001 onwards are in the full-text index.
- **Submissions history.** EDGAR's submissions API keeps about 1,000 recent filings per company. Older filings are
  read only when you ask (`includeHistoricalSubmissions: true`) or when `startDate` is older than the oldest
  recent filing, and only while rows are still needed.
- **XBRL is us-gaap only.** Tags are taken from the `us-gaap` taxonomy (`dei`, `srt` and `ifrs-full` are not
  exposed). Up to 10 tags costs one small request per tag; more than 10 reads the filer's full company-facts file.
  A tag a filer never reported becomes a free error row naming the concept.
- **Filters are inclusive.** `startDate` and `endDate` compare against the filing date in `YYYY-MM-DD` form. In
  `company_filings` mode a form filter also matches amendments (`10-K` matches `10-K/A`).
- **Proxies are off by default.** SEC JSON endpoints answer direct requests without a challenge, and the SEC
  rate-limits by IP address. If you switch a proxy on, keep `maxRequestsPerSecond` low: rotating proxies to get
  past the SEC's fair-access policy is not allowed and will get the run blocked.
- **Responsible use.** SEC filings are public records that the SEC says are free to access and reuse. Names,
  addresses and contact details of officers and insiders appear in Form 3/4/5 and Form D filings; if you store
  those in the EU, treat them as personal data under the usual public-register rules. Nothing here is investment
  advice, and this actor is not affiliated with or endorsed by the SEC.

### Run monitoring and privacy

If a run fails or times out, this Actor tells its developer the run ID and status, so we can fix problems fast. It never sends your input, your results or your account data.

# Actor input Schema

## `mode` (type: `string`):

What to collect. company_filings: filing metadata for each company. fulltext_search: EDGAR full-text search hits for a phrase. xbrl_facts: structured XBRL financial facts.

## `tickersOrCiks` (type: `array`):

Companies to collect. Tickers are case-insensitive (AAPL, msft); CIKs work with or without leading zeros (0000320193 or 320193, an optional CIK prefix is fine). Leave empty in company_filings or xbrl_facts mode to default to AAPL. In fulltext_search mode an empty list searches every filer. An unknown ticker or CIK becomes its own free error row and the run continues.

## `query` (type: `string`):

EDGAR full-text search query, required when mode is fulltext_search and ignored otherwise. Quoted phrases work: "artificial intelligence". Searches the text of filings and exhibits from 2001 onwards.

## `xbrlConcepts` (type: `array`):

us-gaap tags to collect in xbrl_facts mode, e.g. Assets, Revenues, NetIncomeLoss, EarningsPerShareDiluted. A us-gaap: prefix is accepted. Empty means Assets, Revenues and NetIncomeLoss. Up to 10 tags uses one request per tag; more than 10 uses the filer's full company-facts file.

## `forms` (type: `array`):

Only keep these form types, e.g. 10-K, 10-Q, 8-K, 4, S-1. Empty means every form. In company_filings mode a form also matches its amendments (10-K matches 10-K/A). In fulltext_search mode the value is passed to EDGAR as a root form filter.

## `startDate` (type: `string`):

Optional filing date lower bound in YYYY-MM-DD form, e.g. 2025-01-01. Leave empty for no lower bound.

## `endDate` (type: `string`):

Optional filing date upper bound in YYYY-MM-DD form, e.g. 2025-12-31. Leave empty for no upper bound.

## `includeDocumentText` (type: `boolean`):

Fetch each filing's primary document and add its plain text (HTML/XML stripped, whitespace collapsed). Costs one extra SEC request and one extra charge per filing.

## `maxDocumentChars` (type: `integer`):

Truncate extracted document text to this many characters. Rows that were cut get documentTextTruncated: true.

## `includeHistoricalSubmissions` (type: `boolean`):

Also read EDGAR's older submission files, which reach back to 1994. Only needed for very long filing histories or dates before about 2015; those files are fetched only when more rows are still needed.

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

Global cap on delivered rows across every company and every row kind in one run. Defaults to 25 to keep a first run cheap; raise it once you know what you need.

## `maxRequestsPerSecond` (type: `integer`):

Request rate for all SEC hosts combined. The SEC allows 10 requests per second and asks every client to declare a contact; this actor defaults to 5 and refuses to go above 8. Slower is safer for scheduled runs.

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

Optional email address that is put in the User-Agent header the SEC asks automated clients to send, so the SEC can reach you instead of blocking the request. Defaults to the actor's own contact address.

## `proxyConfiguration` (type: `object`):

Optional. The SEC rate-limits by IP address and allows direct access, so a proxy is off by default. If you switch one on, keep maxRequestsPerSecond low: rotating proxies to get past the SEC's fair-access policy is not allowed.

## Actor input object example

```json
{
  "mode": "company_filings",
  "tickersOrCiks": [
    "AAPL",
    "MSFT"
  ],
  "xbrlConcepts": [
    "Assets",
    "Revenues"
  ],
  "includeDocumentText": false,
  "maxDocumentChars": 200000,
  "includeHistoricalSubmissions": false,
  "maxResults": 25,
  "maxRequestsPerSecond": 5,
  "proxyConfiguration": {
    "useApifyProxy": false
  }
}
```

# Actor output Schema

## `filings` (type: `string`):

One dataset item per filing, full-text hit or XBRL data point, plus free error rows for entries or requests that could not be read.

# 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 = {
    "tickersOrCiks": [
        "AAPL",
        "MSFT"
    ],
    "xbrlConcepts": [
        "Assets",
        "Revenues"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("subimpact/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 = {
    "tickersOrCiks": [
        "AAPL",
        "MSFT",
    ],
    "xbrlConcepts": [
        "Assets",
        "Revenues",
    ],
}

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

```

## MCP server setup

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