NewConnect Claude, Gemini, ChatGPT, and other AI agents to API Ninjas via our MCP server →

SEC API

The SEC API allows you to search millions of SEC filings from thousands of public companies.

Online
(4.7)

From 3,289 users

600+

Applications using this API

API Status

Online - All Systems Operational

API Response Times

Average
P50
P75
P90
P95
396ms408ms451ms831ms1343ms

Didn't find what you were looking for? Suggest an improvement

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

  • ticker  required

    Ticker symbol of the company to search (e.g. AAPL for Apple).

  • filing  required

    SEC filing form type. The following values are supported:

    10-K, 10-Q, 8-K, S-1, S-3, DEF14A, 13D, 13F-HR, 13G

  • start  optional Premium only

    Start date to search. Must be in YYYY-MM-DD format (e.g. 2023-04-01).

  • end  optional Premium only

    End date to search. Must be in YYYY-MM-DD format (e.g. 2023-04-01).

  • limit  optional Premium only

    Number of results to return from 1 to 100. By default, up to 2 results are returned.

Headers

  • X-Api-Key  required

    API Key associated with your account.

Response

A JSON array of objects, each containing the following fields, or an error if the request is unsuccessful.

  • ticker

    Ticker symbol of the company.

  • filing_date

    Date of the SEC filing in YYYY-MM-DD format.

  • filing_url

    URL of the SEC filing.

  • form_type

    Type of SEC filing.

Live Demo

Live demo · no API key required
Query parameters
ticker
filing
start
end
limit

Get a free API key to get started — no credit card required.

Headers
X-Api-KeyLog in or sign up to get your API key
GET
https://api.api-ninjas.com/v1/sec?ticker=AAPL&filing=10-K
Sample response
[
{
"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"
}
]

Code Examples

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

  • 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.
  • Sign up for a free account to instantly get your API key, then pass it in the X-Api-Key header on every request. The documentation above includes ready-to-run examples in cURL, Python, JavaScript, Node.js, and more.
  • 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.
  • 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.
  • Send a GET request to the /v1/sec endpoint with the required ticker parameter (e.g. AAPL for Apple) and the required filing parameter specifying the form type such as 10-K. See the API list for related financial data endpoints.
  • It returns a JSON array of filing objects, each containing the ticker, the filing_date in YYYY-MM-DD format, the filing_url linking to the document on SEC.gov, and the form_type; an error is returned if the request is unsuccessful.
  • Yes, the optional start and end parameters (both in YYYY-MM-DD format) filter by date, and the optional limit parameter 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.
  • You can pull links to filings like 10-K annual and 10-Q quarterly 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.