Empower your searches across the extensive collection of 18+ million filings and exhibits on SEC EDGAR since 1993 using the Query API. This API accommodates both simple and complex filter expressions, returning filings in JSON format with comprehensive metadata, filer information, filing attachments, original SEC source URLs, and more. The API offers over 20 search parameters, including filer ticker symbols, CIKs and more.
Common use cases involve:
Newly published filings are indexed within an average of 200 milliseconds. The Query API accepts POST requests and delivers results in JSON format.Sandbox Link here
Dataset Size: All filings on SEC EDGAR filed since 1993.
Data Update Frequency: Less than 300 milliseconds.
API Endpointhttps://api.secfilingdata.com/v1/filings/query
Supported HTTP methods: POST
Request and response content type: JSON
AuthenticationUtilize your API key in the following way: 1. Set as Authorization Header: Before initiating a POST request to `https://api.secfilingdata.com`, ensure you set the Authorization header to `YOUR_API_KEY`.
Response Formatfilings (array): - The array holding all filings matching your filter criteria. Each filing has the following format:
For more detailed information, refer to the documentation here
Request ParametersTo retrieve filings matching your search query from the API, initiate a HTTP POST request with a JSON formatted payload (request body). The payload is an object and must always include the `query` object, containing your `query_string`. We utilize ElasticSearch (ES) as the database, and you can leverage all common ES query types. Let's delve into the structure of the payload.
query (object): - Your filter (or search) criteria reside in this object. The `query` should always contain a `query_string` object with your query definition. If you are familiar with ES, you can replace the `query_string` object with any other query type. You can filter by parameters available in the response format. Explore some examples:
Set the `from` property to the starting position of your query. `from` is used to paginate through results. For example, set `from` to 10 if you want to ignore the first 10 filings.
size (string):Number of filings returned per request. For example, set `size` to 10 to return 10 filings per request. Maximum: 50. Default: 50.
sort (array):Array of objects describing how to order the returned filings.
For more detailed information, refer to the documentation here
