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

Financial Datasets Get Earnings Data

API 文档
https://api.sandbase.ai/v1/api/financial-datasets/earnings

Get the most recent earnings snapshot for a ticker. Optional change fields are returned only when available.

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

Playground

输入
The ticker symbol (e.g. `AAPL`).
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.
140
Number of most-recent report periods worth of filings to return, sorted by `(report_period DESC, filing_date ASC)`. The number of entries returned may exceed `limit` when a recent period has both an 8-K and a 10-Q / 10-K. Values above 40 are clamped to 40. Non-positive or non-integer values return 4 范围:1 到 40。
输出就绪

您的输出将显示在这里

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

API README

Financial Datasets Get Earnings Data API

Returns earnings filings for a US-listed ticker, newest report period first. Each entry holds quarterly and annual figures, EPS surprise versus estimate, and a list of signals taken from the filing. The call needs a ticker, such as AAPL.

Use cases

  • Check whether a company beat or missed its EPS estimate in the latest quarter.
  • Build an earnings feed that shows signal headlines such as revenue beats or margin changes.
  • Track year-over-year change in EPS and capital expenditure across recent quarters.
  • Link each earnings result to the SEC filing page that reported it.

Request

curl -X POST "https://api.sandbase.ai/v1/api/financial-datasets/earnings" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ticker": "AAPL", "limit": 2}'

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

Parameters

NameTypeRequiredDescription
tickerstringYesThe ticker symbol (e.g. AAPL).
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
limitintegerNoNumber of most-recent report periods worth of filings to return, sorted by (report_period DESC, filing_date ASC). The number of entries returned may exceed limit when a recent period has both an 8-K and a 10-Q / 10-K

Example response

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

{
  "earnings": [
    {
      "accession_number": "0000320193-26-000024",
      "annual": {
        "capital_expenditure": -9041000000.0,
        "cash_and_equivalents": 36305000000.0,
        "change_in_cash_and_equivalents": 371000000.0,
        "earnings_per_share": 8.98,
        "eps_surprise": "BEAT",
        "eps_surprise_pct": 0.0565,
        "estimated_earnings_per_share": 8.5,
        "estimated_revenue": 468204283862
      },
      "currency": "USD",
      "filing_date": "2026-11-02",
      "filing_datetime": "2026-11-02T16:30:23-05:00",
      "filing_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019326000024/0000320193-26-…",
      "filing_window": "AFTER_HOURS",
      "fiscal_period": "2026-Q4",
      "quarterly": {
        "capital_expenditure": null,
        "cash_and_equivalents": 36305000000.0,
        "change_in_cash_and_equivalents": null,
        "earnings_per_share": 2.1,
        "earnings_per_share_chg": 0.0396,
        "earnings_per_share_yoy_chg": 0.1328,
        "eps_surprise": "BEAT",
        "eps_surprise_pct": 0.05
      },
      "report_period": "2026-09-26",
      "signals": [
        {
          "details": {
            "actual": 2.1,
            "estimate": 2.0,
            "surprise_pct": 0.05
          },
          "headline": "EPS of $2.10 beat estimate of $2.00 by 5.00%",
          "metric": "earnings_per_share",
          "period": "2026-Q4",
          "type": "EPS_BEAT"
        }
      ],
      "source_type": "8-K"
    }
  ]
}

Response fields

FieldMeaning
earnings[].tickerTicker symbol the entry belongs to.
earnings[].fiscal_period / earnings[].report_periodfiscal_period is the fiscal quarter label, such as 2026-Q4. report_period is the date the period ended.
earnings[].filing_date / earnings[].filing_datetime / earnings[].filing_windowWhen the filing was made. filing_datetime includes the time zone offset. filing_window shows the timing, such as AFTER_HOURS or PRE_MARKET.
earnings[].source_typeType of SEC filing behind the entry, such as 8-K or 10-Q.
earnings[].accession_number / earnings[].filing_urlSEC accession number and the link to the filing index page.
earnings[].quarterly.earnings_per_shareReported EPS for the quarter.
earnings[].quarterly.eps_surprise / earnings[].quarterly.eps_surprise_pctWhether EPS beat the estimate (for example BEAT) and the size of the surprise as a fraction. 0.1543 means 15.43%.
earnings[].quarterly.earnings_per_share_yoy_chg / earnings[].quarterly.capital_expenditure_yoy_chgYear-over-year change as a fraction. Present only when available.
earnings[].annual.estimated_earnings_per_share / earnings[].annual.estimated_revenueEstimates for the full year. The annual object appears only on some entries, such as the fiscal Q4 filing.
earnings[].signals[]Highlights from the filing. Each has a type (for example EPS_BEAT, REVENUE_BEAT, GUIDANCE_INITIATED), a metric, a period, a readable headline, and a details object whose keys vary by type.

Notes

  • limit counts report periods, not entries. One period can return two entries, such as an 8-K and a 10-Q, so the list may be longer than limit. Values above 40 are clamped to 40.
  • Entries are sorted by report_period descending, then filing_date ascending.
  • For the next page, pass the cursor from the response's next_page_url as cursor. The cursor replaces all other parameters.
  • For consensus forecasts, call Financial Datasets Get Analyst Estimates. For full statements, call Financial Datasets Get Income Statements.

Pricing

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

探索更多

相关 APIs

全部 APIs
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

问题

常见问题

如何使用 Financial Datasets Get Earnings Data API?

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

Financial Datasets Get Earnings Data API 的价格是多少?

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

Financial Datasets Get Earnings Data API 接受哪些参数?

必填:ticker (string)。 可选:cursor (string) 和 limit (integer)。 Parameters 表和本页的 Playground 列出了每个字段。

Financial Datasets Get Earnings Data API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

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

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