cikstring
The Central Index Key (CIK) of the company.
https://api.sandbase.ai/v1/api/financial-datasets/financials-balance-sheetsGet Balance Sheets from Financial Datasets. Returns the official Financial Datasets API response unchanged.
Đầu ra của bạn sẽ xuất hiện ở đây
Hoàn tất đầu vào, rồi nhấp Run.
Returns balance sheet records for a public company, one record per reporting period. Each record has assets, liabilities, debt, equity and SEC filing details. You pass a ticker, cik or isin, and you can narrow results by period, report_period and filing_date filters.
total_assets, total_liabilities and shareholders_equity for a company across several fiscal years.total_debt, current_debt and non_current_debt.filing_date_lte so you only see data filed by a given date.filing_url and accession_number for audit checks.curl -X POST "https://api.sandbase.ai/v1/api/financial-datasets/financials-balance-sheets" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"limit": "2", "period": "annual", "ticker": "AAPL"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
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. Provider reference (supplier schema): {"format":"date","type":"string"}. |
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. Provider reference (supplier schema): {"format":"date","type":"string"}. |
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. Provider reference (supplier schema): {"format":"date","type":"string"}. |
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. Provider reference (supplier schema): {"format":"date","type":"string"}. |
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. Pro |
isin | string | No | The ISIN (International Securities Identification Number) of a non-US listing. An alternative to ticker and exchange. |
limit | string | No | The maximum number of balance sheets 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. Provider reference (supplier schema): `{"format":"int32","t |
market | string | No | market |
period | string | No | The time period of the balance sheets. Provider reference (supplier schema): {"enum":["annual","quarterly","ttm"],"type":"string"}. |
report_period | string | No | Filter by exact report period date in YYYY-MM-DD format. Provider reference (supplier schema): {"format":"date","type":"string"}. |
report_period_gt | string | No | Filter by report period greater than date in YYYY-MM-DD format. Provider reference (supplier schema): {"format":"date","type":"string"}. |
report_period_gte | string | No | Filter by report period greater than or equal to date in YYYY-MM-DD format. Provider reference (supplier schema): {"format":"date","type":"string"}. |
report_period_lt | string | No | Filter by report period less than date in YYYY-MM-DD format. Provider reference (supplier schema): {"format":"date","type":"string"}. |
report_period_lte | string | No | Filter by report period less than or equal to date in YYYY-MM-DD format. Provider reference (supplier schema): {"format":"date","type":"string"}. |
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.
{
"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"
}
]
}
| Field | Meaning |
|---|---|
balance_sheets[] | One balance sheet per reporting period. The newest period comes first in the sample. |
ticker / period / fiscal_period / report_period | The company ticker, the period type (such as annual), the fiscal label (such as FY2025) and the balance sheet date in YYYY-MM-DD format. |
total_assets / current_assets / non_current_assets | Total assets and their split between current and non-current assets. The currency is in balance_sheets[].currency. |
total_liabilities / current_liabilities / non_current_liabilities | Total liabilities and their split between current and non-current liabilities. |
total_debt / current_debt / non_current_debt | Total debt and its short-term and long-term parts. |
shareholders_equity / retained_earnings / accumulated_other_comprehensive_income | Equity figures. retained_earnings can be negative. |
cash_and_equivalents / current_investments / non_current_investments / investments | Cash and investment balances. |
outstanding_shares | Number of shares outstanding for that period. |
filing_date / filing_datetime / form_type / accession_number / filing_url | Details of the SEC filing the data came from. filing_url links to the filing index page. |
ticker, cik or isin. Use exchange set to LSE for London listings.limit is the total number of records across all pages. Each page holds up to 10 records, and next_page_url links to the next page. Pass the cursor value from it to continue, and do not change it.goodwill_and_intangible_assets and tax_liabilities, can be null.$0.02 per successful call. Failed calls are not charged.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
curl -X POST "https://api.sandbase.ai/v1/api/financial-datasets/financials-balance-sheets" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": "2",
"period": "annual",
"ticker": "AAPL"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
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.
Giá trị có thể dùng: LSE
filing_datestringFilter by exact SEC filing date in YYYY-MM-DD format. Rows without a known filing date are excluded. Provider reference (supplier schema): `{"format":"date","type":"string"}`.
filing_date_gtstringFilter by SEC filing date greater than date in YYYY-MM-DD format. Rows without a known filing date are excluded. Provider reference (supplier schema): `{"format":"date","type":"string"}`.
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. Provider reference (supplier schema): `{"format":"date","type":"string"}`.
filing_date_ltstringFilter by SEC filing date less than date in YYYY-MM-DD format. Rows without a known filing date are excluded. Provider reference (supplier schema): `{"format":"date","type":"string"}`.
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. Provider reference (supplier schema): `{"format":"date","type":"string"}`.
isinstringThe ISIN (International Securities Identification Number) of a non-US listing. An alternative to `ticker` and `exchange`.
limitstringThe maximum number of balance sheets 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`. Provider reference (supplier schema): `{"format":"int32","type":"integer"}`.
marketstringmarket
Giá trị có thể dùng: UK, US
periodstringThe time period of the balance sheets. Provider reference (supplier schema): `{"enum":["annual","quarterly","ttm"],"type":"string"}`.
report_periodstringFilter by exact report period date in YYYY-MM-DD format. Provider reference (supplier schema): `{"format":"date","type":"string"}`.
report_period_gtstringFilter by report period greater than date in YYYY-MM-DD format. Provider reference (supplier schema): `{"format":"date","type":"string"}`.
report_period_gtestringFilter by report period greater than or equal to date in YYYY-MM-DD format. Provider reference (supplier schema): `{"format":"date","type":"string"}`.
report_period_ltstringFilter by report period less than date in YYYY-MM-DD format. Provider reference (supplier schema): `{"format":"date","type":"string"}`.
report_period_ltestringFilter by report period less than or equal to date in YYYY-MM-DD format. Provider reference (supplier schema): `{"format":"date","type":"string"}`.
tickerstringThe ticker symbol. Required if cik or isin is not provided.
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
Chưa có phản hồi đã lưu nào được công bố. Chạy API trong Playground để xem phản hồi.
Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
Financial Datasets | $0.02 mỗi lần gọi | JSON |
Financial Datasets | $0.02 mỗi lần gọi | JSON |
Financial Datasets | $0.02 mỗi lần gọi | JSON |
Financial Datasets | $0.02 mỗi lần gọi | JSON |
Financial Datasets | $0.02 mỗi lần gọi | JSON |
Financial Datasets | $0.02 mỗi lần gọi | JSON |
Câu hỏi
Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/financial-datasets/financials-balance-sheets 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.
$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ý.
Không có tham số bắt buộc. 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à 12 mục khác. Bảng Parameters và Playground trên trang này liệt kê mọi trường.
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.
Không. Financial Datasets Get Balance Sheets 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.