# SEC EDGAR Full-Text Search — Search All Filings by Keyword (`parkero/sec-fulltext-search`) Actor

Search the full text of every SEC EDGAR filing by keyword. Find 10-K, 10-Q, 8-K and all other filings mentioning any term — company, product, risk factor, or person — with filing dates and direct document URLs. Official SEC full-text search API. No API key.

- **URL**: https://apify.com/parkero/sec-fulltext-search.md
- **Developed by:** [parker odam](https://apify.com/parkero) (community)
- **Categories:** Business, Developer tools
- **Features:** Limited permissions
- **Stats:** 3 total users, 2 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-usage

## 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 Full Text Search API — Search SEC Filings by Keyword

Search all SEC EDGAR filings by keyword using the official EDGAR full-text search API (EFTS). Find any company that mentions a specific term, phrase, or topic in their 10-K, 10-Q, 8-K, proxy statements, or any other SEC filing.

### What It Does

This actor calls the SEC EDGAR full text search endpoint (`efts.sec.gov`) which indexes the full text of every document ever filed with the SEC. Unlike the EDGAR company search (which only searches by company name), this actor lets you search SEC filings by keyword — the actual content of the documents.

**Use cases:**

- **Investment research**: Find all 10-K filings that disclose exposure to a specific risk (e.g., "climate risk", "supply chain disruption", "PFAS")
- **Competitive intelligence**: Search which competitors mention your company by name in their filings
- **Due diligence**: Find all filings discussing a specific contract, litigation, or regulatory issue
- **Legal research**: Locate filings referencing specific legal cases, settlements, or regulations
- **Academic research**: Track how disclosure language evolves over time for any topic
- **ESG screening**: Find companies with specific environmental, social, or governance disclosures

### Input

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `query` | string | Yes | Full-text search query. Use quotes for phrases: `"climate risk"`. Supports AND, OR, NOT. |
| `forms` | string\[] | No | Filter by form type: `["10-K"]`, `["10-K", "10-Q"]`. Leave empty for all forms. |
| `startDate` | string | No | Only filings on or after this date (YYYY-MM-DD). |
| `endDate` | string | No | Only filings on or before this date (YYYY-MM-DD). |
| `ciks` | string\[] | No | Filter by specific CIK numbers (SEC company identifiers). |
| `maxResults` | integer | No | Maximum results to return (default: 100, max: 10000). |
| `userAgent` | string | No | Your app name + contact email (required by SEC policy). |

**Example input:**

```json
{
  "query": "artificial intelligence",
  "forms": ["10-K"],
  "startDate": "2023-01-01",
  "maxResults": 50,
  "userAgent": "my-research-tool/1.0 researcher@example.com"
}
```

### Output

Each result is a `FilingHit` object:

| Field | Type | Description |
|-------|------|-------------|
| `query` | string | The search query that produced this hit |
| `company` | string | Filer company / entity name |
| `cik` | string | SEC Central Index Key (10-digit, zero-padded) |
| `formType` | string | Specific document type (e.g., "10-K", "EX-99.1") |
| `rootFormType` | string? | Parent filing type (e.g., "10-K" for an exhibit) |
| `filingDate` | string | Date filed (ISO YYYY-MM-DD) |
| `periodEnding` | string? | Reporting period end date (ISO YYYY-MM-DD) |
| `accessionNumber` | string | Unique SEC accession number (e.g., "0001018724-26-000004") |
| `documentUrl` | string | Direct URL to the matched document on sec.gov |
| `fileDescription` | string? | Human-readable document description |

**Example output record:**

```json
{
  "query": "artificial intelligence",
  "company": "AMAZON COM INC",
  "cik": "0001018724",
  "formType": "10-K",
  "rootFormType": "10-K",
  "filingDate": "2026-02-06",
  "periodEnding": "2025-12-31",
  "accessionNumber": "0001018724-26-000004",
  "documentUrl": "https://www.sec.gov/Archives/edgar/data/1018724/000101872426000004/amzn-20251231.htm",
  "fileDescription": "10-K"
}
```

### SEC User-Agent Requirement

The SEC requires all programmatic access to include a descriptive `User-Agent` header with a contact email. Without it, requests may be rejected with HTTP 403. Set the `userAgent` input to something like:

```
my-company-tool/1.0 developer@mycompany.com
```

See: [SEC Webmaster FAQ for Developers](https://www.sec.gov/os/webmaster-faq#developers)

### Rate Limits

The SEC allows up to 10 requests per second. This actor stays well within that limit using a 120ms minimum interval between requests.

### Notes

- The EFTS API can return 10,000+ results for broad queries. Use `maxResults` to cap the output.
- Results are ordered by relevance score (BM25), not by date. Use `startDate`/`endDate` to narrow by time.
- `formType` reflects the specific document within a filing (e.g., "EX-99.1"), while `rootFormType` reflects the parent filing type (e.g., "10-K"). Filter by `forms` input to restrict to a specific root form type.
- `documentUrl` points directly to the matched HTML/text document. Some older filings may return 404 if the document was later amended.

# Actor input Schema

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

Full-text search query. Searches the text content of all SEC filings. Wrap phrases in quotes for exact matches e.g. "climate risk". Supports Boolean operators: AND, OR, NOT.

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

Only return documents from these SEC form types. Leave empty to search across all form types. Common values: 10-K (annual report), 10-Q (quarterly), 8-K (current report), DEF 14A (proxy statement), S-1 (IPO registration).

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

Only return filings submitted on or after this date (ISO format: YYYY-MM-DD). Leave blank for no lower bound.

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

Only return filings submitted on or before this date (ISO format: YYYY-MM-DD). Leave blank for no upper bound.

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

Only return filings from these specific CIK (Central Index Key) numbers. Leave empty to search across all SEC filers. Example: \["0001018724"] for Amazon.

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

Maximum total number of matching documents to return. The EFTS API returns results in pages of 10, so this controls how many pages are fetched. Default: 100.

## `userAgent` (type: `string`):

User-Agent string sent with every request to SEC EDGAR. The SEC's fair-access policy REQUIRES a descriptive User-Agent that identifies your tool and includes a contact email address. Requests without a proper User-Agent may be rejected with HTTP 403. Format: 'YourToolName/1.0 contact@yourdomain.com'. See https://www.sec.gov/os/webmaster-faq#developers

## Actor input object example

```json
{
  "query": "climate risk",
  "forms": [
    "10-K"
  ],
  "startDate": "2020-01-01",
  "endDate": "2024-12-31",
  "maxResults": 100,
  "userAgent": "my-sec-search-app/1.0 your-email@example.com"
}
```

# 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 risk",
    "forms": [
        "10-K"
    ],
    "maxResults": 100,
    "userAgent": "my-sec-search-app/1.0 your-email@example.com"
};

// Run the Actor and wait for it to finish
const run = await client.actor("parkero/sec-fulltext-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 risk",
    "forms": ["10-K"],
    "maxResults": 100,
    "userAgent": "my-sec-search-app/1.0 your-email@example.com",
}

# Run the Actor and wait for it to finish
run = client.actor("parkero/sec-fulltext-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 risk",
  "forms": [
    "10-K"
  ],
  "maxResults": 100,
  "userAgent": "my-sec-search-app/1.0 your-email@example.com"
}' |
apify call parkero/sec-fulltext-search --silent --output-dataset

```

## MCP server setup

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