tickerstringzorunlu
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.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
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.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
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 anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
tickerstringzorunluThe 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`.
Varsayılan: 4
metric_namestringFilter to a specific metric (e.g., load_factor, cet1_ratio).
periodstringFilter by period type: quarterly or annual.
Varsayılan: "quarterly"
Olası değerler: 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).
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
Financial Datasets | $0.02 çağrı başına | JSON |
Financial Datasets | $0.02 çağrı başına | JSON |
Financial Datasets | $0.02 çağrı başına | JSON |
Financial Datasets | $0.02 çağrı başına | JSON |
Financial Datasets | $0.02 çağrı başına | JSON |
Financial Datasets | $0.02 çağrı başına | JSON |
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/financial-datasets/kpi-metrics adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.02, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli: ticker (string). İsteğe bağlı: cursor (string), limit (integer), metric_name (string), period (quarterly, annual arasından biri), report_period_gte (string) ve report_period_lte (string). Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron).
Hayır. Financial Datasets Metrics, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Financial Datasets API erişimi için ayrıca başvuru yapmanız gerekmez.