工具 API

get_fundamentals_data

Retrieve fundamental data for a single stock, ETF, mutual fund, index, or crypto. Auto-detects asset type. For stocks: returns financials (income statement, balance sheet, cash flow), earnings, valuation, analyst ratings, holders, insider transactions, and outstanding shares. For ETFs: returns holdings, asset allocation, sector/country weights. For mutual funds: fund-specific data. Supports date-range pruning to limit financials and earnings to a specific window. For bulk fundamentals across many tickers at once, use get_bulk_fundamentals instead. For price data, use get_historical_stock_prices or get_live_price_data instead. Returns: Nested object; structure depends on asset Type: Common Stock — top-level keys: - General: name, exchange, currency, sector, industry, description, etc. - Highlights: marketCap, EBITDA, PE, EPS, dividendYield, etc. - Valuation: trailing/forward PE, PEG, price-to-sales/book, EV ratios - SharesStats: shares outstanding, float, percent insiders/institutions - Technicals: beta, 52wHigh/Low, moving averages, short ratio - SplitsDividends: forward/trailing dividend rate & yield, payout ratio, split history - AnalystRatings: target price, strong buy/buy/hold/sell/strong sell counts - Holders: top institutional & fund holders with shares/weight - InsiderTransactions: array of insider trades (date, name, shares, value) - outstandingShares: quarterly & annual share counts by date - Earnings: History (actual/estimate EPS), Trend, Annual - Financials: Balance_Sheet, Cash_Flow, Income_Statement (quarterly & yearly) ETF — top-level keys: - General, Technicals - ETF_Data: Holdings (top N positions), Sector_Weights, World_Regions, Top_10_Holdings, Asset_Allocation, performance, fees Mutual Fund — top-level keys: - General - MutualFund_Data: fund family, category, NAV, yield, holdings, sector weights Index — General only (pass extra_params={'historical': 1} for components). Examples: "Apple fundamentals" → ticker="AAPL.US" "Tesla earnings and valuation for 2025" → ticker="TSLA.US", sections=["Earnings", "Valuation"], from_date="2025-01-01", to_date="2025-12-31" "Vanguard Total Stock Market ETF info" → ticker="VTI.US", sections=["General", "ETF_Data"] Demo: To manual data structure, use the manual API key "demo" (documentation: https://eodhd.com/financial-apis/). The "demo" key works for AAPL.US, MSFT.US, TSLA.US (stocks), VTI.US (ETF), SWPPX.US (mutual funds), EURUSD.FOREX, and BTC-USD.CC in all relevant APIs.

finance1 积分

调用信息

工具标识
eodhd.get_fundamentals_data
服务提供方
EODHD
平均响应
1145 ms
近 7 天调用
1

输入参数

ticker必填

string

api_token

api_key

from_date

to_date

sections

extra_params

include_financials

boolean

fmt

string