Skip to main content

Endpoint

GET
string
https://api.llmquant.com/financials/cash-flow-statements

Parameters

Required

ticker
string
required
The stock ticker symbol (e.g. AAPL, MSFT).
period
string
required
The reporting period. One of: annual, quarterly, ttm.

Optional

limit
integer
default:4
Maximum number of statements to return.
cik
string
The SEC Central Index Key (CIK) of the company. Alternative to ticker.
report_period
date
Filter by exact reporting period date (YYYY-MM-DD).
report_period_gte
date
Filter by reporting period greater than or equal to date (YYYY-MM-DD).
report_period_lte
date
Filter by reporting period less than or equal to date (YYYY-MM-DD).

Response

cash_flow_statements
array
Array of CashFlowStatement objects.

Code Examples

import requests

headers = {"X-API-KEY": "your_api_key_here"}

ticker = "AAPL"
period = "annual"
limit = 10

url = (
    f"https://api.llmquant.com/financials/cash-flow-statements"
    f"?ticker={ticker}"
    f"&period={period}"
    f"&limit={limit}"
)

response = requests.get(url, headers=headers)
cash_flow_statements = response.json().get("cash_flow_statements")