List SEC filing types
curl --request GET \
--url https://api.darvas.app/v1/filings/types \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/filings/types"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.darvas.app/v1/filings/types', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"filing_types": [
"10-K",
"10-Q",
"8-K"
]
}{
"error": "VALIDATION_ERROR",
"message": "Send ticker or cik"
}{
"error": "UNAUTHORIZED",
"message": "The API key is not valid"
}{
"error": "PLAN_REQUIRED",
"message": "The account of this key has no active data API plan"
}{
"error": "NOT_FOUND",
"message": "No company has this ticker or CIK"
}{
"error": "RATE_LIMITED",
"message": "Too many requests"
}{
"error": "INTERNAL_ERROR",
"message": "Something went wrong"
}{
"error": "UNAVAILABLE",
"message": "The data service is unavailable"
}SEC EDGAR Filings
SEC EDGAR Form Types Directory API Reference
List every SEC EDGAR form type code indexed by Darvas, from 10-K, 10-Q and 8-K to 20-F, S-1, DEF 14A, Form 4, 13F-HR and Schedule 13D/13G forms.
List SEC filing types
curl --request GET \
--url https://api.darvas.app/v1/filings/types \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/filings/types"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://api.darvas.app/v1/filings/types', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"filing_types": [
"10-K",
"10-Q",
"8-K"
]
}{
"error": "VALIDATION_ERROR",
"message": "Send ticker or cik"
}{
"error": "UNAUTHORIZED",
"message": "The API key is not valid"
}{
"error": "PLAN_REQUIRED",
"message": "The account of this key has no active data API plan"
}{
"error": "NOT_FOUND",
"message": "No company has this ticker or CIK"
}{
"error": "RATE_LIMITED",
"message": "Too many requests"
}{
"error": "INTERNAL_ERROR",
"message": "Something went wrong"
}{
"error": "UNAVAILABLE",
"message": "The data service is unavailable"
}Overview
This endpoint lists the distinct SEC form types among the filings Darvas holds, as SEC writes them: annual and quarterly reports, current reports, registration statements, proxies, ownership forms and their amendments, such as10-K/A. Each value works as filing_type on SEC Filings.
| Coverage | Details |
|---|---|
| Answer | filing_types, sorted alphabetically |
| Forms | Every form type present in the stored filings since 1994 |
| Size | One response, up to 2,000 form types |
| Parameters | None |
| MCP tool | list_filing_types on the data API MCP server |
Usage
Pass one or more values asfiling_type on /filings, repeated or comma-separated: filing_type=10-K,10-K/A. An amendment is its own form type, so add the /A form to include amended reports. To read a filing’s sections, see Filing Items; for 8-K filings by the events they report, see 8-K Events and its event types.
Examples
import os
import requests
headers = {"X-API-KEY": os.environ["DARVAS_API_KEY"]}
base = "https://api.darvas.app/v1"
types = requests.get(f"{base}/filings/types", headers=headers).json()["filing_types"]
annual = [t for t in types if t.startswith("10-K")]
print(len(types), "form types; 10-K family:", annual)
filings = requests.get(
f"{base}/filings",
headers=headers,
params={"ticker": "AAPL", "filing_type": ",".join(annual), "limit": 10},
).json()["filings"]
for filing in filings:
print(filing["filing_date"], filing["filing_type"])
curl -H "X-API-KEY: $DARVAS_API_KEY" \
"https://api.darvas.app/v1/filings/types"
Authorizations
apiKeybearerKey