# 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.

`POST https://api.qelka.com/v1/sec/company`

Look 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`.

| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| `ticker` | string | One of `ticker`, `cik` or `name` | none | Stock ticker, 1 to 12 characters, such as `AAPL`. Case does not matter, and a dot, slash or space counts as a dash, so `BRK.B` and `BRK-B` are the same. |
| `cik` | integer or string | One of `ticker`, `cik` or `name` | none | SEC Central Index Key: a positive integer, or a string of 1 to 10 digits, leading zeros allowed. |
| `name` | string | One of `ticker`, `cik` or `name` | none | Company name to search, 2 to 200 characters. The best EDGAR match is returned, with up to 10 candidates. |
| `include` | array of strings | No | `["financials", "events", "offerings"]` | Sections to add to the profile, up to three: `financials` (XBRL company facts), `events` (recent 8-K filings), `offerings` (Form D filings). Send `[]` for the profile alone. |
| `fresh` | boolean | No | `false` | `true` 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.

```bash title="cURL"
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"}'
```
```javascript title="Node.js"
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)
```
```python title="Python"
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 title="PHP"
<?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);
```
```go title="Go"
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)
}
```
```ruby title="Ruby"
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`.

| Field | Type | Description |
|---|---|---|
| `id` | string | Identifier of this lookup: `lkp_` followed by 26 characters. |
| `object` | string | Always `sec_company`. |
| `input` | string | The `ticker`, `cik` or `name` you sent, as a string. |
| `query` | string | `ticker`, `cik` or `name`: how the company was found. |
| `status` | string | `found` or `not_found`. |
| `company` | object or null | The EDGAR profile of the company. |
| `company.cik` | string | Central Index Key, 10 digits with leading zeros. |
| `company.name` | string | Name as EDGAR records it. |
| `company.entity_type` | string or null | EDGAR entity type, such as `operating`. |
| `company.sic` | object or null | Standard Industrial Classification. |
| `company.sic.code` | string | SIC code, such as `3571`. |
| `company.sic.description` | string or null | What the code stands for, such as `Electronic Computers`. |
| `company.ein` | string or null | Employer Identification Number reported to the SEC, `XX-XXXXXXX`. `null` when none is reported. |
| `company.state_of_incorporation` | string or null | State or country of incorporation. |
| `company.fiscal_year_end` | string or null | Month and day the fiscal year ends, `MM-DD`. |
| `company.tickers` | array of strings | Tickers of the company's listed securities. |
| `company.exchanges` | array of strings | Exchanges they trade on, in the same order as `tickers`. |
| `company.filer_category` | string or null | SEC filer category, such as `Large accelerated filer`. |
| `company.phone` | string or null | Business phone number. |
| `company.website` | string or null | Website, when the company reported one. |
| `company.lei` | string or null | Legal Entity Identifier, when the company reported one. |
| `company.business_address` | object or null | Business address. |
| `company.business_address.street` | array of strings | Street lines. |
| `company.business_address.city` | string or null | City. |
| `company.business_address.state_or_country` | string or null | State or country. |
| `company.business_address.zip` | string or null | Postal code. |
| `company.mailing_address` | object or null | Mailing address, with the same fields. |
| `company.former_names` | array of objects | Names the company filed under before. |
| `company.former_names.name` | string | The former name. |
| `company.former_names.from` | string or null | First date it was used, `YYYY-MM-DD`. |
| `company.former_names.to` | string or null | Last date it was used, `YYYY-MM-DD`. |
| `company.filings_url` | string | The company's filing list on EDGAR. |
| `financials` | object or null | Key figures from the company's XBRL financial data. `null` when not requested, when the company files no XBRL data, or when its data is too large to read in one call. |
| `financials.revenue` | object or null | Revenue of the latest fiscal year reported in an annual report. |
| `financials.revenue.value` | number | The amount. |
| `financials.revenue.unit` | string | `USD`, another currency code, or `shares`. |
| `financials.revenue.concept` | string | The XBRL concept the value was read from, such as `us-gaap:Revenues`. |
| `financials.revenue.period_start` | string or null | First day of the period, `YYYY-MM-DD`. `null` for a balance at a date. |
| `financials.revenue.period_end` | string | Last day of the period, or the date of the balance, `YYYY-MM-DD`. |
| `financials.revenue.fiscal_year` | integer or null | Fiscal year of the filing the value comes from. |
| `financials.revenue.fiscal_period` | string or null | Fiscal period of that filing, such as `FY` or `Q2`. |
| `financials.revenue.form` | string | Form of that filing, such as `10-K`. |
| `financials.revenue.filed` | string | Date it was filed, `YYYY-MM-DD`. |
| `financials.revenue.accession` | string | Its EDGAR accession number. |
| `financials.net_income` | object or null | Net income of the latest fiscal year reported in an annual report, with the same fields as `revenue`. |
| `financials.assets` | object or null | Latest total assets, with the same fields. |
| `financials.liabilities` | object or null | Latest total liabilities, with the same fields. |
| `financials.equity` | object or null | Latest stockholders' equity, with the same fields. |
| `financials.cash` | object or null | Latest cash and cash equivalents, with the same fields. |
| `financials.shares_outstanding` | object or null | Latest shares outstanding from the cover page of a filing, all share classes added up, with the same fields and `unit: "shares"`. |
| `events` | array of objects or null | Up to 10 most recent 8-K and 8-K/A filings, newest first. `null` when not requested. |
| `events.form` | string | `8-K` or `8-K/A`. |
| `events.filed` | string | Filing date, `YYYY-MM-DD`. |
| `events.report_date` | string or null | Date of the earliest event reported, `YYYY-MM-DD`. |
| `events.accession` | string | EDGAR accession number. |
| `events.items` | array of objects | The items the filing reports. |
| `events.items.code` | string | Item number, such as `5.02`. |
| `events.items.description` | string or null | Title of the item, such as `Departure or Election of Directors and Officers; Compensatory Arrangements`. |
| `events.url` | string | The filing's main document on EDGAR. |
| `offerings` | array of objects or null | Up to 5 most recent Form D and Form D/A filings, newest first. `null` when not requested; empty when the company filed none. |
| `offerings.form` | string | `D` or `D/A`. |
| `offerings.filed` | string | Filing date, `YYYY-MM-DD`. |
| `offerings.accession` | string | EDGAR accession number. |
| `offerings.first_sale_date` | string or null | Date of the first sale, `YYYY-MM-DD`. `null` when the first sale had not happened yet. |
| `offerings.total_offering_amount` | number or null | Size of the offering, in US dollars. `null` when it is indefinite or not stated. |
| `offerings.indefinite` | boolean | `true` when the issuer declared an indefinite offering amount. |
| `offerings.total_amount_sold` | number or null | Amount sold so far, in US dollars. |
| `offerings.total_remaining` | number or null | Amount left to sell, in US dollars. `null` when indefinite. |
| `offerings.investors` | integer or null | Number of investors who have already invested. |
| `offerings.industry_group` | string or null | Industry group the issuer chose, such as `Other Technology`. |
| `offerings.exemptions` | array of strings | Federal exemptions claimed, such as `Rule 506(b)` or `Investment Company Act Section 3(c)(1)`. |
| `offerings.url` | string | The Form D document on EDGAR. |
| `matches` | array of objects or null | For a name search: the candidates, best first. `null` for a ticker or CIK. |
| `matches.cik` | string | CIK, 10 digits. |
| `matches.name` | string | Company name. |
| `matches.tickers` | array of strings | Its tickers, empty when it has none. |
| `credits_used` | integer | Credits debited for this call: 1 with a live key, `0` with a test key. |
| `cached` | boolean | `true` 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.

```json title="Response"
{
  "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](https://qelka.com/docs/api-reference/nonprofit).

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](https://www.sec.gov/search-filings/edgar-application-programming-interfaces), 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](https://qelka.com/data-sources).

## Examples

### 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:

```bash title="cURL"
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"]}'
```
```javascript title="Node.js"
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)
```
```python title="Python"
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)
```

```json title="Response"
{
  "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:

```bash title="cURL"
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"]}'
```
```javascript title="Node.js"
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)
```
```python title="Python"
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)
```

```json title="Response"
{
  "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](https://qelka.com/docs/errors#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](https://qelka.com/docs/errors#invalid_api_key) | The key is missing, unknown or revoked |
| 402 | [insufficient_credits](https://qelka.com/docs/errors#insufficient_credits) | Your balance is less than 1 credit (live keys only) |
| 403 | [forbidden](https://qelka.com/docs/errors#forbidden) | The key is restricted to other endpoints |
| 405 | [invalid_request](https://qelka.com/docs/errors#invalid_request) | The method is not `POST` |
| 422 | [unprocessable_input](https://qelka.com/docs/errors#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](https://qelka.com/docs/errors#rate_limited) | Too many requests: wait `Retry-After` seconds |
| 500 | [internal_error](https://qelka.com/docs/errors#internal_error) | Unexpected error on our side: retry with backoff |
| 502 | [upstream_unavailable](https://qelka.com/docs/errors#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](https://qelka.com/products/sec-company-data)
- Free tools: [SEC financials](https://qelka.com/tools/sec-financials), [8-K filings](https://qelka.com/tools/8k-filings), [Form D lookup](https://qelka.com/tools/form-d-lookup), [EIN lookup](https://qelka.com/tools/ein-lookup)
- [Bank lookup (FDIC)](https://qelka.com/docs/api-reference/bank) and [nonprofit lookup](https://qelka.com/docs/api-reference/nonprofit) for EINs of exempt organizations
- [Batch](https://qelka.com/docs/api-reference/batch): up to 100 lookups in one call, each item with `type: "sec_company"`
- [Bulk](https://qelka.com/docs/api-reference/bulk): a whole file of tickers, CIKs or names with `type=sec_company`
- [Caching](https://qelka.com/docs/caching), [Errors](https://qelka.com/docs/errors), [Test mode](https://qelka.com/docs/test-mode)
