Earnings Calendar API
The Earnings Calendar API provides access to earnings results and upcoming earning dates for all major companies.
Available endpoints:
- /v1/earningscalendar - Get a list of past earnings results and upcoming earnings dates
- /v1/earningscalendarlist - Get a list of all available companies in the earnings calendar
- /v1/upcomingearnings - Get upcoming earnings dates with filtering by date range, exchange, or ticker
From 8,223 users
Applications using this API
API Status
API Response Times
Average | P50 | P75 | P90 | P95 |
|---|---|---|---|---|
| 416ms | 458ms | 493ms | 665ms | 1088ms |
Didn't find what you were looking for? Suggest an improvement
/v1/earningscalendar GET
https://api.api-ninjas.com/v1/earningscalendar
Returns a list of past earnings results and upcoming earnings dates. You can query by ticker symbol to get earnings for a specific company, by a single date, or by a date range. Up to 50 earnings results are returned per request.
Parameters
At least one of ticker, date, date_start, or date_end must be provided. date cannot be combined with date_start or date_end.
tickeroptionalCompany ticker symbol (e.g.,
MSFT). If provided, returns earnings data for that specific company.dateoptionalDate in YYYY-MM-DD format (e.g.,
2024-01-15). If provided, returns all earnings data for that specific date.date_startoptionalStart date of a range in YYYY-MM-DD format (e.g.,
2024-01-15). Inclusive. If onlydate_startis provided,date_enddefaults to 7 days later. Cannot be combined withdate.date_endoptionalEnd date of a range in YYYY-MM-DD format (e.g.,
2024-01-22). Inclusive. Must be on or afterdate_start. If onlydate_endis provided,date_startdefaults to 7 days earlier. Cannot be combined withdate.show_upcomingoptional premium onlyWhether to show upcoming earnings dates. Must be either
trueorfalse. If unset, the default value isfalse.offsetoptionalNumber of results to skip for pagination. Must be a non-negative integer. Each request returns up to 50 results; use
offsetto page through larger result sets (e.g.offset=50for the next 50 results).
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
A JSON array of objects, each containing the following fields, or an error if the request is unsuccessful.
dateThe date of the earnings.
tickerThe ticker symbol of the company.
fiscal_yearThe company's fiscal year for this earnings report.
fiscal_quarterThe company's fiscal quarter (1-4) for this earnings report.
earnings_timingpremium onlyTiming of the earnings call. Possible values are:
before_market: Earnings call occurs before the market opens.during_market: Earnings call occurs during regular market hours.after_market: Earnings call occurs after the market closes.
earnings_call_timestamppremium onlyUnix timestamp of when the earnings call occurred or is scheduled to occur.
actual_revenueThe actual revenue in USD.
estimated_revenuepremium onlyThe estimated revenue in USD.
revenue_differencepremium onlyThe difference between actual and estimated revenue (
actual_revenue - estimated_revenue), in USD.revenue_difference_pctpremium onlyThe revenue difference as a percentage of the estimate:
(actual_revenue - estimated_revenue) / |estimated_revenue| * 100. Null whenestimated_revenueis 0.actual_epsThe actual earnings per share in USD.
estimated_epspremium onlyThe estimated earnings per share in USD.
eps_differencepremium onlyThe difference between actual and estimated EPS (
actual_eps - estimated_eps), in USD.eps_difference_pctpremium onlyThe EPS difference as a percentage of the estimate:
(actual_eps - estimated_eps) / |estimated_eps| * 100. Null whenestimated_epsis 0.
Note for free tier users: Premium-only fields are still included in the response, but their values are replaced with a message indicating the field requires a premium subscription. Upgrade at /pricing to unlock real values.
Sample Request Live Demo!
Try this API endpoint with all available parameters in our API playground
https://api.api-ninjas.com/v1/earningscalendar?ticker=MSFTHeaders
X-Api-KeyLog in or sign up to get your API KeySample Response
Code Examples
1
2
curl -X GET "https://api.api-ninjas.com/v1/earningscalendar?date=2024-01-15" \
-H "X-Api-Key: YOUR_API_KEY"If your programming language is not listed in the Code Example above, you can still make API calls by using a HTTP request library written in your programming language and following the above documentation.
/v1/earningscalendarlist GETPremium Only
https://api.api-ninjas.com/v1/earningscalendarlist
Returns a list of all available companies in the earnings calendar. Use it to find tickers for the /v1/earningscalendar endpoint.
Parameters
This endpoint does not require any parameters.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
A JSON array of objects, each containing the following fields, or an error if the request is unsuccessful.
tickerThe company ticker symbol.
companyThe company name.
Sample Request Live Demo!
This endpoint has no parameters. Click Try it to fetch the list of all available companies.
Try this API endpoint with all available parameters in our API playground
https://api.api-ninjas.com/v1/earningscalendarlistHeaders
X-Api-KeyLog in or sign up to get your API KeySample Response
/v1/upcomingearnings GETPremium Only
https://api.api-ninjas.com/v1/upcomingearnings
Returns a list of upcoming earnings dates with filtering capabilities. You can filter by date range, single date, exchange, or ticker symbol. Results are limited to dates from today onwards.
Parameters
All parameters are optional. If no parameters are provided, returns upcoming earnings from today onwards (up to 100 results).
start_dateoptionalStart date in YYYY-MM-DD format (e.g.,
2024-01-15). Must be today or later. Defaults to today if not provided.end_dateoptionalEnd date in YYYY-MM-DD format (e.g.,
2024-12-31). Must be after start_date. Defaults to 10 years from today if not provided.dateoptionalSingle date in YYYY-MM-DD format (e.g.,
2024-01-15). If provided, overrides start_date and end_date to filter by this exact date.exchangeoptionalExchange code to filter by (e.g.,
NASDAQ,NYSE,HKSE,LSE,TSX). Returns only earnings from companies listed on the specified exchange.tickeroptionalTicker symbol to filter by (e.g.,
AAPL,0700.HK). Returns only earnings for that specific company.limitoptionalMaximum number of results to return. Must be between
1and100(inclusive). Default is100.offsetoptionalNumber of results to skip for pagination. Must be a non-negative integer. Use in combination with
limitto paginate through results.
Headers
X-Api-KeyrequiredAPI Key associated with your account.
Response
A JSON array of objects, each containing the following fields, or an error if the request is unsuccessful.
tickerThe ticker symbol of the company.
dateThe date of the upcoming earnings (YYYY-MM-DD format).
eps_estimatedThe estimated earnings per share in USD (may be null).
revenue_estimatedThe estimated revenue in USD (may be null).
exchangeThe exchange code where the company is listed (e.g., NASDAQ, NYSE, HKSE).
earnings_timingTiming of the earnings call. Omitted when the company's earnings timing is not yet known. Possible values are:
before_market: Earnings call occurs before the market opens.during_market: Earnings call occurs during regular market hours.after_market: Earnings call occurs after the market closes.
Sample Request Live Demo!
Try this API endpoint with all available parameters in our API playground
https://api.api-ninjas.com/v1/upcomingearnings?exchange=NASDAQHeaders
X-Api-KeyLog in or sign up to get your API Key