List CIKs with company profiles
curl --request GET \
--url https://api.darvas.app/v1/company/facts/ciks \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/company/facts/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/company/facts/ciks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"resource": "company_facts",
"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"
}Company Profiles
SEC CIK Number Directory & Lookup API
List ten-digit SEC CIK identifiers for operating companies and every tickered filer in one sorted response to map entities before SEC API queries.
List CIKs with company profiles
curl --request GET \
--url https://api.darvas.app/v1/company/facts/ciks \
--header 'X-API-KEY: <api-key>'import requests
url = "https://api.darvas.app/v1/company/facts/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/company/facts/ciks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"resource": "company_facts",
"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 SEC Central Index Keys (CIKs) for Company Facts: every filer SEC classes as an operating company, and every filer with a ticker. Individuals, such as insiders who file Form 4, and other filers without a ticker are left out of the list, though/company/facts?cik= still answers for any SEC filer.
| Coverage | Details |
|---|---|
| Answer | resource: "company_facts" 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_company_facts_ciks on the data API MCP server |
Usage
A CIK never changes when a company renames itself or changes its ticker, so it is the safer key for bulk jobs and backtests. Pass a CIK with or without leading zeros to/company/facts?cik=. For the ticker list, use Company Facts Tickers; the same CIK list answers SEC Filings 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}/company/facts/ciks", headers=headers).json()["ciks"]
print(len(ciks), "CIKs, first:", ciks[:3])
# Profile of the first few companies by CIK.
for cik in ciks[:3]:
facts = requests.get(f"{base}/company/facts", headers=headers, params={"cik": cik}).json()["company_facts"]
print(cik, facts["name"], facts["entity_type"])
curl -H "X-API-KEY: $DARVAS_API_KEY" \
"https://api.darvas.app/v1/company/facts/ciks"
Authorizations
apiKeybearerKey
Response
List CIKs with company profiles: one page.
The answer of GET /company/facts/ciks.