Skip to main content

history()

history(ticker: string): Promise<ApiResponse>
Get earnings history for a company.
ticker
string
required
Stock ticker symbol

Example

const history = await client.earnings.history('AAPL');

trend()

trend(ticker: string): Promise<ApiResponse>
Get earnings trend analysis.
ticker
string
required
Stock ticker symbol

Example

const trend = await client.earnings.trend('AAPL');

index()

index(ticker: string): Promise<ApiResponse>
Get index trend data.
ticker
string
required
Stock ticker symbol

Example

const indexTrend = await client.earnings.index('AAPL');

report()

report(ticker: string, params: { year: string, quarter: string }): Promise<ApiResponse>
Get earnings report for a specific quarter.
ticker
string
required
Stock ticker symbol
params.year
string
required
Year of the earnings report
params.quarter
string
required
Quarter of the earnings report

Example

const report = await client.earnings.report('AAPL', {
  year: '2024',
  quarter: 'Q1'
});