GET
/
calendar
/
earnings
/
backtesting
Get earnings backtesting results
curl --request GET \
  --url https://openapi.ainvest.com/open/calendar/earnings/backtesting \
  --header 'Authorization: Bearer <token>'
{
    "data": {
        "headline": "Backtest CMCSA Earning Beats",
        "summary": "The backtest shows CMCSA consistently
outperforms following earnings beats, with an 80% win rate
over three days and sustained positive
returns up to 30 days. In contrast, the broader
Media Industry exhibits negligible impact from earnings
beats, suggesting company-specific factors drive
CMCSA's success. Furthermore, Comcast's earnings
beat positively influences the overall market
but negatively affects the Healthcare Services
sector due to shifting consumer spending.
This indicates a sector-specific dynamic where
strong telecom earnings can bolster market
confidence yet divert attention from healthcare.
Investors might benefit from focusing on CMCSA
directly while monitoring sector rotations."
    },
    "status_code": 0,
    "status_msg": "success"
}
Earnings reports are anticipated by analysts and traders because they reveal the hard numbers on a company’s wellbeing. After the report is published, traders expect price movements. To help them make a decision, our Aime the AI does some backtesting analysis by looking back at all previous earnings reports and tracking the stock price after each report. With this data in hand, Aime provides some statistics on how the stock price usually performs after actual earnings beat forecasts. For example, according to Aime’s analysis on July 31 2025, the stock price of CMCSA (Comcast) grows within the next 3 days in 80% of cases. In 30 days after the earnings report, the returns tend to stay positive.
{
    "data": {
        "headline": "Backtest CMCSA Earning Beats",
        "summary": "The backtest shows CMCSA consistently
outperforms following earnings beats, with an 80% win rate
over three days and sustained positive
returns up to 30 days. In contrast, the broader
Media Industry exhibits negligible impact from earnings
beats, suggesting company-specific factors drive
CMCSA's success. Furthermore, Comcast's earnings
beat positively influences the overall market
but negatively affects the Healthcare Services
sector due to shifting consumer spending.
This indicates a sector-specific dynamic where
strong telecom earnings can bolster market
confidence yet divert attention from healthcare.
Investors might benefit from focusing on CMCSA
directly while monitoring sector rotations."
    },
    "status_code": 0,
    "status_msg": "success"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your key. Get the key here

Query Parameters

unique_id
string
required

The unique identifier for the earnings event from Earnings API call

Response

200
application/json

Successful response in standard envelope

The response is of type object.