canonical: https://jentic.com/apis/sec-api.dev/sec-api

# SEC API

The SEC API is an independent interface to SEC EDGAR that finds companies by ticker or CIK, lists their filing history, and searches filing text across companies through the SEC full-text search. It reads accession documents, extracts narrative items such as risk factors from 10-K, 10-Q, and 8-K filings, parses Form 3, 4, and 5 insider trades and 13F holdings tables, and returns reported XBRL facts and financial series by concept. New filings can be followed through server-sent events or a WebSocket, and a biotech module tracks drug catalysts, PDUFA and readout outcomes, and cash runway.

## For AI agents

Search SEC EDGAR filings, extract 10-K and 10-Q sections, parse insider trades and 13F holdings, and read XBRL financial facts for AI agents, plus biotech catalyst calendars.

## Scope

Does not file documents with the SEC, provide real-time stock prices, or normalize financial statements. Use for reading SEC EDGAR filings, parsed ownership data, and reported facts only.

## Capabilities

- Find a company by ticker or name and pull its profile and filing history by CIK
- Search SEC filing text across companies with form, cik, and date filters
- Extract a narrative section from a 10-K, 10-Q, or 8-K filing by form, section, and part
- Parse Form 3, 4, and 5 insider trades and Form 13F holdings tables from a filing accession
- Read reported XBRL facts and financial series for a company by taxonomy, concept, and unit
- Follow newly observed filings through server-sent events or replay them after an event id
- Track biotech catalysts, PDUFA and readout outcomes, and cash runway by ticker, with watches on drugs or indications

## Use cases

### AI equity research agent

An AI research agent asked about a company's risks should quote the filing, not summarise from memory. Through Jentic the agent searches by intent, gets the SEC API filing history and section extraction operations with their input schemas, and calls them with the bearer key injected at execution time. It returns the extracted Item 1A text with the accession number it came from.

Example prompt: Call GET `/api/v1/companies` with query 'AAPL', call GET `/api/v1/filings` with the CIK and form '10-K', then call GET `/api/v1/extract` with the latest accession, document, form '10-K', and section '1A'

### Insider trading monitor

An investor wants to know when executives buy or sell. The SEC API parses Form 3, 4, and 5 ownership XML from a filing accession, and the insider transactions endpoint queries imported quarterly tables by cik, transactionCode, and direction, so a monitor can flag open-market purchases.

Example prompt: Call GET `/api/v1/insider-transactions` with cik '320193' and transactionCode 'P', then summarise purchases by insider

### Fundamental data pipelines

A model needs reported numbers with their source. The facts and financial-series endpoints return XBRL observations for a CIK filtered by taxonomy, concept, and unit, and the datasets export returns companies, filings, or facts as JSON or CSV with offset pagination.

Example prompt: Call GET `/api/v1/facts/{cik}` for cik '789019' with taxonomy 'us-gaap', concept 'Revenues', and unit 'USD', then chart the annual values

### Biotech catalyst tracking

Biotech investors follow approval dates and trial readouts. The SEC API's biotech calendar filters by phase, indication, designation, ticker, and drug, the outcomes endpoint lists PDUFA, AdCom, CRL, and readout results, and watches on a drug, ticker, or indication produce a digest when a matching event changes.

Example prompt: Call GET `/api/v1/biotech/calendar` with days 30 and phase '3', then call GET `/api/v1/biotech/runway/{ticker}` for each ticker returned

## Key endpoints

| Method | Path | Description |
| --- | --- | --- |
| GET | `/api/v1/companies` | Search the company ticker directory |
| GET | `/api/v1/filings` | Retrieve filing history |
| GET | `/api/v1/search` | Full-text search across filings |
| GET | `/api/v1/extract` | Extract a narrative filing item |
| GET | `/api/v1/insider-trades` | Parse Form 3, 4, or 5 ownership XML |
| GET | `/api/v1/holdings` | Parse a 13F information table |
| GET | `/api/v1/facts/{cik}` | Retrieve reported XBRL observations |
| GET | `/api/v1/stream/filings` | Stream observed filings with SSE |

## Key resources

- **Companies and filings** — Company ticker search, profiles by CIK, filing history, daily filing index, and full-text search
- **Documents and parsers** — Accession documents and text, section extraction, insider trade and 13F parsing, XBRL instance facts, and filing XML as JSON
- **Facts and series** — Reported XBRL observations and financial series by concept, plus insider transaction and Form D offering tables
- **Streams** — Server-sent events, event replay, and a read-only WebSocket for newly observed filings
- **Biotech** — Catalyst calendar and events, drugs, company catalysts, outcomes, cash runway, and watchlist
- **Datasets** — JSON or CSV exports of companies, filings, and facts

## AI readiness

This API is usable in Jentic One now. Its AI-readiness score against Jentic's framework shows where it stands today and where improvements would make it even easier for agents to use.

- **Score:** 64 / 100
- **Maturity:** AI-Aware
- **Dimensions:**
  - Foundational Compliance: 93 / 100
  - Developer Experience & Jentic Compatibility: 69 / 100
  - AI-Readiness & Agent Experience: 47 / 100
  - Agent Usability: 94 / 100
  - Security: 60 / 100
  - AI Discoverability: 49 / 100
- **View full report:** https://jentic.com/apis/sec-api.dev/sec-api/scorecard
- **How the score is calculated:** https://docs.jentic.com/reference/api-readiness-framework/overview/
- **More about the dimensions:** https://docs.jentic.com/reference/api-readiness-framework/specification/#dimensional-model-overview

### Score it yourself

Every API in the directory is allowlisted, so you can re-score it with no key required.

- **Score your own API:** https://jentic.com/scorecard.md
- **Scoring CLI agent skill:** https://github.com/jentic/jentic-api-scorecard/blob/main/skills/jentic-api-scorecard/SKILL.md

```sh
npx @jentic/api-scorecard-cli score <openapi-url>
```

## Why Jentic

- **Setup:** Wiring the SEC API by hand means sending a bearer key, chaining company lookup to filing history to accession documents, and paging with offset and snapshot ids. Through Jentic you install once, import the SEC API from the API Directory, store the key once, and your agent calls it.
- **Permission scoping:** The SEC API puts the company CIK in the URL path for facts and financial series (`/api/v1/facts/{cik}`), so a rule can pin your agent to one company's figures. You choose the operations it may call, so watchlist changes and bulk dataset exports are not included unless you add them.
- **Credential handling:** Your SEC API key is stored once, encrypted, by your own Jentic One instance and injected at execution time. It never enters the agent's prompt, logs, or context.
- **Discovery method:** Agents search Jentic by intent such as 'extract the risk factors from a 10-K' or 'list insider trades', and Jentic returns the matching SEC API operation with its input schema so the agent passes cik, accession, and document correctly.

## Related APIs

- **SEC-API.io** — Separate SEC EDGAR filings search and extraction service
- **Finnhub** — Market prices, fundamentals, and company news
- **Polygon** — Stock market data for trades, quotes, and aggregates

## FAQ

### What authentication does the SEC API use?

Per its OpenAPI spec, the SEC API uses HTTP bearer authentication with a dashboard key sent as the Authorization header. Every operation requires it except GET `/api/playground`, a bounded public demonstration. Through Jentic the key is held by your own Jentic One instance and injected per call, keeping it server-side as the spec advises.

### Can I extract a specific section of a 10-K with the SEC API?

Yes. GET `/api/v1/extract` takes cik, accession, document, form, and section, plus part for 10-Q filings, and supports 10-K, 10-Q, and 8-K forms and their amendments. It uses heading heuristics and returns 422 section_not_found when no reliable boundary exists, so check the extraction warning in the response.

### What are the rate limits for the SEC API?

The OpenAPI spec says account quotas apply across keys but does not state numeric limits for authenticated calls; the public playground is limited to 20 requests/hour per visitor IP. Check https://sec-api.dev for current plan quotas.

### Is there an SEC API MCP server?

You don't need an MCP server to give your agent the SEC API. Jentic connects it directly from the API Directory: import it, store your key once, and your agent calls the filing, extraction, and facts operations on demand.

### How do I get insider trades for a company through Jentic?

Search Jentic for 'list insider trades for a company', load the GET `/api/v1/insider-transactions` operation, and execute it with the company's cik and an optional transactionCode or direction filter. For one filing, GET `/api/v1/insider-trades` parses the Form 4 by accession. To run it on your own infrastructure, install Jentic One from its GitHub repo.

### Can I limit what my agent is allowed to do with the SEC API?

Yes. For example, write a rule that allows GET `/api/v1/filings`, GET `/api/v1/extract`, and GET `/api/v1/facts/{cik}` only, and a research agent can read filings and figures but cannot create or delete biotech watches or run bulk dataset exports. Every call it makes is logged.
