US Analyst Consensus
Longbridge US Accounts
This method is only available for US data-center accounts.
Get analyst consensus estimates for a US stock — revenue, EPS forecasts, and buy/hold/sell ratings.
SDK Links
Parameters
SDK method parameters.
| Name | Type | Required | Description |
|---|---|---|---|
| symbol | string | YES | Stock symbol, e.g. AAPL.US |
| report | string | NO | Period: af (annual), saf (semi-annual), qf (quarterly), q1 (Q1), 3q (Q3) |
Request Example
Response
Response Example
json
{
"ai_summary": "Analysts remain broadly bullish on AAPL with 35 Buy ratings...",
"aichat_data": {
"agent_id": "analyst_aapl",
"handoff_agent_id": "",
"symbol": "AAPL.US",
"text": "Analyst consensus summary for AAPL",
"type": "consensus",
"workflow_type": "analyst"
},
"currency": "USD",
"report": "af",
"list": [
{
"fiscal_year": 2025,
"report_txt": "FY2025",
"revenue": {"actual": "391035000000", "estimate": "388000000000"},
"eps": {"actual": "6.42", "estimate": "6.29"},
"ebit": {"actual": "125820000000", "estimate": "122000000000"}
}
],
"opt_reports": ["af", "qf"],
"h5_data": null
}Response Status
| Status | Description | Schema |
|---|---|---|
| 200 | Success | UsAnalystConsensus |
| 400 | Bad request | None |
Schemas
UsAnalystConsensus
| Name | Type | Required | Description |
|---|---|---|---|
| ai_summary | string | true | AI-generated analyst consensus summary |
| aichat_data | USAIChatData | true | AI chat context data |
| currency | string | true | Currency code (e.g. USD) |
| report | string | true | Report period type |
| list | USConsensusItem[] | true | Consensus estimates by fiscal year |
| opt_reports | string[] | false | Optional available report periods |
| h5_data | any | false | H5 display data |
USConsensusItem
| Name | Type | Description |
|---|---|---|
| fiscal_year | int | Fiscal year |
| report_txt | string | Period label (e.g. FY2024) |
| revenue | USConsensusEstimate | Revenue consensus |
| eps | USConsensusEstimate | EPS consensus |
| ebit | USConsensusEstimate | EBIT consensus |
USConsensusEstimate
| Name | Type | Description |
|---|---|---|
| actual | string | Actual reported value |
| estimate | string | Analyst consensus estimate |
USAIChatData
| Name | Type | Description |
|---|---|---|
| agent_id | string | AI agent identifier |
| handoff_agent_id | string | Handoff agent identifier |
| symbol | string | Stock symbol |
| text | string | Chat context text |
| type | string | Chat type |
| workflow_type | string | Workflow type |