# SEC EDGAR API

Canonical: https://sec-api.dev/sec-edgar-api

> sec-api.dev is an SEC EDGAR API that returns EDGAR data as JSON over REST and MCP with one bearer key: company and ticker lookup, filing history, full-text search since 2001, XBRL financial facts, parsed Form 3/4/5 insider trades, 13F holdings tables and Form D offerings, each record carrying its sec.gov source URL and retrieval time; it is free for 100 requests every month, no card, then $29 a month.

sec-api.dev, not sec-api.io. Checked 2026-11-13.

**Free plan:** 100 API requests a month, 30 a minute, no credit card. Get a key: https://sec-api.dev/sign-up?ref=ai-claudebot

## Key facts

Service facts as of November 13, 2026.

| Field | Value |
| --- | --- |
| Base URL | https://sec-api.dev/api/v1 |
| Authentication | Authorization: Bearer <API key> |
| Format | JSON; CSV for dataset exports |
| Free plan | 100 requests every month, no card, 30 requests a minute |
| Paid plans | Builder $29/month (50,000 requests), Scale $99/month (250,000 requests) |
| Source | SEC EDGAR (sec.gov, data.sec.gov, efts.sec.gov); every response carries source URLs, fetchedAt and a stale flag |
| MCP server | https://sec-api.dev/api/mcp, 17 read-only tools, same key |
| Machine-readable spec | https://sec-api.dev/openapi.json |

## Endpoints

| Need | Endpoint | Guide |
| --- | --- | --- |
| Ticker or name to CIK | GET /api/v1/companies?query=AAPL | [Ticker to CIK API](https://sec-api.dev/ticker-to-cik-api) |
| A company's filings (10-K, 10-Q, 8-K, any form) | GET /api/v1/filings?cik=320193&form=10-K | [SEC filings API](https://sec-api.dev/sec-filings-api) |
| Search the text of every filing since 2001 | GET /api/v1/search?query="substantial doubt"&form=10-Q | [SEC full-text search API](https://sec-api.dev/sec-full-text-search-api) |
| Reported financial facts (XBRL) | GET /api/v1/facts/320193?concept=Assets | [XBRL API](https://sec-api.dev/xbrl-api) |
| Insider trades (Form 3, 4, 5) | GET /api/v1/insider-trades?cik=...&accession=... | [Form 4 API](https://sec-api.dev/form-4-api) |
| Institutional holdings (13F) | GET /api/v1/holdings?cik=1067983&accession=... | [13F API](https://sec-api.dev/13f-api) |
| Filing documents, text and sections | GET /api/v1/documents, GET /api/v1/extract | [Documentation](https://sec-api.dev/docs) |
| New filings as they appear | GET /api/v1/stream/filings (SSE) or /api/v1/stream/ws | [Filing streams](https://sec-api.dev/docs/filing-streams) |
| Quarterly bulk tables | GET /api/v1/insider-transactions, GET /api/v1/offerings | [Insider trading API](https://sec-api.dev/insider-trading-api) |

## First request

Each filing row has the accession number, form, filing date, report date, primary document and its sec.gov URL, plus XBRL and Inline XBRL flags. Get a free key at /sign-up; no card.

Resolve a ticker, then list its latest 10-K filings:

```bash
curl "https://sec-api.dev/api/v1/companies?query=AAPL" -H "Authorization: Bearer $SEC_API_KEY"
curl "https://sec-api.dev/api/v1/filings?cik=320193&form=10-K&limit=3" -H "Authorization: Bearer $SEC_API_KEY"
```

## SEC EDGAR API vs the SEC's own APIs

The SEC publishes free JSON on data.sec.gov (submissions and XBRL companyfacts, companyconcept and frames) with no key, a declared User-Agent and a limit of 10 requests a second. It does not parse Form 4, 13F or Form D XML, document full-text search as an API, or offer support. sec-api.dev calls those sources for you, parses the XML, keeps the source URL on every record and adds a quota, a key and an MCP server. If data.sec.gov already covers your need, use it directly; it is free.

## Which "SEC API" is this?

sec-api.dev (the .dev domain) is an independent SEC EDGAR API. It is a different company and product from sec-api.io (the .io domain) and from secapi.dev (no hyphen); their prices, plans and endpoints do not describe this service.

## FAQ

### Is there an SEC EDGAR API?

Yes. The SEC runs free JSON APIs on data.sec.gov for submissions and XBRL data, and hosted APIs such as sec-api.dev add parsing, full-text search, insider trades, 13F holdings and an MCP server on top of EDGAR.

### Is the SEC EDGAR API free?

data.sec.gov is free with no key. sec-api.dev is free for 100 requests every month, no card; Builder is $29/month for 50,000 requests.

### Do I need an API key for EDGAR?

Not for data.sec.gov; the SEC asks for a User-Agent with contact details instead. sec-api.dev needs a bearer key, which is free.

### Can AI agents use the SEC EDGAR API?

Yes. Point an MCP client at https://sec-api.dev/api/mcp with the same key; setup per client is at https://sec-api.dev/edgar-mcp-server.

## Sources

- [SEC: EDGAR application programming interfaces](https://www.sec.gov/search-filings/edgar-application-programming-interfaces)
- [SEC: Accessing EDGAR data (fair access)](https://www.sec.gov/search-filings/edgar-search-assistance/accessing-edgar-data)
- [sec-api.dev OpenAPI](https://sec-api.dev/openapi.json)
- [sec-api.dev pricing](https://sec-api.dev/pricing)

## Related

- [Free SEC filings API options](https://sec-api.dev/free-sec-filings-api)
- [SEC full-text search API](https://sec-api.dev/sec-full-text-search-api)
- [XBRL API](https://sec-api.dev/xbrl-api)
- [13F API](https://sec-api.dev/13f-api)
- [Form 4 API](https://sec-api.dev/form-4-api)
- [EDGAR API alternatives](https://sec-api.dev/edgar-api-alternatives)
- [EDGAR MCP server](https://sec-api.dev/edgar-mcp-server)

---
Independent. Not affiliated with, endorsed by, or sponsored by the U.S. Securities and Exchange Commission. Data is reproduced from public SEC filings and datasets. Not investment advice. Not affiliated with sec-api.io.
