Skip to content
iTick
  1. 文档
  2. REST API
  3. 新闻资讯
  4. 实时新闻

实时新闻

查询指定市场与语言下的实时新闻,返回标题、发布时间、原文链接、供应商

实时新闻查询

GET/news

请求参数

marketenum必填

市场类型,取值来自产品类型配置

langenum必填

新闻语言

limitstring

查询数量

响应参数

codenumber

响应code

msgstring

响应描述

dataarray(object)▶响应结果
idstring

新闻 ID

testring

标题

ptstring

发布时间,Unix 时间戳

mtstring

市场类型

lgstring

语言

lkstring

原始文章链接

pvstring

供应商

代码示例

import requests

url = "https://api.itick.org/news?market=stock&lang=hk&limit=2"

headers = {
"accept": "application/json"
"token": "Your Token"
}

response = requests.get(url, headers=headers)

print(response.text)

查询 URL

GEThttps://api.itick.org/news?code=HK

,即可运行查询

响应结果

{
  "code": 0,
  "msg": "ok",
  "data": {
    "data": [
      {
        "id": "9de18b22-7c7d-3142-9082-de39d3dc7e1a",
        "te": "拼多多雄安公司員工數量超600人,成為新區最大互聯網民營企業",
        "pt": 1783264154,
        "mt": "stock",
        "lg": "hk",
        "lk": "https://www.gelonghui.com/live/2537364",
        "pv": "Gelonghui"
      },
      {
        "id": "bb7af54f-418c-32a6-88a7-3791735b3c92",
        "te": "郭明錤稱摺疊iPhone可能重演iPhone X劇本:同場發佈、較晚開賣,供應吃緊延續至年底",
        "pt": 1783262706,
        "mt": "stock",
        "lg": "hk",
        "lk": "https://www.gelonghui.com/live/2537362",
        "pv": "Gelonghui"
      }
    ],
    "pagination": {
      "nextCursor": "2026-07-05T14:45:06.000690825Z",
      "hasMore": true,
      "count": 2
    }
  }
}