Canli Fundamentals
v0.10.0SEC fundamentals point in time: first reported, known as of a date, every restatement.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
known_as_of Known as of a date
Get what a company had reported as of a date: per measure, the latest period filed by then and its value (changed_after: true adds whether a filing after the date changed it); optionally ratios from those filings. For point-in-time backtests.
| Parameter | Type | Description |
|---|---|---|
as_of * | string | Decision date: only filings on or before it count. |
company * | string | Ticker (AAPL), CIK or company name. |
changed_after | boolean | |
concepts | array | Default: ten common measures. |
periods | string | annual (default) or quarterly. |
ratios | boolean | Adds margins, ROE, ROA, leverage, free cash flow. |
history Measure history
Get a measure (or several, with concepts) over time, newest first: latest (default), first reported, or as known on a filing date, with its filing, other version and yearly change.
| Parameter | Type | Description |
|---|---|---|
company * | string | Ticker (AAPL), CIK or company name. |
as_of | string | A filing date, not a period end: only filings made by then count. |
basis | string | latest (default), first_reported, or as_of (default with as_of). |
concept | string | Plain name (revenue, eps_diluted, assets; follows tag changes) or XBRL tag (Revenues). |
concepts | array | Instead of concept: 2-6 measures. |
limit | integer | Default 20, newest first. |
periods | string | annual (default), quarterly, or all (adds year-to-date). |
unit | string | Default: the unit with most periods. |
restatements Restated periods
List periods whose value changed in a later filing, with first and latest values, % change and cause (stock splits left out by default). Omit concept to scan everything.
| Parameter | Type | Description |
|---|---|---|
company * | string | Ticker (AAPL), CIK or company name. |
concept | string | Default: every concept. |
include_splits | boolean | Also list stock-split changes; default false. |
limit | integer | Default 25, newest first. |
min_change_pct | number | Minimum absolute change, % of first value. |
offset | integer | next_offset from the last page. |
periods | string | annual (default), quarterly, or all (adds year-to-date). |
since | string | Only periods ending on or after. |
vintage_diff History as known on two dates
A company's history as known on two dates: each period whose value changed between them, with the filing that changed it, and how many periods were first reported in between.
| Parameter | Type | Description |
|---|---|---|
company * | string | Ticker (AAPL), CIK or company name. |
from * | string | Values as known on this date. |
concept | string | Default: every concept. |
limit | integer | Default 25. |
offset | integer | next_offset from the last page. |
periods | string | annual (default), quarterly, or all (adds year-to-date). |
to | string | Default today. |
vintages Filing vintages
List every filing that reported one period of one measure, oldest first: the revision history behind a number.
| Parameter | Type | Description |
|---|---|---|
company * | string | Ticker (AAPL), CIK or company name. |
concept * | string | Plain name (revenue, eps_diluted, assets; follows tag changes) or XBRL tag (Revenues). |
end * | string | Period end. |
start | string | Period start, when several periods share the end (quarter vs year-to-date). |
unit | string | Default: the unit with most periods. |
list_concepts List concepts
List the XBRL concepts a company reports and the plain names it supports, with units, periods, date range and restated-period counts.
| Parameter | Type | Description |
|---|---|---|
company * | string | Ticker (AAPL), CIK or company name. |
limit | integer | Default 40. |
offset | integer | next_offset from the last page. |
search | string | Words in concept names or labels, e.g. revenue. |
find_company Find a company
Find a company's SEC CIK and tickers by name, ticker or CIK. The other tools also take a name as company.
| Parameter | Type | Description |
|---|---|---|
query * | string | Name (Exxon Mobil), ticker or CIK. |
limit | integer | Default 8. |
cross_section Cross-section as of a date
Get one measure for up to 50 companies as filed by a date: each one's latest period and its value then (changed_after: true adds whether a filing after the date changed it). For point-in-time peer and factor work.
| Parameter | Type | Description |
|---|---|---|
as_of * | string | Only filings on or before it count. |
companies * | array | Tickers, CIKs or names. |
concept * | string | Plain name (revenue, eps_diluted, assets; follows tag changes) or XBRL tag (Revenues). |
changed_after | boolean | |
periods | string | annual (default) or quarterly. |