Sand AISand AI MAGI-2MAGI-2 jest teraz na SandBase: wideo 1080p z natywnym dźwiękiemWypróbuj teraz

Financial Datasets Get Income Statements

Dokumentacja API
https://api.sandbase.ai/v1/api/financial-datasets/financials-income-statements

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

Cena
$0.02USD / wywołanie
Metoda
POST
Odpowiedź
JSON
Parametry
0 wymaganych · 18 opcjonalnych

Playground

Wejście
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. Provider reference (supplier schema): `{"format":"date","type":"string"}`.
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"}`.
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"}`.
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"}`.
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. Provider reference (supplier schema): `{"format":"date","type":"string"}`.
The ISIN (International Securities Identification Number) of a non-US listing. An alternative to `ticker` and `exchange`.
The maximum number of income 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`. Provider reference (supplier schema): `{"format":"int32","type":"integer"}`.
market
The time period of the income statements. Provider reference (supplier schema): `{"enum":["annual","quarterly","ttm"],"type":"string"}`.
Filter by exact report period date in YYYY-MM-DD format. Provider reference (supplier schema): `{"format":"date","type":"string"}`.
Filter by report period greater than date in YYYY-MM-DD format. Provider reference (supplier schema): `{"format":"date","type":"string"}`.
Filter by report period greater than or equal to date in YYYY-MM-DD format. Provider reference (supplier schema): `{"format":"date","type":"string"}`.
Filter by report period less than date in YYYY-MM-DD format. Provider reference (supplier schema): `{"format":"date","type":"string"}`.
Filter by report period less than or equal to date in YYYY-MM-DD format. Provider reference (supplier schema): `{"format":"date","type":"string"}`.
The ticker symbol. Required if cik or isin is not provided.
WyjścieGotowe

Twój wynik pojawi się tutaj

Uzupełnij dane wejściowe, a następnie kliknij Uruchom.

README API

Financial Datasets Get Income Statements API

Returns income statements for a public company, one record per reporting period. You pass a ticker, cik, or isin, and you can filter by period (annual, quarterly, or ttm), report period dates, and SEC filing dates.

Use cases

  • Build a multi-year revenue and net income trend for a company from its annual filings.
  • Compare gross profit, operating income, and R&D spend across fiscal years.
  • Run point-in-time backtests by limiting rows to statements filed on or before a date with filing_date_lte.
  • Link each figure back to its SEC filing page using filing_url for audit checks.

Request

curl -X POST "https://api.sandbase.ai/v1/api/financial-datasets/financials-income-statements" \
  -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.

Parameters

NameTypeRequiredDescription
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. Provider reference (supplier schema): {"format":"date","type":"string"}.
filing_date_gtstringNoFilter 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_gtestringNoFilter 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_ltstringNoFilter 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_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. Pro
isinstringNoThe ISIN (International Securities Identification Number) of a non-US listing. An alternative to ticker and exchange.
limitstringNoThe maximum number of income 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. Provider reference (supplier schema): `{"format":"int32
marketstringNomarket
periodstringNoThe time period of the income statements. Provider reference (supplier schema): {"enum":["annual","quarterly","ttm"],"type":"string"}.
report_periodstringNoFilter by exact report period date in YYYY-MM-DD format. Provider reference (supplier schema): {"format":"date","type":"string"}.
report_period_gtstringNoFilter by report period greater than date in YYYY-MM-DD format. Provider reference (supplier schema): {"format":"date","type":"string"}.
report_period_gtestringNoFilter by report period greater than or equal to date in YYYY-MM-DD format. Provider reference (supplier schema): {"format":"date","type":"string"}.
report_period_ltstringNoFilter by report period less than date in YYYY-MM-DD format. Provider reference (supplier schema): {"format":"date","type":"string"}.
report_period_ltestringNoFilter by report period less than or equal to date in YYYY-MM-DD format. Provider reference (supplier schema): {"format":"date","type":"string"}.
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.

{
  "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
income_statements[]One income statement per reporting period. Newest period comes first in the sample.
income_statements[].revenue / cost_of_revenue / gross_profitTop line sales, the cost tied to that revenue, and the gross profit. Values are plain numbers in the statement currency.
income_statements[].operating_expense / operating_income / ebitTotal operating costs, income from operations, and EBIT for the period.
income_statements[].research_and_development / selling_general_and_administrative_expensesSpending on research and development, and on selling, general and administrative costs.
income_statements[].net_income / consolidated_incomeNet income for the period and consolidated income.
income_statements[].earnings_per_share / earnings_per_share_dilutedBasic and diluted earnings per share.
income_statements[].weighted_average_shares / weighted_average_shares_dilutedWeighted average share counts used for basic and diluted per share figures.
income_statements[].report_period / fiscal_period / periodThe period end date (YYYY-MM-DD), a fiscal label such as FY2025, and the period type such as annual.
income_statements[].filing_date / filing_datetime / form_typeWhen the statement was filed with the SEC and the form type, for example 10-K.
income_statements[].accession_number / filing_urlThe SEC accession number and a link to the filing index page.

Notes

  • 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.
  • To fetch the next page, pass the opaque cursor from a previous response. Other parameters are ignored when you send cursor.
  • Fields such as interest_expense and net_income_discontinued_operations can be null when the filing has no value.
  • For non-US listings, use isin, or set exchange to LSE. For balance sheet or cash flow data, call Financial Datasets Get Balance Sheets or Financial Datasets Get Cash Flow Statements.

Pricing

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

Odkryj więcej

Powiązane APIs

Wszystkie APIs
APICenaOdpowiedź
Financial Datasets$0.02 za wywołanieJSON
Financial Datasets$0.02 za wywołanieJSON
Financial Datasets$0.02 za wywołanieJSON
Financial Datasets$0.02 za wywołanieJSON
Financial Datasets$0.02 za wywołanieJSON
Financial Datasets$0.02 za wywołanieJSON

Pytania

FAQ

Jak używać API Financial Datasets Get Income Statements?

Wyślij żądanie POST do https://api.sandbase.ai/v1/api/financial-datasets/financials-income-statements z kluczem API SandBase w nagłówku Authorization (Bearer) oraz parametrami w treści JSON. Możesz też wypróbować je w Playground na tej stronie bez pisania kodu.

Ile kosztuje API Financial Datasets Get Income Statements?

$0.02 za wywołanie, rozliczane z salda SandBase. Płacisz tylko za wykonane wywołania; nie ma subskrypcji.

Jakie parametry przyjmuje API Financial Datasets Get Income Statements?

Nie są wymagane żadne parametry. Opcjonalne: cik (string), cursor (string), exchange (jedna z opcji: LSE), filing_date (string), filing_date_gt (string) i filing_date_gte (string) i jeszcze 12. Tabela Parameters oraz Playground na tej stronie zawierają wszystkie pola.

Co zwraca API Financial Datasets Get Income Statements?

Odpowiedź JSON zwrócona w tym samym żądaniu HTTP (synchronicznie). README na tej stronie zawiera przykładową odpowiedź.

Czy potrzebuję konta deweloperskiego Financial Datasets lub klucza API?

Nie. Financial Datasets Get Income Statements działa przez SandBase, więc jeden klucz API SandBase obejmuje ten endpoint i każde inne API oraz model w katalogu. Nie musisz osobno ubiegać się o dostęp do API Financial Datasets.