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.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
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 ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
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 นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| 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 |
คำถาม
ส่งคำขอ POST ไปที่ https://api.sandbase.ai/v1/api/financial-datasets/financial-metrics-snapshot โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
$0.02 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: cik (string), exchange (หนึ่งใน LSE), isin (string), market (หนึ่งใน UK, US) และ ticker (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น Financial Datasets Get Financial Metrics Snapshot ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง Financial Datasets API แยกต่างหาก