Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

Financial Datasets Get Cash Flow Statements

API 文件
https://api.sandbase.ai/v1/api/financial-datasets/financials-cash-flow-statements

Get Cash Flow Statements from Financial Datasets. Returns the official Financial Datasets API response unchanged.

價格
$0.02美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 16 個選填

Playground

輸入
The time period of the cash flow statements.
The Central Index Key (CIK) of the company.
Opaque pagination cursor from a previous response's next_page_url. When provided, all other query parameters are ignored: the cursor carries the original request's filters. Treat it as opaque; do not construct or modify it.
The exchange the ticker is listed on. Omit for US listings. Use `LSE` for the London Stock Exchange; any ticker of the company, including a second share class, returns the company's statements.
Filter by exact SEC filing date in YYYY-MM-DD format. Rows without a known filing date are excluded.
Filter by SEC filing date greater than date in YYYY-MM-DD format. Rows without a known filing date are excluded.
Filter by SEC filing date greater than or equal to date in YYYY-MM-DD format. Rows without a known filing date are excluded.
Filter by SEC filing date less than date in YYYY-MM-DD format. Rows without a known filing date are excluded.
Filter by SEC filing date less than or equal to date in YYYY-MM-DD format. Useful for point-in-time queries: returns only data that was publicly filed by the given date. Rows without a known filing date are excluded.
The ISIN (International Securities Identification Number) of a non-US listing. An alternative to `ticker` and `exchange`.
The maximum number of cash flow statements to return. This is the total across all pages, not a page size: each page holds up to 10 records, linked by `next_page_url`.
Filter by exact report period date in YYYY-MM-DD format.
Filter by report period greater than date in YYYY-MM-DD format.
Filter by report period greater than or equal to date in YYYY-MM-DD format.
Filter by report period less than date in YYYY-MM-DD format.
Filter by report period less than or equal to date in YYYY-MM-DD format.
The ticker symbol. Required if cik or isin is not provided.
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

Financial Datasets Get Cash Flow Statements API

Returns cash flow statements for a public company, one record per reporting period. You choose the period (annual, quarterly or ttm) and identify the company with ticker, cik or isin.

Use cases

  • Track operating cash flow and free cash flow for a company across several fiscal years.
  • Compare share buybacks and dividends against net_cash_flow_from_operations to see how a company returns cash.
  • Pull statements filed on or before a past date to build point-in-time backtests.
  • Link each statement to its SEC filing page to check the source document.

Request

curl -X POST "https://api.sandbase.ai/v1/api/financial-datasets/financials-cash-flow-statements" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"period": "annual", "limit": 2, "ticker": "AAPL"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
periodstringYesThe time period of the cash flow statements.
cikstringNoThe Central Index Key (CIK) of the company.
cursorstringNoOpaque pagination cursor from a previous response's next_page_url. When provided, all other query parameters are ignored: the cursor carries the original request's filters. Treat it as opaque; do not construct or modify
exchangestringNoThe exchange the ticker is listed on. Omit for US listings. Use LSE for the London Stock Exchange; any ticker of the company, including a second share class, returns the company's statements.
filing_datestringNoFilter by exact SEC filing date in YYYY-MM-DD format. Rows without a known filing date are excluded.
filing_date_gtstringNoFilter by SEC filing date greater than date in YYYY-MM-DD format. Rows without a known filing date are excluded.
filing_date_gtestringNoFilter by SEC filing date greater than or equal to date in YYYY-MM-DD format. Rows without a known filing date are excluded.
filing_date_ltstringNoFilter by SEC filing date less than date in YYYY-MM-DD format. Rows without a known filing date are excluded.
filing_date_ltestringNoFilter by SEC filing date less than or equal to date in YYYY-MM-DD format. Useful for point-in-time queries: returns only data that was publicly filed by the given date. Rows without a known filing date are excluded.
isinstringNoThe ISIN (International Securities Identification Number) of a non-US listing. An alternative to ticker and exchange.
limitintegerNoThe maximum number of cash flow statements to return. This is the total across all pages, not a page size: each page holds up to 10 records, linked by next_page_url.
report_periodstringNoFilter by exact report period date in YYYY-MM-DD format.
report_period_gtstringNoFilter by report period greater than date in YYYY-MM-DD format.
report_period_gtestringNoFilter by report period greater than or equal to date in YYYY-MM-DD format.
report_period_ltstringNoFilter by report period less than date in YYYY-MM-DD format.
report_period_ltestringNoFilter by report period less than or equal to date in YYYY-MM-DD format.
tickerstringNoThe ticker symbol. Required if cik or isin is not provided.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "cash_flow_statements": [
    {
      "accession_number": "0000320193-25-000079",
      "business_acquisitions_and_disposals": null,
      "capital_expenditure": 12715000000.0,
      "change_in_cash_and_equivalents": 5991000000.0,
      "currency": "USD",
      "depreciation_and_amortization": 11698000000.0,
      "dividends_and_other_cash_distributions": 15421000000.0,
      "effect_of_exchange_rate_changes": null,
      "ending_cash_balance": 35934000000.0,
      "filing_date": "2025-10-31",
      "filing_datetime": "2025-10-31T06:01:26-04:00",
      "filing_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019325000079/0000320193-25-…"
    }
  ]
}

Response fields

FieldMeaning
cash_flow_statements[]One cash flow statement per reporting period, newest first in this sample.
ticker / period / fiscal_period / report_periodIdentify the statement: the company ticker, the period type, the fiscal label such as FY2025, and the period end date in YYYY-MM-DD.
net_cash_flow_from_operations / net_cash_flow_from_investing / net_cash_flow_from_financingNet cash from operating, investing and financing activities. Negative values mean cash went out.
free_cash_flowFree cash flow for the period as reported in the record.
net_income / depreciation_and_amortization / share_based_compensationNet income and two common non-cash items used to move from earnings to operating cash flow.
capital_expenditure / property_plant_and_equipmentSpending on capital assets. property_plant_and_equipment can be negative.
dividends_and_other_cash_distributions / issuance_or_purchase_of_equity_shares / issuance_or_repayment_of_debt_securitiesCash paid out as dividends, net equity issuance or repurchase, and net debt issuance or repayment.
change_in_cash_and_equivalents / ending_cash_balanceThe change in cash over the period and the cash balance at the end of it.
filing_date / filing_datetime / form_type / accession_number / filing_urlDetails of the SEC filing the data came from: date, timestamp with offset, form such as 10-K, accession number and a link to the filing index.
currencyCurrency of the amounts, such as USD.

Notes

  • Some fields, such as business_acquisitions_and_disposals and effect_of_exchange_rate_changes, can be null when no value is reported.
  • limit is the total number of records across all pages. Each page holds up to 10 records. Pass the cursor from next_page_url as cursor to get the next page; other filters are then ignored.
  • Use filing_date_lte for point-in-time queries and the report_period filters to select fiscal periods.
  • For the other statements, call Financial Datasets Get Balance Sheets or Financial Datasets Get Income Statements.

Pricing

$0.02 per successful call. Failed calls are not charged.

探索更多

相關 APIs

所有 APIs
API價格回應
Financial Datasets每次呼叫 $0.02JSON
Financial Datasets每次呼叫 $0.02JSON
Financial Datasets每次呼叫 $0.02JSON
Financial Datasets每次呼叫 $0.02JSON
Financial Datasets每次呼叫 $0.02JSON
Financial Datasets每次呼叫 $0.02JSON

問題

常見問題

我要如何使用 Financial Datasets Get Cash Flow Statements API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/financial-datasets/financials-cash-flow-statements。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

Financial Datasets Get Cash Flow Statements API 的費用是多少?

每次 $0.02,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

Financial Datasets Get Cash Flow Statements API 接受哪些參數?

必要:period(annual, quarterly, ttm 之一)。 選填:cik (string), cursor (string), exchange(LSE 之一), filing_date (string), filing_date_gt (string) 和 filing_date_gte (string),以及另外 10 個。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Financial Datasets Get Cash Flow Statements API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 Financial Datasets 開發者帳號或 API 金鑰嗎?

不需要。Financial Datasets Get Cash Flow Statements 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Financial Datasets API 存取權。