资讯

资讯新闻接口文档

聚合主流新闻来源。

每 20 分钟采集,约 5 分钟后同步至公开接口。

POST/apiapiname:news
推荐调用地址深圳日内节点https://sz.meoz.cn:6688/api上海日内节点https://sh.meoz.cn:6688/api深圳 HTTP 兼容(仅程序调用)http://sz.numcat.net:8866/api上海 HTTP 兼容(仅程序调用)http://sh.numcat.net:8866/api

请求参数

参数类型是否必选示例值描述
apikeystring必选—浏览器中的 Test Request 会在发送时自动注入;其他调用请[前往个人中心获取](/console)。
apinamestring(news)必选news接口名称
fieldsstring|null可选time_label,source_name,title,display_at,summary,url,published_at| 字段 | 类型 | 名称 | 示例值 | 描述 | | --- | --- | --- | --- | --- | | `published_at` | `string\|null` | 发布时间 | `2026-08-23T12:40:00` | 新闻来源标注的发布时间。 | | `display_at` | `string` | 展示时间 | `2026-08-23T12:40:00` | 用于统一排序和展示的北京时间。 | | `time_label` | `string\|null` | 时间标签 | `12:40` | 页面使用的简短时间标签。 | | `source` | `string` | 来源代码 | `cls_depth_1000` | 新闻来源的稳定代码。 | | `source_name` | `string` | 来源名称 | `财联社头条` | 新闻来源的中文名称。 | | `title` | `string` | 标题 | `人工智能板块午后走强` | 新闻标题。 | | `summary` | `string\|null` | 摘要 | `多只人工智能概念股上涨。` | 新闻摘要;来源未提供时返回 null。 | | `url` | `string\|null` | 原文链接 | `https://www.cls.cn/detail/1234567` | 新闻原文地址;来源未提供时返回 null。 | | `image` | `string\|null` | 封面图片 | `https://img.cls.cn/news/1234567.jpg` | 新闻封面图片地址;来源未提供时返回 null。 | | `rank` | `integer\|null` | 来源排序 | `1` | 新闻在原始来源列表中的排序。 | | `source_id` | `string` | 来源记录 ID | `1234567` | 新闻在原始来源中的记录标识。 | | `item_type` | `string` | 内容类型 | `top_article` | 来源记录的内容类型。 | | `updated_at` | `string` | 缓存更新时间 | `2026-08-23T12:40:00` | Datacenter 新闻快照的采集时间。 |
paramsobject可选{"view":"time"}| 参数 | 类型 | 是否必选 | 示例值 | 描述 | | --- | --- | --- | --- | --- | | `limit` | `integer` | 可选 | `100` | 每个列表或来源分组最多返回的记录数,取值范围 1~500。 | | `view` | `string` | 可选 | `time` | 展示方式:time 按时间列表返回,source 按来源分组返回。 | | `sources` | `string\|array` | 可选 | `cls_depth_1000,yicai_home` | 新闻来源过滤条件。当前支持 cls_depth_1000、cls_depth_1003、cls_hot_article、yicai_home。 | | `keyword` | `string` | 可选 | `人工智能` | 关键词,按标题和摘要模糊搜索。 |

params 参数

参数类型是否必选示例值描述
keywordstring可选人工智能关键词,按标题和摘要模糊搜索。
limitinteger可选100每个列表或来源分组最多返回的记录数,取值范围 1~500。
sourcesstring|array<string>可选cls_depth_1000,yicai_home新闻来源过滤条件。当前支持 cls_depth_1000、cls_depth_1003、cls_hot_article、yicai_home。
viewstring(time / source)可选time展示方式:time 按时间列表返回,source 按来源分组返回。

fields 返回字段

字段顺序与接口样例保持一致
字段类型名称示例值描述
published_atstring|null发布时间2026-08-23T12:40:00新闻来源标注的发布时间。
display_atstring展示时间2026-08-23T12:40:00用于统一排序和展示的北京时间。
time_labelstring|null时间标签12:40页面使用的简短时间标签。
sourcestring来源代码cls_depth_1000新闻来源的稳定代码。
source_namestring来源名称财联社头条新闻来源的中文名称。
titlestring标题人工智能板块午后走强新闻标题。
summarystring|null摘要多只人工智能概念股上涨。新闻摘要;来源未提供时返回 null。
urlstring|null原文链接https://www.cls.cn/detail/1234567新闻原文地址;来源未提供时返回 null。
imagestring|null封面图片https://img.cls.cn/news/1234567.jpg新闻封面图片地址;来源未提供时返回 null。
rankinteger|null来源排序1新闻在原始来源列表中的排序。
source_idstring来源记录 ID1234567新闻在原始来源中的记录标识。
item_typestring内容类型top_article来源记录的内容类型。
updated_atstring缓存更新时间2026-08-23T12:40:00Datacenter 新闻快照的采集时间。

请求与响应样例

{
  "apikey": "YOUR_API_KEY",
  "apiname": "news",
  "fields": "time_label,source_name,title,display_at,summary,url,published_at",
  "params": {
    "view": "time"
  }
}

相关接口

风险声明:猫爪数据提供的数据与接口仅用于学习、研究和程序开发,不构成任何投资建议。金融市场存在风险,请独立判断并自行承担使用结果。