API reference
SEC company data
POST /sec/company reads a company's SEC EDGAR record by ticker, CIK or name: profile with EIN and SIC, latest financials, recent 8-K events and Form D offerings.
https://api.qelka.com/v1/sec/companyLook up a company that files with the US Securities and Exchange Commission (SEC), by ticker, Central Index Key (CIK) or name: you get its EDGAR profile (CIK, EIN, industry code, state of incorporation, fiscal year end, addresses, former names, tickers), its latest revenue, net income, balance sheet and shares outstanding, its recent 8-K filings with the items decoded, and its Form D notices of private offerings. Each lookup costs 1 credit, found or not; errors and test keys are never billed.
Request
Send exactly one of ticker, cik or name.
tickerstringAAPL. Case does not matter, and a dot, slash or space counts as a dash, so BRK.B and BRK-B are the same.cikinteger or stringnamestringincludearray of stringsDefault ["financials", "events", "offerings"]financials (XBRL company facts), events (recent 8-K filings), offerings (Form D filings). Send [] for the profile alone.freshbooleanDefault falsetrue skips the 24-hour result cache and asks EDGAR again.A body with more or fewer than one of ticker, cik and name is a 400 invalid_request. A full lookup reads several EDGAR files, so every snippet sets a 60-second client timeout; leave out the sections you do not need to make it faster.
curl https://api.qelka.com/v1/sec/company \
--max-time 60 \
-H "Authorization: Bearer $QELKA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ticker": "AAPL"}'
const response = await fetch('https://api.qelka.com/v1/sec/company', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.QELKA_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({ ticker: 'AAPL' }),
signal: AbortSignal.timeout(60_000),
})
const result = await response.json()
console.log(result)
import os
import requests
api_key = os.environ["QELKA_API_KEY"]
response = requests.post(
"https://api.qelka.com/v1/sec/company",
headers={"Authorization": f"Bearer {api_key}"},
json={"ticker": "AAPL"},
timeout=60,
)
result = response.json()
print(result)
<?php
$ch = curl_init('https://api.qelka.com/v1/sec/company');
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => [
'Authorization: Bearer ' . getenv('QELKA_API_KEY'),
'Content-Type: application/json',
],
CURLOPT_POSTFIELDS => json_encode(['ticker' => 'AAPL']),
CURLOPT_TIMEOUT => 60,
]);
$result = json_decode(curl_exec($ch), true);
print_r($result);
package main
import (
"bytes"
"encoding/json"
"fmt"
"net/http"
"os"
"time"
)
func main() {
payload, _ := json.Marshal(map[string]any{"ticker": "AAPL"})
request, _ := http.NewRequest(http.MethodPost, "https://api.qelka.com/v1/sec/company", bytes.NewReader(payload))
request.Header.Set("Authorization", "Bearer "+os.Getenv("QELKA_API_KEY"))
request.Header.Set("Content-Type", "application/json")
client := &http.Client{Timeout: 60 * time.Second}
response, err := client.Do(request)
if err != nil {
panic(err)
}
defer response.Body.Close()
var result map[string]any
if err := json.NewDecoder(response.Body).Decode(&result); err != nil {
panic(err)
}
fmt.Println(result)
}
require 'json'
require 'net/http'
uri = URI('https://api.qelka.com/v1/sec/company')
request = Net::HTTP::Post.new(uri)
request['Authorization'] = "Bearer #{ENV.fetch('QELKA_API_KEY')}"
request['Content-Type'] = 'application/json'
request.body = JSON.generate({ ticker: 'AAPL' })
response = Net::HTTP.start(uri.host, uri.port, use_ssl: true, read_timeout: 60) do |http|
http.request(request)
end
result = JSON.parse(response.body)
puts result
Response
Every lookup gets a 200, found or not. Read status first: found or not_found.
idstringlkp_ followed by 26 characters.objectstringsec_company.inputstringticker, cik or name you sent, as a string.querystringticker, cik or name: how the company was found.statusstringfound or not_found.companyobject or nullcompany.cikstringcompany.namestringcompany.entity_typestring or nulloperating.company.sicobject or nullcompany.sic.codestring3571.company.sic.descriptionstring or nullElectronic Computers.company.einstring or nullXX-XXXXXXX. null when none is reported.company.state_of_incorporationstring or nullcompany.fiscal_year_endstring or nullMM-DD.company.tickersarray of stringscompany.exchangesarray of stringstickers.company.filer_categorystring or nullLarge accelerated filer.company.phonestring or nullcompany.websitestring or nullcompany.leistring or nullcompany.business_addressobject or nullcompany.business_address.streetarray of stringscompany.business_address.citystring or nullcompany.business_address.state_or_countrystring or nullcompany.business_address.zipstring or nullcompany.mailing_addressobject or nullcompany.former_namesarray of objectscompany.former_names.namestringcompany.former_names.fromstring or nullYYYY-MM-DD.company.former_names.tostring or nullYYYY-MM-DD.company.filings_urlstringfinancialsobject or nullnull when not requested, when the company files no XBRL data, or when its data is too large to read in one call.financials.revenueobject or nullfinancials.revenue.valuenumberfinancials.revenue.unitstringUSD, another currency code, or shares.financials.revenue.conceptstringus-gaap:Revenues.financials.revenue.period_startstring or nullYYYY-MM-DD. null for a balance at a date.financials.revenue.period_endstringYYYY-MM-DD.financials.revenue.fiscal_yearinteger or nullfinancials.revenue.fiscal_periodstring or nullFY or Q2.financials.revenue.formstring10-K.financials.revenue.filedstringYYYY-MM-DD.financials.revenue.accessionstringfinancials.net_incomeobject or nullrevenue.financials.assetsobject or nullfinancials.liabilitiesobject or nullfinancials.equityobject or nullfinancials.cashobject or nullfinancials.shares_outstandingobject or nullunit: "shares".eventsarray of objects or nullnull when not requested.events.formstring8-K or 8-K/A.events.filedstringYYYY-MM-DD.events.report_datestring or nullYYYY-MM-DD.events.accessionstringevents.itemsarray of objectsevents.items.codestring5.02.events.items.descriptionstring or nullDeparture or Election of Directors and Officers; Compensatory Arrangements.events.urlstringofferingsarray of objects or nullnull when not requested; empty when the company filed none.offerings.formstringD or D/A.offerings.filedstringYYYY-MM-DD.offerings.accessionstringofferings.first_sale_datestring or nullYYYY-MM-DD. null when the first sale had not happened yet.offerings.total_offering_amountnumber or nullnull when it is indefinite or not stated.offerings.indefinitebooleantrue when the issuer declared an indefinite offering amount.offerings.total_amount_soldnumber or nullofferings.total_remainingnumber or nullnull when indefinite.offerings.investorsinteger or nullofferings.industry_groupstring or nullOther Technology.offerings.exemptionsarray of stringsRule 506(b) or Investment Company Act Section 3(c)(1).offerings.urlstringmatchesarray of objects or nullnull for a ticker or CIK.matches.cikstringmatches.namestringmatches.tickersarray of stringscredits_usedinteger0 with a test key.cachedbooleantrue when the answer came from the 24-hour cache.The three most recent 8-K filings are shown below; the API returns up to 10.
{
"id": "lkp_01M8CFQ9KC5DDMKH8AWAX77P6N",
"object": "sec_company",
"input": "AAPL",
"query": "ticker",
"status": "found",
"company": {
"cik": "0000320193",
"name": "Apple Inc.",
"entity_type": "operating",
"sic": { "code": "3571", "description": "Electronic Computers" },
"ein": "94-2404110",
"state_of_incorporation": "CA",
"fiscal_year_end": "09-25",
"tickers": ["AAPL"],
"exchanges": ["Nasdaq"],
"filer_category": "Large accelerated filer",
"phone": "(408) 996-1010",
"website": null,
"lei": null,
"business_address": {
"street": ["ONE APPLE PARK WAY"],
"city": "CUPERTINO",
"state_or_country": "CA",
"zip": "95014"
},
"mailing_address": {
"street": ["ONE APPLE PARK WAY"],
"city": "CUPERTINO",
"state_or_country": "CA",
"zip": "95014"
},
"former_names": [
{ "name": "APPLE INC", "from": "2007-01-10", "to": "2019-08-05" },
{ "name": "APPLE COMPUTER INC", "from": "1994-01-26", "to": "2007-01-04" },
{ "name": "APPLE COMPUTER INC/ FA", "from": "1997-07-28", "to": "1997-07-28" }
],
"filings_url": "https://www.sec.gov/edgar/browse/?CIK=320193"
},
"financials": {
"revenue": {
"value": 478834000000,
"unit": "USD",
"concept": "us-gaap:RevenueFromContractWithCustomerExcludingAssessedTax",
"period_start": "2025-09-28",
"period_end": "2026-09-26",
"fiscal_year": 2026,
"fiscal_period": "FY",
"form": "10-K",
"filed": "2026-11-03",
"accession": "0000320193-26-000026"
},
"net_income": {
"value": 132175000000,
"unit": "USD",
"concept": "us-gaap:NetIncomeLoss",
"period_start": "2025-09-28",
"period_end": "2026-09-26",
"fiscal_year": 2026,
"fiscal_period": "FY",
"form": "10-K",
"filed": "2026-11-03",
"accession": "0000320193-26-000026"
},
"assets": {
"value": 404548000000,
"unit": "USD",
"concept": "us-gaap:Assets",
"period_start": null,
"period_end": "2026-09-26",
"fiscal_year": 2026,
"fiscal_period": "FY",
"form": "10-K",
"filed": "2026-11-03",
"accession": "0000320193-26-000026"
},
"liabilities": {
"value": 292455000000,
"unit": "USD",
"concept": "us-gaap:Liabilities",
"period_start": null,
"period_end": "2026-09-26",
"fiscal_year": 2026,
"fiscal_period": "FY",
"form": "10-K",
"filed": "2026-11-03",
"accession": "0000320193-26-000026"
},
"equity": {
"value": 112093000000,
"unit": "USD",
"concept": "us-gaap:StockholdersEquity",
"period_start": null,
"period_end": "2026-09-26",
"fiscal_year": 2026,
"fiscal_period": "FY",
"form": "10-K",
"filed": "2026-11-03",
"accession": "0000320193-26-000026"
},
"cash": {
"value": 36305000000,
"unit": "USD",
"concept": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
"period_start": null,
"period_end": "2026-09-26",
"fiscal_year": 2026,
"fiscal_period": "FY",
"form": "10-K",
"filed": "2026-11-03",
"accession": "0000320193-26-000026"
},
"shares_outstanding": {
"value": 14532182000,
"unit": "shares",
"concept": "dei:EntityCommonStockSharesOutstanding",
"period_start": null,
"period_end": "2026-10-23",
"fiscal_year": 2026,
"fiscal_period": "FY",
"form": "10-K",
"filed": "2026-11-03",
"accession": "0000320193-26-000026"
}
},
"events": [
{
"form": "8-K",
"filed": "2026-11-09",
"report_date": "2026-11-05",
"accession": "0001140361-26-042798",
"items": [
{ "code": "8.01", "description": "Other Events" },
{ "code": "9.01", "description": "Financial Statements and Exhibits" }
],
"url": "https://www.sec.gov/Archives/edgar/data/320193/000114036126042798/ef20085077_8k.htm"
},
{
"form": "8-K",
"filed": "2026-11-02",
"report_date": "2026-11-02",
"accession": "0000320193-26-000024",
"items": [
{ "code": "2.02", "description": "Results of Operations and Financial Condition" },
{ "code": "9.01", "description": "Financial Statements and Exhibits" }
],
"url": "https://www.sec.gov/Archives/edgar/data/320193/000032019326000024/aapl-20261102.htm"
},
{
"form": "8-K/A",
"filed": "2026-09-01",
"report_date": "2026-04-17",
"accession": "0001140361-26-035325",
"items": [
{
"code": "5.02",
"description": "Departure or Election of Directors and Officers; Compensatory Arrangements"
}
],
"url": "https://www.sec.gov/Archives/edgar/data/320193/000114036126035325/ef20081427_8ka.htm"
}
],
"offerings": [],
"matches": null,
"credits_used": 1,
"cached": false
}
Act on the status
status |
query |
What it means | What to do |
|---|---|---|---|
found |
any | EDGAR has the company. | After a name search, confirm company.name and company.cik: the other candidates are in matches. |
not_found |
ticker |
The ticker is not in the SEC's list of current tickers: it was delisted, changed, or belongs to a security that is not registered with the SEC. | Search by name, or by cik when you have it. |
not_found |
cik |
EDGAR has no filer with this CIK. | Check the number on EDGAR. |
not_found |
name |
No EDGAR company name matches. | Try the legal name, or the ticker. |
Every status is billed 1 credit, because the lookup ran.
Only SEC filers are covered: a company that never filed with the SEC is not found, and company.ein is only the EIN a filer reported to the SEC, null when it reported none. For the EIN of a tax-exempt organization, use the nonprofit lookup.
Test keys never call EDGAR. They know one fictional company, Sample Holdings Inc., with CIK 9999901 and tickers SMPL and SMPLW, which has financials, two 8-K filings and one Form D. Any other ticker or CIK is not_found.
How the company is found
A ticker is looked up in the SEC's list of current tickers, which the API keeps for 24 hours: a ticker listed today can take that long to resolve. A name is compared with the names on that list first; when no listed company matches closely, the EDGAR company search is used, which also finds companies without a ticker, such as private issuers that filed a Form D.
How the financials are chosen
Each figure is read from the XBRL data the company files with its reports, trying the usual US GAAP and IFRS concepts; concept tells which one was used. Revenue and net income are the latest full fiscal year, taken from an annual report (10-K, 10-KT, 20-F or 40-F, amendments included). Assets, liabilities, equity and cash are the latest balance reported in any filing, quarterly ones included. Shares outstanding come from the cover page of the latest filing that reports them, or from the balance sheet when no cover page does, all share classes added up. Amounts are in the currency the company reports in, given in unit.
8-K items
An 8-K is the report a public company files within days of a material event. Each item number names the kind of event; the most common are:
| Item | Event |
|---|---|
1.01 |
Entry into a Material Definitive Agreement |
1.03 |
Bankruptcy or Receivership |
1.05 |
Material Cybersecurity Incidents |
2.02 |
Results of Operations and Financial Condition |
4.01 |
Changes in Registrant's Certifying Accountant |
5.01 |
Changes in Control of Registrant |
5.02 |
Departure or Election of Directors and Officers; Compensatory Arrangements |
8.01 |
Other Events |
9.01 |
Financial Statements and Exhibits |
Every item of the SEC's Form 8-K is decoded in items.description.
Form D
A Form D is the notice a company files when it raises money without registering the offering, under Regulation D or section 4(a)(5) of the Securities Act. It states how much the company sold, how much it means to raise, the number of investors and the date of the first sale, so it shows private fundraising that never appears in an annual report. The API reads each Form D document and returns these amounts as the issuer stated them.
Where the data comes from
Data comes from the SEC EDGAR APIs, read at request time: the company tickers list, the submissions file of the company, its XBRL company facts and its Form D documents. The SEC states that information on its website is public and may be copied or distributed without permission. Requests follow the SEC's fair access policy and name Qelka and its support address in their User-Agent. See the data sources page.
Get the financials only
Send include: ["financials"] to skip the 8-K and Form D sections: events and offerings come back null. With a test key in QELKA_API_KEY, this request returns:
curl https://api.qelka.com/v1/sec/company \
--max-time 60 \
-H "Authorization: Bearer $QELKA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ticker": "SMPL", "include": ["financials"]}'
const response = await fetch('https://api.qelka.com/v1/sec/company', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.QELKA_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({ ticker: 'SMPL', include: ['financials'] }),
signal: AbortSignal.timeout(60_000),
})
const result = await response.json()
console.log(result)
import os
import requests
api_key = os.environ["QELKA_API_KEY"]
response = requests.post(
"https://api.qelka.com/v1/sec/company",
headers={"Authorization": f"Bearer {api_key}"},
json={"ticker": "SMPL", "include": ["financials"]},
timeout=60,
)
result = response.json()
print(result)
{
"id": "lkp_01M8CGA7H9QZ3D6K0TRM5XB2NF",
"object": "sec_company",
"input": "SMPL",
"query": "ticker",
"status": "found",
"company": {
"cik": "0009999901",
"name": "Sample Holdings Inc.",
"entity_type": "operating",
"sic": { "code": "7372", "description": "Services-Prepackaged Software" },
"ein": "00-0000001",
"state_of_incorporation": "DE",
"fiscal_year_end": "12-31",
"tickers": ["SMPL", "SMPLW"],
"exchanges": ["Nasdaq", "Nasdaq"],
"filer_category": "Non-accelerated filer",
"phone": "555-010-0300",
"website": null,
"lei": null,
"business_address": {
"street": ["1 EXAMPLE PLAZA"],
"city": "SPRINGFIELD",
"state_or_country": "IL",
"zip": "62701"
},
"mailing_address": {
"street": ["1 EXAMPLE PLAZA"],
"city": "SPRINGFIELD",
"state_or_country": "IL",
"zip": "62701"
},
"former_names": [{ "name": "SAMPLE CORP", "from": "2015-01-02", "to": "2021-06-30" }],
"filings_url": "https://www.sec.gov/edgar/browse/?CIK=9999901"
},
"financials": {
"revenue": {
"value": 152400000,
"unit": "USD",
"concept": "us-gaap:Revenues",
"period_start": "2025-01-01",
"period_end": "2025-12-31",
"fiscal_year": 2025,
"fiscal_period": "FY",
"form": "10-K",
"filed": "2026-02-27",
"accession": "0009999901-26-000004"
},
"net_income": {
"value": 12800000,
"unit": "USD",
"concept": "us-gaap:NetIncomeLoss",
"period_start": "2025-01-01",
"period_end": "2025-12-31",
"fiscal_year": 2025,
"fiscal_period": "FY",
"form": "10-K",
"filed": "2026-02-27",
"accession": "0009999901-26-000004"
},
"assets": {
"value": 310500000,
"unit": "USD",
"concept": "us-gaap:Assets",
"period_start": null,
"period_end": "2025-12-31",
"fiscal_year": 2025,
"fiscal_period": "FY",
"form": "10-K",
"filed": "2026-02-27",
"accession": "0009999901-26-000004"
},
"liabilities": {
"value": 120300000,
"unit": "USD",
"concept": "us-gaap:Liabilities",
"period_start": null,
"period_end": "2025-12-31",
"fiscal_year": 2025,
"fiscal_period": "FY",
"form": "10-K",
"filed": "2026-02-27",
"accession": "0009999901-26-000004"
},
"equity": {
"value": 190200000,
"unit": "USD",
"concept": "us-gaap:StockholdersEquity",
"period_start": null,
"period_end": "2025-12-31",
"fiscal_year": 2025,
"fiscal_period": "FY",
"form": "10-K",
"filed": "2026-02-27",
"accession": "0009999901-26-000004"
},
"cash": {
"value": 64100000,
"unit": "USD",
"concept": "us-gaap:CashAndCashEquivalentsAtCarryingValue",
"period_start": null,
"period_end": "2025-12-31",
"fiscal_year": 2025,
"fiscal_period": "FY",
"form": "10-K",
"filed": "2026-02-27",
"accession": "0009999901-26-000004"
},
"shares_outstanding": {
"value": 48200000,
"unit": "shares",
"concept": "dei:EntityCommonStockSharesOutstanding",
"period_start": null,
"period_end": "2026-02-20",
"fiscal_year": 2025,
"fiscal_period": "FY",
"form": "10-K",
"filed": "2026-02-27",
"accession": "0009999901-26-000004"
}
},
"events": null,
"offerings": null,
"matches": null,
"credits_used": 0,
"cached": false
}
Get the Form D offerings
Send include: ["offerings"]. With a test key, the fictional company's Form D comes back:
curl https://api.qelka.com/v1/sec/company \
--max-time 60 \
-H "Authorization: Bearer $QELKA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ticker": "SMPL", "include": ["offerings"]}'
const response = await fetch('https://api.qelka.com/v1/sec/company', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.QELKA_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({ ticker: 'SMPL', include: ['offerings'] }),
signal: AbortSignal.timeout(60_000),
})
const result = await response.json()
console.log(result)
import os
import requests
api_key = os.environ["QELKA_API_KEY"]
response = requests.post(
"https://api.qelka.com/v1/sec/company",
headers={"Authorization": f"Bearer {api_key}"},
json={"ticker": "SMPL", "include": ["offerings"]},
timeout=60,
)
result = response.json()
print(result)
{
"id": "lkp_01M8CGA8C2VN7J1W4YGS9PE3KA",
"object": "sec_company",
"input": "SMPL",
"query": "ticker",
"status": "found",
"company": {
"cik": "0009999901",
"name": "Sample Holdings Inc.",
"entity_type": "operating",
"sic": { "code": "7372", "description": "Services-Prepackaged Software" },
"ein": "00-0000001",
"state_of_incorporation": "DE",
"fiscal_year_end": "12-31",
"tickers": ["SMPL", "SMPLW"],
"exchanges": ["Nasdaq", "Nasdaq"],
"filer_category": "Non-accelerated filer",
"phone": "555-010-0300",
"website": null,
"lei": null,
"business_address": {
"street": ["1 EXAMPLE PLAZA"],
"city": "SPRINGFIELD",
"state_or_country": "IL",
"zip": "62701"
},
"mailing_address": {
"street": ["1 EXAMPLE PLAZA"],
"city": "SPRINGFIELD",
"state_or_country": "IL",
"zip": "62701"
},
"former_names": [{ "name": "SAMPLE CORP", "from": "2015-01-02", "to": "2021-06-30" }],
"filings_url": "https://www.sec.gov/edgar/browse/?CIK=9999901"
},
"financials": null,
"events": null,
"offerings": [
{
"form": "D",
"filed": "2025-11-14",
"accession": "0009999901-25-000020",
"first_sale_date": "2025-10-01",
"total_offering_amount": 20000000,
"indefinite": false,
"total_amount_sold": 15000000,
"total_remaining": 5000000,
"investors": 12,
"industry_group": "Other Technology",
"exemptions": ["Rule 506(b)"],
"url": "https://www.sec.gov/Archives/edgar/data/9999901/000999990125000020/primary_doc.xml"
}
],
"matches": null,
"credits_used": 0,
"cached": false
}
Errors
| Status | Type | When |
|---|---|---|
| 400 | invalid_request | Not exactly one of ticker, cik and name, ticker empty or longer than 12 characters, cik not a positive integer or a string of 1 to 10 digits, name shorter than 2 or longer than 200 characters, include with an unknown section or more than three, a body that is not a JSON object, or a field the request table does not list |
| 401 | invalid_api_key | The key is missing, unknown or revoked |
| 402 | insufficient_credits | Your balance is less than 1 credit (live keys only) |
| 403 | forbidden | The key is restricted to other endpoints |
| 405 | invalid_request | The method is not POST |
| 422 | unprocessable_input | The ticker has characters other than letters, digits, dots, slashes, spaces and dashes, cik is a string of zeros, or the name has no word of two letters or more |
| 429 | rate_limited | Too many requests: wait Retry-After seconds |
| 500 | internal_error | Unexpected error on our side: retry with backoff |
| 502 | upstream_unavailable | EDGAR could not be reached, answered with an error or did not answer within 10 seconds: retry later |
No error is billed. A ticker that EDGAR does not know is not an error: it is a 200 with status: "not_found".
Related
- SEC company data API
- Free tools: SEC financials, 8-K filings, Form D lookup, EIN lookup
- Bank lookup (FDIC) and nonprofit lookup for EINs of exempt organizations
- Batch: up to 100 lookups in one call, each item with
type: "sec_company" - Bulk: a whole file of tickers, CIKs or names with
type=sec_company - Caching, Errors, Test mode