# sec.filings

A company's recent filings with the SEC from EDGAR, newest first: form type, dates, description, 8-K items, and the addresses of the document and its index.

SEC filings, one of the SEC EDGAR scrapers.

| | |
| --- | --- |
| Id | `sec.filings` |
| Version | 1 |
| Billed per | request — 1 unit for a charged run |
| Runs | within one request |

Start it with `POST /v1/scrapers/sec.filings/runs`. How runs work is in [Running a scraper](https://docs.enrichednow.com/running-a-scraper.md); what a run costs is in [Usage and units](https://docs.enrichednow.com/usage-and-units.md).

## Inputs

The fields of `input`. A field that is not listed here is refused.

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `company` | string | yes | The company's ticker (`AAPL`, `BRK-B`) or its CIK, EDGAR's number of the filer (`320193`). A fund or a person who files is named by CIK. Limit: at least 1 characters, at most 20 characters. |
| `forms` | array of string | no | Only filings of these form types, as EDGAR names them: `10-K`, `10-Q`, `8-K`, `4`, `DEF 14A`, `S-1`, ... An amendment is its own type (`10-K/A`). Empty (default): every form. |
| `filed_from` | string | no | Only filings made on or after this day, as `YYYY-MM-DD`. |
| `filed_to` | string | no | Only filings made on or before this day, as `YYYY-MM-DD`. |
| `max_results` | integer | no | How many filings to return at most, newest first (default 20, up to 200). Limit: 1 to 200. Default: `20`. |

## Record fields

Every record of a run has these fields. A value that is not known is `null` — never an empty string and never `0`.

| Field | Type | Notes |
| --- | --- | --- |
| `accession_number` | string | EDGAR's id of the filing, e.g. `0000320193-26-000123`. |
| `form` | string | The form type as EDGAR names it: `10-K`, `10-Q`, `8-K`, `4`, `DEF 14A`, ...; an amendment ends in `/A`. |
| `filing_date` | string | The day the filing was made, as `YYYY-MM-DD`. |
| `report_date` | string or null | The day or the end of the period the filing reports on, as `YYYY-MM-DD`; null where the form has none. |
| `accepted_at` | string (date-time) or null | When EDGAR accepted the filing, in UTC. |
| `description` | string or null | EDGAR's short description of the main document; often the form type again. |
| `items` | array of string | For an 8-K, the numbers of the items it reports, e.g. `2.02` (results of operations) and `9.01` (exhibits); empty for other forms. |
| `primary_document` | string or null | The file name of the filing's main document. |
| `url` | string or null | The address of the main document on sec.gov; null when EDGAR names none. |
| `index_url` | string | The address of the filing's index page on sec.gov, which lists every document and exhibit of it. |
| `size_bytes` | integer or null | The size of the whole filing, in bytes. |
| `has_xbrl` | boolean or null | True when the filing carries financial data in XBRL. |
| `has_inline_xbrl` | boolean or null | True when that data is tagged inside the main document itself (inline XBRL). |
| `file_number` | string or null | The SEC file number the filing was made under, e.g. `001-36743`. |
| `company_name` | string | The filer's name as EDGAR has it. |
| `cik` | string | The filer's CIK, EDGAR's number of it, without leading zeros. |
| `ticker` | string or null | The filer's ticker; the first one for a company with several classes of shares, null for a filer without one. |
| `industry` | string or null | The filer's industry, in the words of its SIC code, e.g. `Electronic Computers`. |
| `fetched_at` | string (date-time) | When EDGAR answered, in UTC. |

## Example request

It starts a run with this scraper's example input and waits up to 60 seconds for it. The key is read from `ENRICHEDNOW_API_KEY`.

```bash
curl -X POST "https://api.enrichednow.com/v1/scrapers/sec.filings/runs?wait=60" \
  -H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"company":"TSLA","forms":["8-K"],"max_results":3}}'
```

## Example response

The run, once it has ended. A run that has not ended within `wait` comes back with `202` and the status `queued` or `running`.

```json
{
  "id": "run_841742f37553189ff9c27ba1",
  "scraper_id": "sec.filings",
  "scraper_version": 1,
  "status": "ok",
  "reason": null,
  "input": {
    "company": "TSLA",
    "forms": [
      "8-K"
    ],
    "max_results": 3
  },
  "record_count": 1,
  "units": 1,
  "units_per_request": 1,
  "units_per_record": null,
  "units_per_page": null,
  "diagnostics": {
    "requests": 1,
    "bytes": 259214,
    "wall_ms": 885,
    "facts": {}
  },
  "created_at": "2026-11-16T22:37:50.170950Z",
  "started_at": "2026-11-16T22:37:50.178331Z",
  "finished_at": "2026-11-16T22:37:51.066313Z"
}
```

Its records, from `GET /v1/runs/{id}/records`. The record is a real one: this scraper's own parser read it from a page recorded from the site.

```json
{
  "records": [
    {
      "accession_number": "0001628280-26-066738",
      "form": "8-K",
      "filing_date": "2026-10-21",
      "report_date": "2026-10-21",
      "accepted_at": "2026-10-21T20:41:42Z",
      "description": "8-K",
      "items": [
        "2.02",
        "9.01"
      ],
      "primary_document": "tsla-20261021.htm",
      "url": "https://www.sec.gov/Archives/edgar/data/1318605/000162828026066738/tsla-20261021.htm",
      "index_url": "https://www.sec.gov/Archives/edgar/data/1318605/000162828026066738/0001628280-26-066738-index.htm",
      "size_bytes": 5568283,
      "has_xbrl": true,
      "has_inline_xbrl": true,
      "file_number": "001-34756",
      "company_name": "Tesla, Inc.",
      "cik": "1318605",
      "ticker": "TSLA",
      "industry": "Motor Vehicles & Passenger Car Bodies",
      "fetched_at": "2026-11-19T18:07:41.230271Z"
    }
  ],
  "next_cursor": null
}
```

A run does not always end `ok`. [Results and statuses](https://docs.enrichednow.com/results-and-statuses.md#reason-codes) lists every status and the reasons every scraper shares; [the reasons of the SEC EDGAR scrapers](https://docs.enrichednow.com/results-and-statuses.md#sec-edgar) are in their own section there.
