跳轉到內容

獲取標的資訊

獲取指定股票的資訊列表。

CLI安裝 CLI

bash
# Tesla 最新資訊
longbridge news TSLA.US
# Apple 最新資訊
longbridge news AAPL.US
# NVDA 最新資訊
longbridge news NVDA.US

Request

HTTP MethodGET
HTTP URL/v1/content/{symbol}/news

Path Parameters

NameTypeRequiredDescription
symbolstringYES股票代碼,使用 ticker.region 格式,例如:AAPL.US

Request Example

Response

Response Headers

  • Content-Type: application/json

Response Example

json
{
  "code": 0,
  "message": "success",
  "data": {
    "items": [
      {
        "id": "279528757",
        "title": "Beats 跨界联动耐克破圈!苹果欲再掀可穿戴消费热潮 耐克押注 "运动科技" 叙事",
        "description": "苹果公司旗下的 Beats 与耐克合作推出限量版 Powerbeats Pro 2 耳机,耳机上印有耐克的 Swoosh 标志。该耳机将于 3 月 20 日在线及部分 Apple Store 发售,售价为 250 美元。这是 Beats 首次与外部运动品牌合作,标志着两家公司在品牌和产品生态上的进一步协同。耳机具备实时心率追踪功能,续航时间最长可达 45 小时。",
        "url": "https://longbridge.com/news/279528757",
        "published_at": "1773805586",
        "comments_count": 0,
        "likes_count": 0,
        "shares_count": 0
      }
    ]
  }
}

Response Status

StatusDescriptionSchema
200返回成功news_response
500內部錯誤None

Schemas

news_response

NameTypeRequiredDescription
itemsobject[]true資訊列表
∟ idstringtrue資訊 ID
∟ titlestringtrue標題
∟ descriptionstringtrue摘要/描述
∟ urlstringtrue資訊詳情鏈接
∟ published_atstringtrue發佈時間,Unix 時間戳(秒)
∟ comments_countint32true評論數
∟ likes_countint32true點贊數
∟ shares_countint32true分享數