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.
Il tuo output apparirà qui
Completa gli input, poi fai clic su Esegui.
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.
Inizia a costruire
Endpoint API della piattaforma con autenticazione unificata e tracciamento dell'utilizzo.
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"
}'Imposta la tua SandBase API key nell'ambiente del server. Le richieste usano l'autenticazione Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conserva la tua key sul server. Non esporla nel codice del browser.
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
Valori possibili: LSE
isinstringThe ISIN (International Securities Identification Number) of a non-US listing. An alternative to `ticker` and `exchange`.
marketstringmarket
Valori possibili: UK, US
tickerstringThe ticker symbol of the company.
Risposta di esempio salvata per questa API; durante la visualizzazione non viene eseguita alcuna richiesta live.
Nessuna risposta salvata è stata pubblicata. Esegui l'API in Playground per ispezionarne la risposta.
Esplora altro
| API | Prezzo | Risposta |
|---|---|---|
Financial Datasets | $0.02 per chiamata | JSON |
Financial Datasets | $0.02 per chiamata | JSON |
Financial Datasets | $0.02 per chiamata | JSON |
Financial Datasets | $0.02 per chiamata | JSON |
Financial Datasets | $0.02 per chiamata | JSON |
Financial Datasets | $0.02 per chiamata | JSON |
Domande
Invia una richiesta POST a https://api.sandbase.ai/v1/api/financial-datasets/financial-metrics-snapshot con la tua chiave API di SandBase nell'header Authorization (Bearer) e i parametri nel body JSON. Puoi anche provarla nel Playground di questa pagina senza scrivere codice.
$0.02 per chiamata, addebitato dal tuo saldo SandBase. Paghi solo le chiamate che effettui; non c'è alcun abbonamento.
Nessun parametro richiesto. Facoltativi: cik (string), exchange (uno tra LSE), isin (string), market (uno tra UK, US) e ticker (string). La tabella dei parametri e il Playground di questa pagina elencano tutti i campi.
Una risposta JSON restituita nella stessa richiesta HTTP (sincrona). Il README di questa pagina include una risposta di esempio.
No. Financial Datasets Get Financial Metrics Snapshot funziona tramite SandBase, quindi una sola chiave API SandBase copre questo endpoint e tutte le altre API e modelli del catalogo. Non è necessario richiedere separatamente l'accesso alle API Financial Datasets.