Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

Financial Datasets Get Financial Metrics Snapshot

Tài liệu API
https://api.sandbase.ai/v1/api/financial-datasets/financial-metrics-snapshot

Get the real-time financial metrics snapshot for a stock, including valuation ratios, profitability, efficiency, liquidity, leverage, growth, and per share metrics.

Giá
$0.02USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 5 tùy chọn

Phòng thử nghiệm

Đầu vào
The Central Index Key (CIK) of the company. Can be used instead of ticker.
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 cap, enterprise value, valuation ratios, dividend yield) are not yet available for
The ISIN (International Securities Identification Number) of a non-US listing. An alternative to `ticker` and `exchange`.
market
The ticker symbol of the company.
Đầu raSẵn sàng

Đầu ra của bạn sẽ xuất hiện ở đây

Hoàn tất đầu vào, rồi nhấp Run.

README API

Financial Datasets Get Financial Metrics Snapshot API

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.

Use cases

  • Pull the current P/E, price to book and enterprise value multiples for a stock in a valuation screen.
  • Compare margins and return on equity across several companies.
  • Check liquidity and debt ratios such as current_ratio and debt_to_equity before a credit or risk review.
  • Feed growth rates for revenue, earnings and free cash flow into a stock research dashboard.

Request

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.

Parameters

NameTypeRequiredDescription
cikstringNoThe Central Index Key (CIK) of the company. Can be used instead of ticker.
exchangestringNoThe 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
isinstringNoThe ISIN (International Securities Identification Number) of a non-US listing. An alternative to ticker and exchange.
marketstringNomarket
tickerstringNoThe ticker symbol of the company.

Example response

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
  }
}

Response fields

FieldMeaning
snapshot.ticker / snapshot.currencyThe ticker symbol and the currency of the money values in the snapshot, for example USD.
snapshot.market_cap / snapshot.enterprise_valueMarket 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_ratioValuation ratios based on the current price.
snapshot.enterprise_value_to_ebitda_ratio / snapshot.enterprise_value_to_revenue_ratioEnterprise value divided by EBITDA and by revenue.
snapshot.gross_margin / snapshot.operating_margin / snapshot.net_marginProfit margins as decimal fractions. A value of 0.4865 means 48.65%.
snapshot.return_on_equity / snapshot.return_on_assets / snapshot.return_on_invested_capitalReturn ratios as decimal fractions.
snapshot.current_ratio / snapshot.quick_ratio / snapshot.cash_ratio / snapshot.debt_to_equity / snapshot.debt_to_assetsLiquidity and debt ratios.
snapshot.revenue_growth / snapshot.earnings_growth / snapshot.earnings_per_share_growth / snapshot.free_cash_flow_growthGrowth 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_sharePer share values for earnings, book value and free cash flow.
snapshot.free_cash_flow_yield / snapshot.payout_ratioFree cash flow yield and the share of earnings paid out, as decimal fractions.

Notes

Pricing

$0.02 per successful call. Failed calls are not charged.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
Financial Datasets$0.02 mỗi lần gọiJSON
Financial Datasets$0.02 mỗi lần gọiJSON
Financial Datasets$0.02 mỗi lần gọiJSON
Financial Datasets$0.02 mỗi lần gọiJSON
Financial Datasets$0.02 mỗi lần gọiJSON
Financial Datasets$0.02 mỗi lần gọiJSON

Câu hỏi

FAQ

Làm thế nào để dùng API Financial Datasets Get Financial Metrics Snapshot?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/financial-datasets/financial-metrics-snapshot với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API Financial Datasets Get Financial Metrics Snapshot có giá bao nhiêu?

$0.02 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API Financial Datasets Get Financial Metrics Snapshot chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: cik (string), exchange (một trong số LSE), isin (string), market (một trong số UK, US) và ticker (string). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API Financial Datasets Get Financial Metrics Snapshot trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của Financial Datasets không?

Không. Financial Datasets Get Financial Metrics Snapshot chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của Financial Datasets.