工具 API

get_earnings_trends

Get earnings trend data including EPS/revenue estimates, analyst revisions, and growth projections for specific stocks. Returns quarterly and annual consensus estimates, number of analysts, and revision history. Requires explicit symbol(s). Each request consumes ~10 API calls. Use when the user asks about earnings expectations, analyst estimate changes, or EPS growth trends. For earnings report dates and calendar, use get_upcoming_earnings instead. Returns: Array of trend records, each with: - code (str): ticker symbol - date (str): report date - period (str): fiscal period (e.g. '+1y', '0q') - growth (float|null): expected growth rate - earningsEstimate (object): avg, low, high, yearAgoEps, numberOfAnalysts, growth - revenueEstimate (object): avg, low, high, yearAgoRevenue, numberOfAnalysts, growth - epsTrend (object): current, 7daysAgo, 30daysAgo, 60daysAgo, 90daysAgo - epsRevisions (object): upLast7days, upLast30days, downLast7days, downLast30days Examples: "Apple earnings trend" → symbols="AAPL.US" "Compare Tesla and Nvidia earnings trends" → symbols="TSLA.US,NVDA.US" 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_earnings_trends
服务提供方
EODHD
平均响应
0 ms
近 7 天调用
0

输入参数

symbols必填

fmt

string

api_token