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

Financial Datasets Non-GAAP Metrics

API 文件
https://api.sandbase.ai/v1/api/financial-datasets/kpi-non-gaap

Get non-GAAP financial metrics with GAAP equivalents and key adjustments.

價格
$0.02美元/次呼叫
方法
POST
回應
JSON
參數
1 個必填 · 6 個選填

Playground

輸入
The ticker symbol.
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.
Number of periods 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`. 最大值:50。
Filter to a specific metric.
Filter by period type: quarterly or annual.
Only return metrics on or after this date (YYYY-MM-DD).
Only return metrics on or before this date (YYYY-MM-DD).
輸出就緒

您的輸出會顯示在這裡

完成輸入後,點擊執行。

API README

Financial Datasets Non-GAAP Metrics API

Returns non-GAAP financial metrics that a public company reports, such as adjusted diluted EPS and adjusted net income. Each row includes the matching GAAP line item, a note on the adjustments, and a link to the source document. It needs a ticker.

Use cases

  • Compare adjusted EPS with GAAP diluted EPS to see how much one-time items change reported earnings.
  • Read the key_adjustments text to find which one-time charges a company excluded in a fiscal year.
  • Trace each metric to the filing text that supports it using source_url.
  • Build a history of a company's adjusted metrics by period with period, report_period_gte and report_period_lte.

Request

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

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

Parameters

NameTypeRequiredDescription
tickerstringYesThe ticker symbol.
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 periods 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.
metric_namestringNoFilter to a specific metric.
periodstringNoFilter by period type: quarterly or annual.
report_period_gtestringNoOnly return metrics on or after this date (YYYY-MM-DD).
report_period_ltestringNoOnly return metrics on or before this date (YYYY-MM-DD).

Example response

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

{
  "kpi_non_gaap": [
    {
      "gaap_equivalent": "Diluted earnings per share",
      "key_adjustments": "Excludes per-share impact ($0.67) of one-time income tax charge related to rever…",
      "metric_name": "Adjusted Diluted EPS",
      "period": "FY 2024",
      "period_type": "annual",
      "source_text": "Diluted earnings per share",
      "source_url": "https://www.sec.gov/Archives/edgar/data/320193/000032019325000077/a8-kex991q4202…",
      "ticker": "AAPL",
      "unit": "USD",
      "value": 6.75
    }
  ]
}

Response fields

FieldMeaning
kpi_non_gaap[].metric_nameName of the non-GAAP metric, for example Adjusted Diluted EPS or Adjusted Net Income.
kpi_non_gaap[].valueNumeric value of the metric for the period. Read it together with unit.
kpi_non_gaap[].unitUnit of value. In this response it is USD.
kpi_non_gaap[].gaap_equivalentThe GAAP line item that the non-GAAP metric corresponds to, for example Net income.
kpi_non_gaap[].key_adjustmentsPlain text describing what the company excluded to get from the GAAP figure to the non-GAAP figure.
kpi_non_gaap[].period / kpi_non_gaap[].period_typeLabel of the reporting period, such as FY 2024, and its type, such as annual.
kpi_non_gaap[].source_url / kpi_non_gaap[].source_textLink to the SEC filing where the figure appears, and the text snippet used to match it.
kpi_non_gaap[].tickerTicker symbol of the company the metric belongs to.

Notes

  • limit is the total number of periods across all pages. Each page holds up to 10 records, linked by next_page_url.
  • To get the next page, pass the cursor from next_page_url as cursor. All other parameters are then ignored.
  • Use metric_name to filter to one metric, and period set to quarterly or annual to choose the period type. period defaults to quarterly.
  • For GAAP figures, call Financial Datasets Get Income Statements.

Pricing

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

探索更多

相關 APIs

所有 APIs
API價格回應
Financial Datasets每次呼叫 $0.02JSON
Financial Datasets每次呼叫 $0.02JSON
Financial Datasets每次呼叫 $0.02JSON
Financial Datasets每次呼叫 $0.02JSON
Financial Datasets每次呼叫 $0.02JSON
Financial Datasets每次呼叫 $0.02JSON

問題

常見問題

我要如何使用 Financial Datasets Non-GAAP Metrics API?

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

Financial Datasets Non-GAAP Metrics API 的費用是多少?

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

Financial Datasets Non-GAAP Metrics API 接受哪些參數?

必要:ticker (string)。 選填:cursor (string), limit (integer), metric_name (string), period(quarterly, annual 之一), report_period_gte (string) 和 report_period_lte (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

Financial Datasets Non-GAAP Metrics API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

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

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