tickerstring必填
The ticker symbol.
https://api.sandbase.ai/v1/api/financial-datasets/kpi-metricsGet sector-specific operational KPIs for a ticker. Includes metrics like load factor, CET1 ratio, same-store sales, FFO per share, and more. Sourced from SEC 8-K earnings releases.
您的輸出會顯示在這裡
完成輸入後,點擊執行。
Get sector-specific operational KPIs for a ticker. Includes metrics like load factor, CET1 ratio, same-store sales, FFO per share, and more. Sourced from SEC 8-K earnings releases.
The response is the official Financial Datasets API response, unchanged.
curl -X POST "https://api.sandbase.ai/v1/api/financial-datasets/kpi-metrics" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ticker": "AAPL", "limit": 2, "period": "annual"}'
| Name | Type | Required | Description |
|---|---|---|---|
cursor | string | No | Opaque pagination cursor from a previous response's next_page_url. When provided, all other query parameters are ignored: the cursor carries the original reques |
limit | integer | No | Number of periods to return. Returns all metrics for the N most recent periods. This is the total across all pages, not a page size: each page holds up to 10 re |
metric_name | string | No | Filter to a specific metric (e.g., load_factor, cet1_ratio). |
period | string | No | Filter by period type: quarterly or annual. |
report_period_gte | string | No | Only return metrics on or after this date (YYYY-MM-DD). |
report_period_lte | string | No | Only return metrics on or before this date (YYYY-MM-DD). |
ticker | string | Yes | The ticker symbol. |
Flat price per call. Failed calls are not charged.
開始建置
具備統一驗證與用量追蹤的平台 API 端點。
curl -X POST "https://api.sandbase.ai/v1/api/financial-datasets/kpi-metrics" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 2,
"period": "annual",
"ticker": "AAPL"
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
tickerstring必填The ticker symbol.
cursorstringOpaque 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.
limitintegerNumber of periods to return. Returns all metrics for the N most recent periods. This is the total across all pages, not a page size: each page holds up to 10 records, linked by `next_page_url`.
預設:4
metric_namestringFilter to a specific metric (e.g., load_factor, cet1_ratio).
periodstringFilter by period type: quarterly or annual.
預設:"quarterly"
可能值:quarterly, annual
report_period_gtestringOnly return metrics on or after this date (YYYY-MM-DD).
report_period_ltestringOnly return metrics on or before this date (YYYY-MM-DD).
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
尚未發布已儲存回應。請在 Playground 中執行 API 以檢視其回應。
探索更多
| 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 |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/financial-datasets/kpi-metrics。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次 $0.02,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
必要:ticker (string)。 選填:cursor (string), limit (integer), metric_name (string), period(quarterly, annual 之一), report_period_gte (string) 和 report_period_lte (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。
不需要。Financial Datasets Metrics 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 Financial Datasets API 存取權。