The SEC API allows you to search millions of SEC filings from thousands of public companies.
https://api.api-ninjas.com/v1/sec
Returns a list of SEC filing information (including the submission URL) corresponding to the given search parameters.
ticker
requiredTicker symbol of the company to search (e.g. AAPL
for Apple).
filing
requiredSEC filing form type. The following values are supported:
10-K |
10-Q |
S-1 |
S-2 |
S-3 |
8-K |
DEF14A |
13D |
start
optional Premium OnlyStart date to search. Must be in YYYY-MM-DD
format (e.g. 2023-04-01
).
end
optional Premium OnlyEnd date to search. Must be in YYYY-MM-DD
format (e.g. 2023-04-01
).
limit
optional Premium OnlyNumber of results to return from 1 to 100. By default, up to 2 results are returned.
X-Api-Key
requiredAPI Key associated with your account.
https://api.api-ninjas.com/v1/sec?ticker=AAPL&filing=10-K
Headers
X-Api-Key
Log in or sign up to get your API Key
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[
{
"ticker": "AAPL",
"filing_date": "2024-11-01",
"filing_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019324000123/aapl-20240928.htm",
"form_type": "10-K"
},
{
"ticker": "AAPL",
"filing_date": "2023-11-03",
"filing_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019323000106/aapl-20230930.htm",
"form_type": "10-K"
}
]
1
2
3
4
5
6
7
8
import requests
api_url = 'https://api.api-ninjas.com/v1/sec?ticker=AAPL&filing=10-K'
response = requests.get(api_url, headers={'X-Api-Key': 'YOUR_API_KEY'})
if response.status_code == requests.codes.ok:
print(response.text)
else:
print("Error:", response.status_code, response.text)
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.