cikstring
The Central Index Key (CIK) of the company. Can be used instead of ticker.
https://api.sandbase.ai/v1/api/financial-datasets/financial-metrics-snapshotGet the real-time financial metrics snapshot for a stock, including valuation ratios, profitability, efficiency, liquidity, leverage, growth, and per share metrics.
Sua saída aparecerá aqui
Preencha as entradas e clique em Executar.
Returns one snapshot of financial metrics for a public company: valuation ratios, margins, returns, liquidity, debt ratios, growth rates and per share values. Pass a ticker, or use cik or isin instead.
current_ratio and debt_to_equity before a credit or risk review.curl -X POST "https://api.sandbase.ai/v1/api/financial-datasets/financial-metrics-snapshot" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"ticker": "AAPL"}'
The result is returned in outputs[0].data.
| Name | Type | Required | Description |
|---|---|---|---|
cik | string | No | The Central Index Key (CIK) of the company. Can be used instead of ticker. |
exchange | string | No | The exchange the ticker is listed on. Omit for US listings. Use LSE for the London Stock Exchange; any ticker of the company, including a second share class, returns the company's metrics. Price-based values (market ca |
isin | string | No | The ISIN (International Securities Identification Number) of a non-US listing. An alternative to ticker and exchange. |
market | string | No | market |
ticker | string | No | The ticker symbol of the company. |
Real response for the request above, trimmed: lists keep their first item and long strings are cut.
{
"snapshot": {
"asset_turnover": 1.2376860547121489,
"book_value_growth": 0.6332978885006836,
"book_value_per_share": 7.30699065341296,
"cash_ratio": 0.2648165758139909,
"currency": "USD",
"current_ratio": 1.0032948046555858,
"days_sales_outstanding": 24.135491396096594,
"debt_to_assets": 0.2486628085976841,
"debt_to_equity": 0.8863839285714286,
"earnings_growth": 0.29865028203062044,
"earnings_per_share": 8.762000604022814,
"earnings_per_share_growth": 0.3192581932618972
}
}
| Field | Meaning |
|---|---|
snapshot.ticker / snapshot.currency | The ticker symbol and the currency of the money values in the snapshot, for example USD. |
snapshot.market_cap / snapshot.enterprise_value | Market capitalization and enterprise value as plain numbers in the snapshot currency. |
snapshot.price_to_earnings_ratio / snapshot.price_to_book_ratio / snapshot.price_to_sales_ratio / snapshot.peg_ratio | Valuation ratios based on the current price. |
snapshot.enterprise_value_to_ebitda_ratio / snapshot.enterprise_value_to_revenue_ratio | Enterprise value divided by EBITDA and by revenue. |
snapshot.gross_margin / snapshot.operating_margin / snapshot.net_margin | Profit margins as decimal fractions. A value of 0.4865 means 48.65%. |
snapshot.return_on_equity / snapshot.return_on_assets / snapshot.return_on_invested_capital | Return ratios as decimal fractions. |
snapshot.current_ratio / snapshot.quick_ratio / snapshot.cash_ratio / snapshot.debt_to_equity / snapshot.debt_to_assets | Liquidity and debt ratios. |
snapshot.revenue_growth / snapshot.earnings_growth / snapshot.earnings_per_share_growth / snapshot.free_cash_flow_growth | Growth rates for revenue, earnings, EPS and free cash flow, as decimal fractions. |
snapshot.earnings_per_share / snapshot.book_value_per_share / snapshot.free_cash_flow_per_share | Per share values for earnings, book value and free cash flow. |
snapshot.free_cash_flow_yield / snapshot.payout_ratio | Free cash flow yield and the share of earnings paid out, as decimal fractions. |
null. In this response interest_coverage is null.exchange to LSE for London listings, or use isin for a non-US listing. market accepts UK or US.$0.02 per successful 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/financial-metrics-snapshot" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"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.
cikstringThe Central Index Key (CIK) of the company. Can be used instead of ticker.
exchangestringThe exchange the ticker is listed on. Omit for US listings. Use `LSE` for the London Stock Exchange; any ticker of the company, including a second share class, returns the company's metrics. Price-based values (market cap, enterprise value, valuation ratios, dividend yield) are not yet available for
Valores possíveis: LSE
isinstringThe ISIN (International Securities Identification Number) of a non-US listing. An alternative to `ticker` and `exchange`.
marketstringmarket
Valores possíveis: UK, US
tickerstringThe ticker symbol of the company.
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 | $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/financial-metrics-snapshot 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.
Nenhum parâmetro é obrigatório. Opcionais: cik (string), exchange (um de LSE), isin (string), market (um de UK, US) e ticker (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). O README desta página inclui um exemplo de resposta.
Não. Financial Datasets Get Financial Metrics Snapshot 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.