Python function:
getEarningsData()Product Overview
Overview
Earnings Calendar & Results provides structured data on quarterly earnings reports for US equities. The dataset includes both historical results (actual EPS vs. consensus estimates) and upcoming scheduled reports (with estimated EPS and release timing). Each row represents a single earnings event for a company — the date of the report, the fiscal period, the time of release, and the actual and estimated EPS values.Data Pipeline
Scalar Field proxies earnings data in real-time from the Benzinga API. Each query fetches live data directly — there is no local caching delay. This means upcoming earnings dates and freshly reported results are available as soon as the upstream source publishes them.Querying the Data
Basic Usage
For upcoming earnings, set
end_date to a future date. epsActual will be None for reports that have not yet been released.Parameters
Return Schema
ReturnsDict[str, pd.DataFrame] keyed by ticker symbol. Each DataFrame:
When aligning earnings data with price data, remember that earnings dates may fall on non-trading days. Use
getClosestTradingDate() to find the nearest trading session.