Fundamental

Financial Consensus

GEThttps://openapi.longbridge.com/v1/quote/financial-consensus-detail

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 financial consensus estimates including revenue, EPS, and net income forecasts.

>_ CLI
longbridge consensus TSLA.US
longbridge consensus AAPL.US

Request

Query parameters

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

Response

Response properties

NameTypeRequiredDescription
listobject[]OptionalList of consensus forecast periods
└ fiscal_yearintegerOptionalFiscal year
└ fiscal_periodstringOptionalFiscal period number within the fiscal year
└ period_textstringOptionalDisplay period label (e.g. Q1 2027)
└ detailsobject[]OptionalList of financial indicator details
└ ∟ keystringOptionalIndicator key (e.g. `eps`, `revenue`)
└ ∟ namestringOptionalSecurity name.
└ ∟ descriptionstringOptionalFull description
└ ∟ estimatestringOptionalConsensus estimate
└ ∟ is_releasedbooleanOptionalWhether actual has been released
└ ∟ actualstringOptionalActual reported value
└ ∟ comp_valuestringOptionalComparison percentage value
└ ∟ comp_descstringOptionalComparison description
└ ∟ compstringOptionalComparison result (e.g. `beat`, `miss`)
current_indexintegerOptionalIndex of the current period in opt_periods
currencystringOptionalReporting currency
opt_periodsarrayOptionalAvailable period options
current_periodstringOptionalCurrent period code (e.g. `qf`)

Response JSON example

{
  "code": 0,
  "message": "success",
  "data": {
    "currency": "USD",
    "current_index": 3,
    "current_period": "qf",
    "opt_periods": [
      "qf",
      "af",
      "saf"
    ],
    "list": [
      {
        "fiscal_year": 2026,
        "fiscal_period": "Q2 FY2026",
        "period_text": "Q2 FY2026",
        "details": [
          {
            "key": "revenue",
            "name": "Revenue",
            "estimate": "95000000000",
            "actual": "",
            "comp": "",
            "comp_value": null,
            "comp_desc": "",
            "description": "",
            "is_released": false
          }
        ]
      }
    ]
  }
}

Error code

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