Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

MarketBeat Earnings

API 文件
https://api.sandbase.ai/v1/api/marketbeat/earnings

Get earnings estimates and historical earnings data including EPS estimates (low, high, average), number of analyst estimates, revenue estimates, and company revenue guidance. Covers both quarterly and fiscal year.

價格
$0.01美元/次呼叫
方法
POST
回應
非同步 JSON
參數
1 個必填 · 1 個選填

Playground

輸入
Stock ticker symbol (e.g. 'AAPL').
Stock exchange (e.g. 'NYSE', '').
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

MarketBeat Earnings

Returns analyst earnings estimates per fiscal quarter for a stock, including low, high and average EPS, the number of estimates, and company revenue guidance. It needs a stock ticker such as AAPL, with an optional exchange.

Use cases

  • Compare the low and high EPS estimates for the next quarter to see how far analysts disagree.
  • Track the revenue guidance range a company gave for upcoming quarters.
  • Build an earnings calendar view that lists each upcoming quarter with its consensus EPS.
  • Check how many analysts cover a stock before relying on its average estimate.

Request

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

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

Parameters

NameTypeRequiredDescription
tickerstringYesStock ticker symbol (e.g. 'AAPL').
exchangestringNoStock exchange (e.g. 'NYSE', '').

Example response

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

{
  "data": {
    "history": [
      {
        "Average Estimate": "$2.53",
        "Company Revenue Guidance": "",
        "High Estimate": "$2.64",
        "Low Estimate": "$2.28",
        "Number of Estimates": "4",
        "Quarter": "Q1 2026",
        "Revenue Estimate at Guidance": ""
      }
    ]
  },
  "status": "success"
}

Response fields

FieldMeaning
data.history[]One object per fiscal quarter. Each object holds the keys Average Estimate, High Estimate and Low Estimate (EPS as dollar strings such as $2.53), and Number of Estimates (the count of analyst estimates).
data.history[].QuarterThe fiscal quarter the estimates apply to, for example Q1 2026.
dataWraps the history list of quarterly estimate objects. Each object also holds Company Revenue Guidance (a range such as $107.8 B - $110.6 B) and Revenue Estimate at Guidance (such as $105.1 B). Both are empty strings when no guidance exists.
statusShows success when the call worked.

Notes

  • Every value inside data.history[] is a string, including numbers and dollar amounts. Parse them before doing math.
  • Empty strings in the revenue guidance keys mean no value was returned for that quarter.
  • Use MarketBeat Search Stocks to find a ticker, and MarketBeat Analyst Ratings for rating changes on the same stock.

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價格回應
MarketBeat每次呼叫 $0.01非同步 JSON
MarketBeat每次呼叫 $0.02非同步 JSON
MarketBeat每次呼叫 $0.01非同步 JSON
MarketBeat每次呼叫 $0.02非同步 JSON
MarketBeat每次呼叫 $0.01非同步 JSON
MarketBeat每次呼叫 $0.01非同步 JSON

問題

常見問題

我要如何使用 MarketBeat Earnings API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/marketbeat/earnings。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

MarketBeat Earnings API 的費用是多少?

每次 $0.01,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

MarketBeat Earnings API 接受哪些參數?

必要:ticker (string)。 選填:exchange (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

MarketBeat Earnings API 會回傳什麼?

JSON 結果。此端點為非同步執行,因此回應會告訴您如何取得完成的結果。 本頁的 README 包含範例回應。

我需要 MarketBeat 開發者帳號或 API 金鑰嗎?

不需要。MarketBeat Earnings 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 MarketBeat API 存取權。