List CIKs with SEC filings
curl --request GET \
--url https://api.darvas.app/v1/filings/ciks \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/filings/ciks"
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/ciks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"resource": "filings",
"ciks": [
"0000320193",
"0000789019"
]
}{
"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 Filings Supported CIKs API
List all ten-digit SEC Central Index Key (CIK) numbers indexed in the SEC EDGAR Filings API to check coverage across operating and legacy filers.
List CIKs with SEC filings
curl --request GET \
--url https://api.darvas.app/v1/filings/ciks \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/filings/ciks"
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/ciks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"resource": "filings",
"ciks": [
"0000320193",
"0000789019"
]
}{
"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 SEC Central Index Keys (CIKs) of the companies whose filings SEC Filings answers bycik: every filer SEC classes as an operating company and every filer with a ticker.
| Coverage | Details |
|---|---|
| Answer | resource: "filings" and ciks, sorted in ascending order |
| Format | Ten-digit strings with leading zeros, such as 0000320193 |
| Size | One response, no pagination, up to 100,000 CIKs |
| Parameters | None |
| MCP tool | list_filings_ciks on the data API MCP server |
Usage
A CIK stays the same through renames and ticker changes, so loop over this list for bulk jobs, such as collecting every company’s newest 10-K./filings?cik= accepts the CIK with or without leading zeros. For tickers, use SEC Filings Tickers; the list matches Company Facts CIKs.
Examples
import os
import requests
headers = {"X-API-KEY": os.environ["DARVAS_API_KEY"]}
base = "https://api.darvas.app/v1"
ciks = requests.get(f"{base}/filings/ciks", headers=headers).json()["ciks"]
print(len(ciks), "CIKs")
# Newest 10-K of the first few companies.
for cik in ciks[:5]:
answer = requests.get(
f"{base}/filings",
headers=headers,
params={"cik": cik, "filing_type": "10-K", "limit": 1},
)
filings = answer.json().get("filings", []) if answer.ok else []
print(cik, filings[0]["filing_date"] if filings else "no 10-K")
curl -H "X-API-KEY: $DARVAS_API_KEY" \
"https://api.darvas.app/v1/filings/ciks"
Authorizations
apiKeybearerKey
Response
List CIKs with SEC filings: one page.