---
title: "Get a SEC company's financial-statement history"
method: GET
path: "/datasets/sec-companies/financials/{cik}"
tags: ["Datasets"]
---

# Get a SEC company's financial-statement history

`GET /datasets/sec-companies/financials/{cik}`

## Request

- Base URL: `https://api.crawlora.net/api/v1`
- URL: `https://api.crawlora.net/api/v1/datasets/sec-companies/financials/{cik}`
- Auth: API key in header `x-api-key`

Returns a company's financial-statement history (income statement, balance sheet, cash flow) from the SEC companies dataset, newest fiscal year first. An unknown CIK or a company with no XBRL data returns an empty series rather than a 404 — most filers without a current ticker have no financial-statement history at all. `lines` keys are the same concept names the live `/sec/financials` endpoint uses (e.g. `revenue`, `net_income`, `total_assets`); `ratios` keys include `gross_margin`, `operating_margin`, `net_margin`, `revenue_growth_yoy`, `current_ratio`, `debt_to_equity`, `free_cash_flow` where derivable. statement enum: `income`, `balance`, `cash_flow`. period enum: `annual`, `quarterly`.

## Path parameters

- `cik` string, required

## Query parameters

- `statement` 'income' | 'balance' | 'cash_flow'
- `period` 'annual' | 'quarterly'
- `from` integer
- `to` integer
- `limit` integer

## Headers

- `x-api-key` string, required

## Response `200`

OK

- DatasetsSecCompaniesFinancialsResponseDoc
  - `code` integer
  - `data` DatasetsSecCompanyFinancialsResponse
    - `cik` integer: SEC Central Index Key (CIK) of the company, as a number.
    - `count` integer: Number of data points returned.
    - `dataset` string: Identifier of the dataset queried (`sec-companies`).
    - `points` EsSecFinancialsHistoryPoint[]: Financial statement history points for the company, newest fiscal year first.
      - `cik` integer: SEC Central Index Key of the company.
      - `currency` string: Currency the figures are reported in, such as `USD`.
      - `end_date` string: Last day of the reporting period, in YYYY-MM-DD format.
      - `fiscal_period` string: e.g. FY, Q1..Q4
      - `fiscal_year` integer: Fiscal year the period belongs to.
      - `form` string: SEC form the figures were reported in, such as `10-K`.
      - `lines` object: Financial statement line items for the period, keyed by name such as `revenue` or `net_income`.
      - `period` string: annual | quarterly
      - `ratios` object: Ratios calculated from the line items, keyed by name such as `gross_margin` or `net_margin`.
      - `statement` string: income | balance | cash_flow
      - `synced_at` string: Time this period was last updated, in UTC (RFC 3339).
  - `msg` string

## Other responses

- `400`: Bad Request
- `429`: Too Many Requests
- `500`: Internal Server Error

---

[API](https://skmtc.dev/crawlora/apis/crawlora-api.md) · [All operations](https://skmtc.dev/crawlora/apis/crawlora-api/llms.txt) · [OpenAPI document](https://skmtc.dev/crawlora/apis/crawlora-api/revisions/afac9b012a27?raw)
