API Reference
The complete specification for all 50 endpoints: every parameter, every response field, every type. For task-oriented walkthroughs and worked examples, read the guides instead.
Base URL
Every endpoint lives under one host. The path identifies the API, and the reference page for each endpoint gives its exact URL and method.
https://api.sec-api.ioAuthentication
Authenticate every request with your API key, either as an Authorization header or as a token query parameter. The header is preferred. Do not prefix the key with Bearer or any other word. Use the query parameter only where a header cannot be set, such as opening a URL directly in a browser.
curl -X POST https://api.sec-api.io \
-H "Authorization: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{ "query": "ticker:TSLA", "from": "0", "size": "10" }'Request format
Search endpoints take a JSON body in a POST request and require Content-Type: application/json. Retrieval endpoints, which fetch one known object, take GET with the identifier in the URL or query string. Each endpoint page states which it uses.
Pagination and sorting
Search endpoints page with from and size. Page by incrementing from by the value of size until no further results come back.
sizereturns at most 50 records per responsefromreaches 10000, which caps a single query at 10000 records. Split the query by date range to go beyond ittotal.valueis capped at 10000. Arelationofgtemeans the true count is higher
{
"query": "formType:\"10-K\"",
"from": "50",
"size": "50",
"sort": [{ "filedAt": { "order": "desc" } }]
}Status codes
200 | Success. The response body holds the result. |
400 | The request body could not be parsed, or a search expression is malformed. |
403 | The API key is missing or not valid. |
404 | The requested object does not exist. |
429 | Too many requests. Slow the request rate and retry. |
500 | Server error. Retry, and report it if it persists. |
Endpoints
Filing search and retrieval
Find filings, then pull their content in whichever form you need: the original file, clean text, a PDF, or parsed XBRL.
Investment advisers
Form ADV, its schedules, and the individuals behind the firms.
Ownership and holdings
Who owns what, who is trading it, and which positions crossed a reporting threshold.
Investment companies
Annual reports of funds, and how they voted their proxies.
Offerings and capital raises
Registered and exempt offerings, from Regulation A and Regulation D through to S-1 prospectuses.
Material events
Form 8-K disclosures, one page per item: auditor changes, restatements, and director and officer changes.
Company and governance data
What a company discloses about its people, its auditors, its subsidiaries and its share count.
Broker-dealers
FOCUS reports filed by broker-dealers.
SEC enforcement and rulemaking
What the Commission has acted on, against whom, and the rule filings of the exchanges it supervises.
Identifiers and entities
Resolve identifiers, and look up the registrants behind the filings.