# EDGAR Full-Text Search

> EDGAR Full-Text Search is a paid API for AI agents from agent402.tools, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-12).

Searches the full text of every SEC filing since 2001 for any phrase, with optional filters for form type, company, US state, and date range.

## Facts

- Endpoint: GET https://agent402.tools/api/edgar-search?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/edgar-full-text-search-ef420e52
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5nhKR0zQDgw0aqJN97KYG

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability edgar-full-text-search-ef420e52
```

Example prompt: Search all SEC 10-K and 10-Q filings from the past 30 days for the phrase 'going concern' and show me up to 25 results — I want to see which companies are flagging financial trouble right now.

## When to prefer this

Use this endpoint when you need to search the full text of SEC filings for specific language or disclosures — especially for compliance research, risk monitoring, litigation discovery, or investment due diligence. Prefer this over SEC EDGAR's structured data APIs when the insight lives in the narrative text of filings rather than structured financial data. Particularly valuable for finding rare or emerging disclosures across thousands of companies simultaneously.

## Known failure modes

- Missing required 'q' parameter returns a 400 error
- Invalid form type string may return zero results rather than an error
- Very broad queries with no filters may return thousands of matches but only up to 100 are returned
- Invalid state code or CIK silently returns empty results
- EDGAR backend downtime may cause 502 or timeout errors
- Queries without quote-wrapping return broad keyword matches rather than exact phrases

## How this service works

General-purpose full-text search across every SEC filing since 2001. Find any phrase in any filing - material-weakness language in 10-Ks, going-concern in 10-Qs, "Russia" exposure across all forms. Supports form-type, CIK, US-state, and date-window filters. Source: EDGAR full-text search (efts.sec.gov).

## Output

A list of SEC filing hits matching the query phrase, each including the company name, CIK, form type, filing date, and a link to the filing on EDGAR. Results are ordered by relevance and capped at the requested limit (default 25, max 100).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "q"
     ],
     "properties": {
      "q": {
       "type": "string",
       "description": "Search phrase (quote-wrap for exact match, e.g. \"material weakness\")"
      },
      "cik": {
       "type": "string",
       "description": "Restrict to a single company by CIK"
      },
      "days": {
       "type": "number",
       "description": "Lookback window in days, 1-3650 (default unset = all-time)"
      },
      "forms": {
       "type": "string",
       "description": "Comma-separated form filter, e.g. \"10-K,10-Q\" or \"8-K\""
      },
      "limit": {
       "type": "number",
       "description": "Max hits to return, 1-100 (default 25)"
      },
      "ticker": {
       "type": "string",
       "description": "Restrict to a single company by ticker"
      },
      "locationCode": {
       "type": "string",
       "description": "Two-letter US state code to filter by issuer location (e.g. \"CA\")"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "q",
      "forms",
      "windowDays",
      "total",
      "returned",
      "hits"
     ],
     "properties": {
      "q": {
       "type": "string"
      },
      "hits": {
       "type": "array",
       "items": {
        "type": "object"
       }
      },
      "forms": {
       "type": "string"
      },
      "total": {
       "type": "integer"
      },
      "returned": {
       "type": "integer"
      },
      "windowDays": {
       "type": "integer"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "q": "going concern",
  "hits": [
   {
    "cik": "0001234567",
    "url": "https://www.sec.gov/Archives/edgar/data/1234567/000121390025088888/ex10q.htm",
    "form": "10-Q",
    "filedDate": "2025-11-10",
    "displayNames": [
     "Example Distressed Co"
    ],
    "accessionNumber": "0001213900-25-088888",
    "primaryDocument": "ex10q.htm"
   }
  ],
  "forms": "10-Q",
  "total": 1287,
  "returned": 5,
  "windowDays": 90
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/edgar-full-text-search-ef420e52/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
