Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

StockAnalysis Stock Financials Income

API 文档
https://api.sandbase.ai/v1/api/stockanalysis/stock-financials-income

Detailed income statement for a stock. Returns annual financial data including revenue, gross profit, operating income, net income, EPS, margins, and growth rates organized in a financialData object with arrays per.

价格
$0.01美元 / 次调用
方法
POST
响应
异步 JSON
参数
1 个必填 · 0 个可选

Playground

输入
Stock ticker symbol (e.g. 'AAPL', 'MSFT', 'NVDA').
输出就绪

您的输出将显示在这里

完成输入,然后点击运行。

API README

StockAnalysis Stock Financials Income

Returns the annual income statement for a stock, including revenue, gross profit, operating income, net income, EPS, margins and cash flow figures. It needs one input, the ticker symbol, such as AAPL.

Use cases

  • Compare revenue, gross profit and net income for a company over several fiscal years.
  • Track gross, operating and profit margins to see how profitability changes.
  • Calculate per-share trends from diluted EPS, dividends per share and share counts.
  • Build a valuation model that starts from trailing twelve month revenue, EBITDA and free cash flow.

Request

curl -X POST "https://api.sandbase.ai/v1/api/stockanalysis/stock-financials-income" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"symbol": "AAPL"}'

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

Parameters

NameTypeRequiredDescription
symbolstringYesStock ticker symbol (e.g. 'AAPL', 'MSFT', 'NVDA').

Example response

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

{
  "data": {
    "availableSources": [
      "spg"
    ],
    "classicStatementLayout": false,
    "defaultSource": "spg",
    "details": {
      "fiscalYear": "October - September",
      "fiscalYearShort": "Oct - Sep",
      "lastTradingDay": "Nov 2, 2026",
      "lastTrailingDate": "Sep 26, 2026",
      "reportingFrequency": null,
      "source": "spg"
    },
    "financialData": {
      "cor": [
        245232000000
      ],
      "datekey": [
        "TTM"
      ],
      "depAmorEbitda": [
        13423000000
      ],
      "dps": [
        null
      ],
      "ebit": [
        158063000000
      ],
      "ebitMargin": [
        0.3301
      ],
      "ebitda": [
        171486000000
      ],
      "ebitdaMargin": [
        0.35813
      ],
      "epsBasic": [
        9.01484
      ],
      "epsdil": [
        8.98
      ],
      "fcf": [
        136056000000
      ],
      "fcfMargin": [
        0.28414
      ]
    },
    "financialState": null,
    "fullWidthFinancials": false,
    "full_count": 10,
    "head": {
      "description": "Detailed annual and quarterly income statement for Apple (AAPL). See many years …",
      "heading": "Income Statement",
      "title": "Apple (AAPL) Income Statement",
      "url": "/stocks/aapl/financials/income-statement/"
    },
    "map": [
      {
        "id": "operatingRevenue",
        "title": "Operating Revenue"
      }
    ],
    "overrideSource": null,
    "overviewLeftToRight": false
  },
  "status": "success"
}

Response fields

FieldMeaning
data.financialData.datekey[]Period label for each position in the arrays. The first value is TTM for trailing twelve months, and the others are period end dates such as 2025-09-27.
data.financialData.revenue[]Revenue for each period, in the same order as datekey.
data.financialData.gp[] / data.financialData.opinc[] / data.financialData.netinc[]Gross profit, operating income and net income for each period.
data.financialData.grossMargin[] / data.financialData.operatingMargin[] / data.financialData.profitMargin[]Margins as decimal ratios. For example, 0.48786 is a gross margin of about 48.8%.
data.financialData.epsdil[] / data.financialData.epsBasic[]Diluted and basic earnings per share for each period.
data.financialData.ebitda[] / data.financialData.fcf[]EBITDA and free cash flow for each period.
data.financialData.rnd[] / data.financialData.sgna[] / data.financialData.opex[]Research and development, selling, general and administrative, and total operating expenses.
data.financialData.sharesDiluted[] / data.financialData.sharesBasic[]Diluted and basic weighted share counts for each period.
data.financialData.fiscalYear[] / data.financialData.fiscalQuarter[]Fiscal year and fiscal quarter that each period belongs to.
data.priorSame income statement fields for an older period (fiscal year 2021 in this response), held in single-item arrays.

Notes

  • Every array in data.financialData lines up by index with data.financialData.datekey. Read the same index across arrays to get one period.
  • Some values can be null, for example interestExpense and interestIncome in the current periods.
  • The period field is annual in this response. data.details.fiscalYear gives the company fiscal year range, such as October - September.
  • To find a valid ticker, use StockAnalysis Search Stocks or StockAnalysis Stock List.

Pricing

$0.01 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

探索更多

相关 APIs

全部 APIs
API价格响应
StockAnalysis$0.01 每次调用异步 JSON
StockAnalysis$0.01 每次调用异步 JSON
StockAnalysis$0.01 每次调用异步 JSON
StockAnalysis$0.01 每次调用异步 JSON
StockAnalysis$0.01 每次调用异步 JSON
StockAnalysis$0.01 每次调用异步 JSON

问题

常见问题

如何使用 StockAnalysis Stock Financials Income API?

向 https://api.sandbase.ai/v1/api/stockanalysis/stock-financials-income 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

StockAnalysis Stock Financials Income API 的价格是多少?

每次调用 $0.01,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

StockAnalysis Stock Financials Income API 接受哪些参数?

必填:symbol (string)。 Parameters 表和本页的 Playground 列出了每个字段。

StockAnalysis Stock Financials Income API 返回什么?

JSON 结果。此端点异步运行,因此响应会告诉您如何获取已完成的结果。 本页的 README 包含一个示例响应。

我需要 StockAnalysis 开发者账户或 API key 吗?

不需要。StockAnalysis Stock Financials Income 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 StockAnalysis API 访问权限。