# 机构共识

`GET` `/v1/quote/financial-consensus-detail`

获取机构共识预测，包括营收、EPS 和净利润预测。

## Parameters

### Query Parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `symbol` | string | Yes | 证券代码，例如 `TSLA.US` |

## Request Example

```bash
curl --request GET \
  --url 'https://openapi.longbridge.com/v1/quote/financial-consensus-detail?symbol=<symbol>' \
  --header 'Authorization: Bearer <access_token>'
```

## Response

### Response Properties

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `list` | object[] | No | 共识预测期列表， |
| `└ fiscal_year` | integer | No | 财年 |
| `└ fiscal_period` | string | No | 财年内的财季序号 |
| `└ period_text` | string | No | 展示用周期标签（如 Q1 2027） |
| `└ details` | object[] | No | 财务指标详情列表 |
| `└ ∟ key` | string | No | 指标键（如 `eps`、`revenue`） |
| `└ ∟ name` | string | No | 标的名称。 |
| `└ ∟ description` | string | No | 完整描述 |
| `└ ∟ estimate` | string | No | 一致预期值 |
| `└ ∟ is_released` | boolean | No | 实际值是否已公布 |
| `└ ∟ actual` | string | No | 实际披露值 |
| `└ ∟ comp_value` | string | No | 对比百分比值 |
| `└ ∟ comp_desc` | string | No | 对比描述 |
| `└ ∟ comp` | string | No | 对比结果（如 `beat`、`miss`） |
| `current_index` | integer | No | 当前周期在 opt_periods 中的索引 |
| `currency` | string | No | 报告货币 |
| `opt_periods` | array | No | 可选周期选项 |
| `current_period` | string | No | 当前周期代码（如 `qf`） |

### Response JSON Example

```json
{
  "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
          }
        ]
      }
    ]
  }
}
```
