资讯与社区

标的社区讨论

GEThttps://openapi.longbridge.com/v1/content/{symbol}/topics

鉴权

签名方式:每个请求用 App Key / Secret 签名。请求头如下:

名称类型必填说明
Authorizationstring · header必填OpenAPI 后台 上的账户 Access Token,作为原始 token 传入(不带 Bearer 前缀),并参与签名计算。
X-Api-Keystring · header必填你的 App Key。
X-Timestampstring · header必填请求时间戳,单位秒(Unix 时间)。
X-Api-Signaturestring · header必填HMAC-SHA256 签名。格式:HMAC-SHA256 SignedHeaders=authorization;x-api-key;x-timestamp, Signature=。

获取指定股票的讨论列表。完整社区讨论可访问 社区。

>_ CLI
# community discussion topics for Tesla
longbridge topic TSLA.US
# community discussion topics for Apple
longbridge topic AAPL.US
# community discussion topics for NVDA
longbridge topic NVDA.US

请求

路径参数

名称类型必填说明
symbolstring必填股票代码,使用 `ticker.region` 格式,例如:`AAPL.US`

响应

响应字段

名称类型必填说明
itemsobject[]可选讨论列表
└ idstring可选讨论 ID
└ descriptionstring可选摘要/描述
└ urlstring可选讨论详情链接
└ comments_countinteger可选评论数
└ likes_countinteger可选点赞数
└ shares_countinteger可选分享数
└ published_atstring可选发布时间,Unix 时间戳(秒)
└ titlestring可选标题

响应 JSON 示例

{
  "code": 0,
  "message": "success",
  "data": {
    "items": [
      {
        "id": "39304657",
        "title": "NVDA GTC in focus; Alibaba 'Token strategy' ramps up | Daily News Recap",
        "description": "0317 | Dolphin Research Focus: 🐬 Stock #1, $NVIDIA(NVDA.US) — NVIDIA's GTC 2026 officially kicked off, and founder & CEO Jensen Huang delivered the keynote.He announced a Vera Rubin Space Module under the next-gen Vera Rubin architecture, designed for orbital data centers, delivering 25x performance vs. H100.He also unveiled a partnership with Groq to co-develop new LPU chips...",
        "url": "https://longbridge.com/topics/39304657",
        "published_at": "1773736144",
        "comments_count": 1,
        "likes_count": 7,
        "shares_count": 4
      }
    ]
  }
}

错误码

参见错误码文档。