---
title: SEC EDGAR Filings API
slug: sec-edgar-filings
url: https://apyhub.com/martin10291/service/sec-edgar-filings
provider: Martin Petrov
categories: [Retrieval Kit, Document Intelligence Kit, Verification Kit]
tags: [sec-filings, edgar, filings-search, company-disclosure, xbrl, 8-k-alerts]
auth: api_key
version: 1.0
service_type: sync
endpoints: 1
atoms: 100
mcp: true
---

# SEC EDGAR Filings API

SEC Filings API pulls company, search, latest, or financial filings by ticker, keyword, form, or date, and returns filing records. Free tier, no card.

## Endpoints

| Method | URL | Description | Atoms |
| --- | --- | --- | --- |
| POST | `https://api.eu.apyhub.com/martin10291/sec-edgar-filings` | What it does SEC EDGAR filings and returns a list of matching filing records based on the selected… | 100 |

## Endpoint reference

### SEC Filings - EDGAR 8-K Alerts in Plain English, 3s

`POST https://api.eu.apyhub.com/martin10291/sec-edgar-filings` · 100 atoms · accepts `application/json` · returns `application/json`

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `mode` | body | string | no | Company filings by ticker/CIK, full-text search across all filings, the latest filings from all companies, or yearly/quarterly financials (XBRL). One of: company_filings, search, latest, financials.… |
| `forms` | body | array of string | no | e.g. 10-K, 10-Q, 8-K, S-1, 4, 13F-HR, SC 13D, DEF 14A, D. Empty = all forms. 'Latest filings' defaults to 8-K. Example: `["10-K","10-Q","8-K"]`. |
| `years` | body | integer | no | How many fiscal years of financials per company. Example: `5`. |
| `dateTo` | body | string | no | Optional. Default today. |
| `tickers` | body | array of string | no | Stock tickers (AAPL, TSLA) or SEC CIK numbers (320193). Used by 'Company filings' and 'Financials'. Optional filter for search and latest. Example: `["AAPL","TSLA"]`. |
| `dateFrom` | body | string | no | Optional. Overrides 'within the last N days'. |
| `keywords` | body | array of string | no | Each phrase is one search across the full text of all EDGAR filings since 2001, e.g. "artificial intelligence", "going concern", "cybersecurity incident". |
| `maxItems` | body | integer | no | Hard limit on results saved (and paid for). Default: `20`. Example: `50`. |
| `periodType` | body | string | no | For 'Financials' mode. One of: annual, quarterly. Example: `annual`. |
| `eightKItems` | body | array of string | no | Only 8-Ks with these item codes, e.g. 1.01 (material agreement), 2.02 (results), 5.02 (officer change), 1.05 (cybersecurity incident). |
| `contactEmail` | body | string | no | SEC asks automated tools to identify themselves. If set, it is sent in the User-Agent header to SEC only. |
| `postedWithinDays` | body | integer | no | 0 = no limit (company filings) or 30 days (search and latest). Example: `365`. |
| `includeCompanyInfo` | body | boolean | no | Adds industry (SIC), state, exchange, website, phone and business address to each filing. Example: `false`. |

#### Quickstart

Fetch SEC Edgar filings for one ticker in the simplest company-filings mode.

```bash
curl -X POST "https://api.eu.apyhub.com/martin10291/sec-edgar-filings" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "mode": "company_filings",
    "tickers": ["AAPL"]
  }'
```

#### What you'll get back

Returns a JSON object with `billed` as an integer, `count` as an integer, and `items` as an array of filing objects.

Each item may include fields like `id`, `cik`, `form`, `companyName`, `filingDate`, `accessionNumber`, `primaryDocument`, and `documentUrl`.

```json
{
  "billed": 1,
  "count": 1,
  "items": [
    {
      "id": "AAPL-10-K-2024",
      "cik": "320193",
      "form": "10-K",
      "companyName": "Apple Inc.",
      "filingDate": "2024-11-01",
      "accessionNumber": "0000320193-24-000123",
      "primaryDocument": "aapl-20240928.htm"
    }
  ]
}
```

## About

## What it does

The U.S. Securities and Exchange Commission (SEC) Filings API returns EDGAR (Electronic Data Gathering, Analysis, and Retrieval) filing records for company, search, latest, or financials mode. Send `mode` plus filters like `tickers` such as `AAPL`, `keywords`, `forms`, `dateFrom`, `dateTo`, and `maxItems` to narrow the list. For financials, set `periodType` to `annual` or `quarterly`, and use `years` to choose how many fiscal years you want.

You can also limit results to 8-K items with `eightKItems`. If you want extra company details, set `includeCompanyInfo` to add industry, state, exchange, website, phone, and business address. The response includes billing and count data, plus a list of filings with dates, company name, form type, XBRL status, links to the filing and index, and the main document.

Teams use the SEC Filings API to watch new disclosures, follow rivals, and surface 8-K alerts in internal tools. They also search for words like going concern or cybersecurity incident, then show the matching filing to users.

To turn stock codes into names first, use the [Companies Dictionary API](https://apyhub.com/apyhub/service/list-all-countries). To compare filing text before and after changes, use the [Differentiate Text API](https://apyhub.com/apyhub/service/compare-text-or-code-snippets).

## Usage

Base URL: `https://api.eu.apyhub.com` (default region — see
`GET https://apyhub.com/api/public/regions` for the rest).

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/martin10291/service/sec-edgar-filings
