Endpoint
https://api.llmquant.com/financials/cash-flow-statements
Parameters
Required
The stock ticker symbol (e.g. AAPL, MSFT).
The reporting period. One of: annual, quarterly, ttm.
Optional
Maximum number of statements to return.
The SEC Central Index Key (CIK) of the company. Alternative to ticker.
Filter by exact reporting period date (YYYY-MM-DD).
Filter by reporting period greater than or equal to date (YYYY-MM-DD).
Filter by reporting period less than or equal to date (YYYY-MM-DD).
Response
Array of CashFlowStatement objects.
The end date of the reporting period (YYYY-MM-DD).
The fiscal period label (e.g. Q1, FY).
One of: annual, quarterly, ttm.
Reporting currency (e.g. USD).
Net income (starting point for operating cash flows).
depreciation_and_amortization
Depreciation and amortization.
Stock-based compensation expense.
change_in_working_capital
Net change in working capital.
Net cash provided by operating activities.
Capital expenditures (purchases of property, plant and equipment).
Cash paid for acquisitions, net of cash acquired.
Net cash used in investing activities.
Dividends paid to shareholders.
Repurchases of common stock.
Net cash used in financing activities.
Free cash flow (cash_from_operations - capital_expenditures).
Net increase (decrease) in cash and equivalents.
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")