SEC API
The SEC API allows you to search millions of SEC filings from thousands of public companies.
From 3,289 users
Applications using this API
API Status
API Response Times
Average | P50 | P75 | P90 | P95 |
|---|---|---|---|---|
| 396ms | 408ms | 451ms | 831ms | 1343ms |
Didn't find what you were looking for? Suggest an improvement
/v1/sec GET
https://api.api-ninjas.com/v1/sec
Returns a list of SEC filing information (including the submission URL) corresponding to the given search parameters.
Parameters
tickerrequiredTicker symbol of the company to search (e.g.
AAPLfor Apple).filingrequiredSEC filing form type. The following values are supported:
startoptional premium onlyStart date to search. Must be in
YYYY-MM-DDformat (e.g.2023-04-01).endoptional premium onlyEnd date to search. Must be in
YYYY-MM-DDformat (e.g.2023-04-01).limitoptional premium onlyNumber of results to return from 1 to 100. By default, up to 2 results are returned.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
A JSON array of objects, each containing the following fields, or an error if the request is unsuccessful.
tickerTicker symbol of the company.
filing_dateDate of the SEC filing in
YYYY-MM-DDformat.filing_urlURL of the SEC filing.
form_typeType of SEC filing.
Sample Request Live Demo!
Try our APIs in the API playground
Sign up for a free API key to get started — no credit card required.
https://api.api-ninjas.com/v1/sec?ticker=AAPL&filing=10-KHeaders
X-Api-KeyLog in or sign up to get your API KeySample Response
Code Examples
1
2
curl -X GET "https://api.api-ninjas.com/v1/sec?ticker=AAPL&filing=10-K" \
-H "X-Api-Key: YOUR_API_KEY"If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.
Frequently Asked Questions
Can I use the SEC API for commercial purposes?
Yes, but you must have a premium subscription. Commercial use of the SEC API is not permitted on the free tier. See our pricing page to choose a plan that fits your needs.How do I get an API key and start using the SEC API?
Sign up for a free account to instantly get your API key, then pass it in theX-Api-Keyheader on every request. The documentation above includes ready-to-run examples in cURL, Python, JavaScript, Node.js, and more.What happens if I exceed my quota for the month?
Your API requests will simply be denied once you hit your monthly quota — you will never be charged more than the plan you signed up for. To increase your quota, you can upgrade your plan any time on our pricing page.What happens if a request to the SEC API fails?
The API responds with a standard HTTP status code and a JSON error message describing the problem. See our error codes reference for the full list of codes and how to resolve each one, or contact support if you need help.How do I search for a specific company's SEC filings?
Send a GET request to the/v1/secendpoint with the requiredtickerparameter (e.g.AAPLfor Apple) and the requiredfilingparameter specifying the form type such as10-K. See the API list for related financial data endpoints.What does the SEC API response include?
It returns a JSON array of filing objects, each containing theticker, thefiling_dateinYYYY-MM-DDformat, thefiling_urllinking to the document on SEC.gov, and theform_type; an error is returned if the request is unsuccessful.Can I limit results to a specific date range or number of filings?
Yes, the optionalstartandendparameters (both inYYYY-MM-DDformat) filter by date, and the optionallimitparameter returns between 1 and 100 results; these are premium-only features available on a paid plan, otherwise up to 2 results are returned by default.What are some use cases for the SEC API?
You can pull links to filings like10-Kannual and10-Qquarterly reports for fundamental analysis, due diligence, or compliance monitoring, and pair it with the Earnings API or Insider Trading API to build a fuller picture of a public company.