Fundamental

Forecast EPS

GEThttps://openapi.longbridge.com/v1/quote/forecast-eps

Authorization

Signed mode: every request is signed with your App Key/Secret. Header set:

NameTypeRequiredDescription
Authorizationstring · headerRequiredThe account Access Token from the OpenAPI dashboard — passed as the raw token (no Bearer prefix) and included in the signature calculation.
X-Api-Keystring · headerRequiredYour App Key.
X-Timestampstring · headerRequiredRequest timestamp in seconds (Unix epoch).
X-Api-Signaturestring · headerRequiredHMAC-SHA256 signature. Format: HMAC-SHA256 SignedHeaders=authorization;x-api-key;x-timestamp, Signature=.

Get EPS forecasts and analyst consensus estimates.

>_ CLI
longbridge forecast-eps TSLA.US
longbridge forecast-eps AAPL.US

Request

Query parameters

NameTypeRequiredDescription
symbolstringRequiredSecurity symbol, e.g. `TSLA.US`

Response

Response properties

NameTypeRequiredDescription
itemsobject[]OptionalList of EPS forecast periods
└ forecast_eps_medianstringOptionalMedian EPS estimate
└ forecast_eps_meanstringOptionalMean EPS estimate
└ forecast_eps_loweststringOptionalLowest EPS estimate
└ forecast_eps_higheststringOptionalHighest EPS estimate
└ institution_totalintegerOptionalTotal contributing institutions
└ institution_upintegerOptionalInstitutions revising up
└ institution_downintegerOptionalInstitutions revising down
└ forecast_start_datestringOptionalForecast period start date
└ forecast_end_datestringOptionalForecast period end date

Response JSON example

{
  "code": 0,
  "message": "success",
  "data": {
    "items": [
      {
        "forecast_end_date": "1727827200",
        "forecast_eps_highest": "3.71",
        "forecast_eps_lowest": "2.37",
        "forecast_eps_mean": "2.998",
        "forecast_eps_median": "3.02",
        "forecast_start_date": "1727827200",
        "institution_down": 0,
        "institution_total": 0,
        "institution_up": 0
      }
    ]
  }
}

Error code

See the Error Codes page for the full list of error codes.