tickerstringobrigatório
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.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
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.
Comece a construir
Endpoint da API da plataforma com autenticação unificada e rastreamento de uso.
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"
}'Defina sua chave da API SandBase no ambiente do seu servidor. As requisições usam autenticação Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Mantenha sua chave no servidor. Não a exponha em código do navegador.
tickerstringobrigatórioThe 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`.
Padrão: 4
metric_namestringFilter to a specific metric (e.g., load_factor, cet1_ratio).
periodstringFilter by period type: quarterly or annual.
Padrão: "quarterly"
Valores possíveis: 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).
Resposta de exemplo salva para esta API; nenhuma requisição ao vivo é feita ao visualizá-la.
Nenhuma resposta salva foi publicada. Execute a API no Playground para inspecionar a resposta.
Explorar mais
| API | Preço | Resposta |
|---|---|---|
Financial Datasets MetricsEsta API Financial Datasets | $0.02 por chamada | JSON |
Financial Datasets | $0.02 por chamada | JSON |
Financial Datasets | $0.02 por chamada | JSON |
Financial Datasets | $0.02 por chamada | JSON |
Financial Datasets | $0.02 por chamada | JSON |
Financial Datasets | $0.02 por chamada | JSON |
Perguntas
Envie uma solicitação POST para https://api.sandbase.ai/v1/api/financial-datasets/kpi-metrics com sua chave de API da SandBase no cabeçalho Authorization (Bearer) e os parâmetros no corpo JSON. Você também pode testar no Playground desta página sem escrever código.
$0.02 por chamada, cobrado do seu saldo SandBase. Você paga apenas pelas chamadas que fizer; não há assinatura.
Obrigatórios: ticker (string). Opcionais: cursor (string), limit (integer), metric_name (string), period (um de quarterly, annual), report_period_gte (string) e report_period_lte (string). A tabela de Parâmetros e o Playground nesta página listam todos os campos.
Uma resposta JSON retornada na mesma solicitação HTTP (síncrona).
Não. Financial Datasets Metrics funciona via SandBase, então uma única chave de API da SandBase cobre este endpoint e todas as outras APIs e modelos do catálogo. Você não precisa solicitar acesso à API do Financial Datasets separadamente.