Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Financial Datasets Get Financial Statements

Tài liệu API
https://api.sandbase.ai/v1/api/financial-datasets/financials

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

Giá
$0.02USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
1 bắt buộc · 16 tùy chọn

Phòng thử nghiệm

Đầu vào
The time period of the financial 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 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`.
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.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Financial Datasets Get Financial Statements API

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.

Use cases

  • Build a multi-year view of revenue, net income and EPS for a company from its annual income statements.
  • Track free cash flow and capital spending over time to compare cash generation across years.
  • Check debt, cash and equity on the balance sheet to compute debt-to-equity and other balance sheet ratios.
  • Run point-in-time backtests by filtering on filing_date_lte so only data already filed is used.

Request

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.

Parameters

NameTypeRequiredDescription
periodstringYesThe time period of the financial 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 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_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.

{
  "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"
      }
    ]
  }
}

Response fields

FieldMeaning
financials.income_statements[].revenue / cost_of_revenue / gross_profitTotal revenue, cost of revenue and gross profit for the period, in the statement currency.
financials.income_statements[].operating_income / net_incomeOperating income and net income for the period.
financials.income_statements[].earnings_per_share / earnings_per_share_dilutedBasic and diluted earnings per share.
financials.balance_sheets[].total_assets / total_liabilities / shareholders_equityMain balance sheet totals at the end of the report period.
financials.balance_sheets[].cash_and_equivalents / total_debtCash 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_financingNet cash flow from operating, investing and financing activities. Negative values are cash outflows.
financials.cash_flow_statements[].free_cash_flow / capital_expenditureFree cash flow and capital expenditure for the period.
financials.income_statements[].report_period / fiscal_periodPeriod 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_typeDate the report was filed, a link to the SEC filing index, and the form type, such as 10-K.

Notes

Pricing

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

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Financial Datasets$0.02 mỗi lần gọiJSON
Financial Datasets$0.02 mỗi lần gọiJSON
Financial Datasets$0.02 mỗi lần gọiJSON
Financial Datasets$0.02 mỗi lần gọiJSON
Financial Datasets$0.02 mỗi lần gọiJSON
Financial Datasets$0.02 mỗi lần gọiJSON

Câu hỏi

FAQ

Làm thế nào để dùng API Financial Datasets Get Financial Statements?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/financial-datasets/financials với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Financial Datasets Get Financial Statements có giá bao nhiêu?

$0.02 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Financial Datasets Get Financial Statements chấp nhận những tham số nào?

Bắt buộc: period (một trong số annual, quarterly, ttm). Tùy chọn: cik (string), cursor (string), exchange (một trong số LSE), filing_date (string), filing_date_gt (string) và filing_date_gte (string) và 10 mục khác. Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Financial Datasets Get Financial Statements trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Financial Datasets không?

Không. Financial Datasets Get Financial Statements chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Financial Datasets.