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.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
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.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
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"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
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
संभावित मान: LSE
isinstringThe ISIN (International Securities Identification Number) of a non-US listing. An alternative to `ticker` and `exchange`.
marketstringmarket
संभावित मान: UK, US
tickerstringThe ticker symbol of the company.
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए 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 |
प्रश्न
https://api.sandbase.ai/v1/api/financial-datasets/financial-metrics-snapshot पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.02 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
कोई parameters आवश्यक नहीं हैं। वैकल्पिक: cik (string), exchange (LSE में से एक), isin (string), market (UK, US में से एक) और ticker (string)। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Financial Datasets Get Financial Metrics Snapshot SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Financial Datasets API access के लिए आवेदन करने की आवश्यकता नहीं है।