periodstring必填
The time period of the financial statements.
可能值:annual, quarterly, ttm
https://api.sandbase.ai/v1/api/financial-datasets/financialsGet Financial Statements from Financial Datasets. Returns the official Financial Datasets API response unchanged.
您的輸出會顯示在這裡
完成輸入後,點擊執行。
Returns balance sheets, cash flow statements and income statements for one company in a single response. Each statement list holds one record per reporting period. The call needs period and one company identifier: ticker, cik or isin.
filing_date_lte so only data already filed is used.curl -X POST "https://api.sandbase.ai/v1/api/financial-datasets/financials" \
-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.
| Name | Type | Required | Description |
|---|---|---|---|
period | string | Yes | The time period of the financial statements. |
cik | string | No | The Central Index Key (CIK) of the company. |
cursor | string | No | 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 |
exchange | string | No | 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. |
filing_date | string | No | Filter by exact SEC filing date in YYYY-MM-DD format. Rows without a known filing date are excluded. |
filing_date_gt | string | No | Filter by SEC filing date greater than date in YYYY-MM-DD format. Rows without a known filing date are excluded. |
filing_date_gte | string | No | Filter 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_lt | string | No | Filter by SEC filing date less than date in YYYY-MM-DD format. Rows without a known filing date are excluded. |
filing_date_lte | string | No | 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. |
isin | string | No | The ISIN (International Securities Identification Number) of a non-US listing. An alternative to ticker and exchange. |
limit | integer | No | The maximum number of financial 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_period | string | No | Filter by exact report period date in YYYY-MM-DD format. |
report_period_gt | string | No | Filter by report period greater than date in YYYY-MM-DD format. |
report_period_gte | string | No | Filter by report period greater than or equal to date in YYYY-MM-DD format. |
report_period_lt | string | No | Filter by report period less than date in YYYY-MM-DD format. |
report_period_lte | string | No | Filter by report period less than or equal to date in YYYY-MM-DD format. |
ticker | string | No | The ticker symbol. Required if cik or isin is not provided. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"financials": {
"balance_sheets": [
{
"accession_number": "0000320193-25-000079",
"accumulated_other_comprehensive_income": -5571000000.0,
"cash_and_equivalents": 35934000000.0,
"currency": "USD",
"current_assets": 147957000000.0,
"current_debt": 20867000000.0,
"current_investments": 18763000000.0,
"current_liabilities": 165631000000.0,
"deferred_revenue": 9055000000.0,
"deposit_liabilities": 13700000000.0,
"filing_date": "2025-10-31",
"filing_datetime": "2025-10-31T06:01:26-04:00"
}
],
"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-…"
}
],
"income_statements": [
{
"accession_number": "0000320193-25-000079",
"consolidated_income": 112010000000.0,
"cost_of_revenue": 220960000000.0,
"currency": "USD",
"dividends_per_common_share": 1.02,
"earnings_per_share": 7.49,
"earnings_per_share_diluted": 7.46,
"ebit": 133050000000.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-…",
"fiscal_period": "FY2025"
}
]
}
}
| Field | Meaning |
|---|---|
financials.income_statements[].revenue / cost_of_revenue / gross_profit | Total revenue, cost of revenue and gross profit for the period, in the statement currency. |
financials.income_statements[].operating_income / net_income | Operating income and net income for the period. |
financials.income_statements[].earnings_per_share / earnings_per_share_diluted | Basic and diluted earnings per share. |
financials.balance_sheets[].total_assets / total_liabilities / shareholders_equity | Main balance sheet totals at the end of the report period. |
financials.balance_sheets[].cash_and_equivalents / total_debt | Cash and cash equivalents, and total debt, at the end of the report period. |
financials.cash_flow_statements[].net_cash_flow_from_operations / net_cash_flow_from_investing / net_cash_flow_from_financing | Net cash flow from operating, investing and financing activities. Negative values are cash outflows. |
financials.cash_flow_statements[].free_cash_flow / capital_expenditure | Free cash flow and capital expenditure for the period. |
financials.income_statements[].report_period / fiscal_period | Period end date in YYYY-MM-DD format and the fiscal period label, such as FY2025. The same fields appear in all three statement lists. |
financials.income_statements[].filing_date / filing_url / form_type | Date the report was filed, a link to the SEC filing index, and the form type, such as 10-K. |
period as annual, quarterly or ttm. Use report_period_* to filter by period end date and filing_date_* to filter by filing date.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, and do not change it.isin, or use ticker with exchange set to LSE.$0.02 per successful call. Failed calls are not charged.
開始建置
具備統一驗證與用量追蹤的平台 API 端點。
curl -X POST "https://api.sandbase.ai/v1/api/financial-datasets/financials" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 2,
"period": "annual",
"ticker": "AAPL"
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
periodstring必填The time period of the financial statements.
可能值:annual, quarterly, ttm
cikstringThe Central Index Key (CIK) of the company.
cursorstringOpaque 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.
exchangestringThe 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.
可能值:LSE
filing_datestringFilter by exact SEC filing date in YYYY-MM-DD format. Rows without a known filing date are excluded.
filing_date_gtstringFilter by SEC filing date greater than date in YYYY-MM-DD format. Rows without a known filing date are excluded.
filing_date_gtestringFilter 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_ltstringFilter by SEC filing date less than date in YYYY-MM-DD format. Rows without a known filing date are excluded.
filing_date_ltestringFilter 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.
isinstringThe ISIN (International Securities Identification Number) of a non-US listing. An alternative to `ticker` and `exchange`.
limitintegerThe maximum number of financial 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_periodstringFilter by exact report period date in YYYY-MM-DD format.
report_period_gtstringFilter by report period greater than date in YYYY-MM-DD format.
report_period_gtestringFilter by report period greater than or equal to date in YYYY-MM-DD format.
report_period_ltstringFilter by report period less than date in YYYY-MM-DD format.
report_period_ltestringFilter by report period less than or equal to date in YYYY-MM-DD format.
tickerstringThe ticker symbol. Required if cik or isin is not provided.
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
尚未發布已儲存回應。請在 Playground 中執行 API 以檢視其回應。
探索更多
| API | 價格 | 回應 |
|---|---|---|
Financial Datasets | 每次呼叫 $0.02 | JSON |
Financial Datasets | 每次呼叫 $0.02 | JSON |
Financial Datasets | 每次呼叫 $0.02 | JSON |
Financial Datasets | 每次呼叫 $0.02 | JSON |
Financial Datasets | 每次呼叫 $0.02 | JSON |
Financial Datasets | 每次呼叫 $0.02 | JSON |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/financial-datasets/financials。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.02,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
必要:period(annual, quarterly, ttm 之一)。 選填:cik (string), cursor (string), exchange(LSE 之一), filing_date (string), filing_date_gt (string) 和 filing_date_gte (string),以及另外 10 個。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。Financial Datasets Get Financial Statements 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Financial Datasets API 存取權。