# SEC EDGAR Full-Text Search Scraper (`brightpath-data/sec-edgar-full-text-search`) Actor

Investors, researchers and compliance teams get SEC filings that mention a specific term as flat, structured records, instead of paging through EDGAR by hand.

- **URL**: https://apify.com/brightpath-data/sec-edgar-full-text-search.md
- **Developed by:** [Nick Randall](https://apify.com/brightpath-data) (community)
- **Categories:** AI, News
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $2.00 / 1,000 filing hits

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 Full-Text Search Scraper

Investors, researchers and compliance teams get SEC filings that mention a specific term as flat, structured records, instead of paging through EDGAR's search UI by hand. Filter by form type, date range or company and export results ready for analysis.

Get structured filing search results from SEC EDGAR as JSON, CSV or Excel, or call it as a tool from Claude, Cursor, ChatGPT or any MCP client. Built on the official EDGAR full-text search API that powers the search box at sec.gov/edgar/search, so it does not break when the website changes. Pay only for the filings you receive.

### What you get

One record per matching filing document with company identity, form and dates: entity name, ticker and CIK (parsed from the filer line), all CIKs and display names on the filing, form type and root form, filing date and period ending, file type and description, business location, state and state of incorporation, SIC industry code, file number, document sequence, and ready-to-open links to both the filing document and its EDGAR filing index.

Every result is a flat record with stable field names, so it drops straight into a spreadsheet, a database or an AI agent's context.

### Why use this instead of the website

- Combine a keyword or exact phrase with form type, date range, CIK and entity name filters in one call
- Pagination handled for you, with automatic retries and fair-access pacing
- Direct links built for you, no manual accession-number math
- Results in JSON, CSV, Excel or via API, or piped into Zapier, Make, n8n and Google Sheets
- Works as an MCP tool, so AI agents can search filings on demand
- No browser, no proxies, no personal data: fast runs and a tiny cost per result

### Input

| Field | Type | Default | Meaning |
|-------|------|---------|---------|
| `query` | string | (required) | Search text. Multi-word phrases are auto-quoted for an exact match; quote it yourself to control this. |
| `forms` | array | all | Form types to include, e.g. `8-K`, `10-K`, `10-Q`, `S-1`, `13F-HR`, `DEF 14A` |
| `startDate` | date | 12 months ago | Only filings filed on or after this date |
| `endDate` | date | today | Only filings filed on or before this date |
| `ciks` | array | | Only filings from these filer CIK numbers |
| `entityName` | string | | Only filings from a company or person matching this name |
| `maxResults` | integer | 100 | Cap on filings saved. You are charged per filing, so this caps your cost. |

Example input:

```json
{
  "query": "climate change",
  "forms": ["8-K"],
  "startDate": "2024-01-01",
  "endDate": "2024-02-01",
  "maxResults": 100
}
```

### Output

Sample rows from a live run:

| entity | form | filed | ticker |
|---|---|---|---|
| DANAHER CORP /DE/ | 8-K | 2024-01-08 | DHR |
| EOG RESOURCES INC | 8-K | 2024-01-11 | EOG |
| DANAHER CORP /DE/ | 8-K | 2024-01-08 | DHR |

Full example result:

```json
{
  "id": "0000313616-24-000004:ex991pre-selecteddanaher.htm",
  "adsh": "0000313616-24-000004",
  "form": "8-K",
  "rootForms": ["8-K"],
  "fileDate": "2024-01-08",
  "periodEnding": "2024-01-08",
  "entityName": "DANAHER CORP /DE/",
  "ticker": "DHR",
  "cik": "0000313616",
  "ciks": ["0000313616"],
  "displayNames": ["DANAHER CORP /DE/ (DHR) (CIK 0000313616)"],
  "fileType": "EX-99.1PRE",
  "fileDescription": "EX-99.1PRE",
  "bizLocations": ["Washington, DC"],
  "bizStates": ["DC"],
  "incStates": ["DE"],
  "sics": ["3823"],
  "fileNum": ["001-08089"],
  "sequence": 3,
  "filingUrl": "https://www.sec.gov/Archives/edgar/data/313616/000031361624000004/ex991pre-selecteddanaher.htm",
  "indexUrl": "https://www.sec.gov/Archives/edgar/data/313616/000031361624000004/"
}
```

Field reference: `id`, `adsh`, `form`, `rootForms[]`, `fileDate`, `periodEnding`, `entityName`, `ticker`, `cik`, `ciks[]`, `displayNames[]`, `fileType`, `fileDescription`, `bizLocations[]`, `bizStates[]`, `incStates[]`, `sics[]`, `fileNum[]`, `sequence`, `filingUrl`, `indexUrl`. `entityName`, `ticker` and `cik` are parsed from the first `displayNames` entry; `ticker` is `null` when EDGAR has none on file (common for individuals and older filers).

### Pricing

Pay per event. You are charged **$2.00 per 1,000 filings** saved to the dataset, plus a fraction of a cent per run start. Nothing is charged for results you do not receive. Set "Max total charge per run" in the run options to cap spending on any run. When a run reaches your cap it stops cleanly and keeps everything it already saved.

Rough guide: 1,000 filings cost $2.00 and take about 15 seconds.

### Use it from an AI agent (MCP)

This Actor is available as an MCP tool through the Apify MCP server. Add it to your client, then ask the agent for the data in plain language.

Claude Desktop, Claude Code or Cursor (`mcp.json` / `claude_desktop_config.json`):

```json
{
  "mcpServers": {
    "apify": {
      "url": "https://mcp.apify.com/?actors=brightpath-data/sec-edgar-full-text-search",
      "headers": { "Authorization": "Bearer YOUR_APIFY_TOKEN" }
    }
  }
}
```

ChatGPT and other clients that support remote MCP servers: add `https://mcp.apify.com/?actors=brightpath-data/sec-edgar-full-text-search` as a connector with your Apify token.

Example prompt once connected: "Find 8-K filings from the last month that mention 'material cybersecurity incident' and list the company, ticker and filing date."

### Use it from code

```bash
curl -X POST "https://api.apify.com/v2/acts/brightpath-data~sec-edgar-full-text-search/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"query":"climate change","forms":["8-K"],"maxResults":100}'
```

Python:

```python
from apify_client import ApifyClient
client = ApifyClient("YOUR_APIFY_TOKEN")
run = client.actor("brightpath-data/sec-edgar-full-text-search").call(run_input={"query": "climate change", "forms": ["8-K"], "maxResults": 100})
items = client.dataset(run["defaultDatasetId"]).list_items().items
```

### Limits and fair use

- SEC EDGAR full-text search covers filings from 2001 onward and returns at most 10,000 hits per query; narrow the date range or form types for queries that match more.
- Requests are paced at one every 500 milliseconds (well under the SEC's fair-access limit of 10 requests per second) and identify themselves with a descriptive User-Agent, as SEC's fair access policy requires.
- Up to 10,000 filings per run.

### Data source and legal

Data comes from SEC EDGAR, the public filing system of the U.S. Securities and Exchange Commission, through its official full-text search endpoint (`efts.sec.gov/LATEST/search-index`), the same one used by the search box at sec.gov/edgar/search. SEC filings are U.S. government records in the public domain. This Actor sends a descriptive User-Agent and paces requests under SEC's fair access policy, and does not bypass logins, paywalls or access controls. You are responsible for how you use the data.

### Support

Found a problem or need a field added? Open an issue on the Actor's Issues tab. Fixes for broken runs are prioritized.

# Actor input Schema

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

Text to search for across filing documents. Multi-word phrases are wrapped in quotes automatically for an exact-phrase match; wrap in quotes yourself to control this.

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

Only include these SEC form types, e.g. 8-K, 10-K, 10-Q, S-1, 13F-HR, DEF 14A. Leave empty for all forms.

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

Only filings filed on or after this date. Defaults to 12 months before today.

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

Only filings filed on or before this date. Defaults to today.

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

Only include filings from these filer CIK numbers, e.g. 0000320193.

## `entityName` (type: `string`):

Only include filings from a company or person matching this name.

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

Maximum number of filings to save. You are charged per filing saved, so this also caps the cost of a run. SEC EDGAR full-text search returns at most 10,000 matches per query.

## Actor input object example

```json
{
  "query": "climate change",
  "maxResults": 100
}
```

# Actor output Schema

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

The dataset with one flat record per result. Append ?format=csv or ?format=xlsx to the URL for other formats.

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

OUTPUT record in the key-value store: counts of results pushed and charged, requests, retries and duration.

# 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 = {
    "query": "climate change"
};

// Run the Actor and wait for it to finish
const run = await client.actor("brightpath-data/sec-edgar-full-text-search").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 = { "query": "climate change" }

# Run the Actor and wait for it to finish
run = client.actor("brightpath-data/sec-edgar-full-text-search").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 '{
  "query": "climate change"
}' |
apify call brightpath-data/sec-edgar-full-text-search --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,brightpath-data/sec-edgar-full-text-search"
        }
    }
}
```

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/9r4SeCiPHz7eoHPXc/builds/2zhYwDjRJVOEYd9gP/openapi.json
