新闻

文档 v1.0.67 · 发布快照 1.0.78下载 meoz Skill最新文档

根据服务、资产与周期选择本接口。先核对请求参数,再用响应字段和单位解释结果。

正式接口 · meoz 接口目录

聚合主流新闻来源。

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

接口名称 news

请求方法 POST /api

  • https://sz.meoz.cn:6688
  • https://sh.meoz.cn:6688

返回字段

字段 名称 类型 描述 单位
published_at 发布时间 string|null 新闻来源标注的发布时间。
display_at 展示时间 string 用于统一排序和展示的北京时间。
time_label 时间标签 string|null 页面使用的简短时间标签。
source 来源代码 string 新闻来源的稳定代码。
source_name 来源名称 string 新闻来源的中文名称。
title 标题 string 新闻标题。
summary 摘要 string|null 新闻摘要;来源未提供时返回 null。
url 原文链接 string|null 新闻原文地址;来源未提供时返回 null。
image 封面图片 string|null 新闻封面图片地址;来源未提供时返回 null。
rank 来源排序 integer|null 新闻在原始来源列表中的排序;编码、顺序号或标记,不适用物理单位;未列出的枚举含义尚未确认。
source_id 来源记录 ID string 新闻在原始来源中的记录标识。
item_type 内容类型 string 来源记录的内容类型。
updated_at 缓存更新时间 string Datacenter 新闻快照的采集时间。

请求

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

响应

{"200":{"content":{"application/json":{"schema":{"properties":{"code":{"description":"业务状态码,200 表示成功","example":200,"type":"integer"},"data":{"description":"新闻缓存返回数据;结构由 params.view 决定","nullable":true,"oneOf":[{"properties":{"count":{"description":"本次返回的新闻数量。","example":1,"type":"integer"},"fields":{"description":"返回字段名列表,顺序与 items 中每一列一一对应","example":["time_label","source_name","title","display_at","summary","url","published_at"],"items":{"type":"string"},"type":"array"},"items":{"description":"二维数组数据,每一行代表一条新闻,列顺序与 fields 一一对应","example":[["12:40","财联社头条","人工智能板块午后走强","2026-08-23T12:40:00","多只人工智能概念股上涨。","https://www.cls.cn/detail/1234567","2026-08-23T12:40:00"]],"items":{"items":{},"type":"array"},"type":"array"},"meta":{"additionalProperties":true,"description":"新闻缓存的来源及更新时间元数据","example":{"updated_at":"2026-08-23T12:45:00","upstream_collected_at":"2026-08-23T12:40:00+08:00","upstream_etag":"\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"","upstream_snapshot_date":"2026-08-23","upstream_stale_sources":[],"upstream_status":"complete"},"type":"object"},"view":{"description":"按时间混排。","enum":["time"],"example":"time","type":"string"}},"required":["view","count","fields","items","meta"],"title":"按时间列表","type":"object"},{"properties":{"groups":{"description":"按来源名称排序的新闻分组。","items":{"properties":{"count":{"description":"该来源本次返回的新闻数量。","example":1,"type":"integer"},"fields":{"description":"返回字段名列表,顺序与 items 中每一列一一对应","example":["time_label","source_name","title","display_at","summary","url","published_at"],"items":{"type":"string"},"type":"array"},"items":{"description":"二维数组数据,每一行代表一条新闻,列顺序与 fields 一一对应","example":[["12:40","财联社头条","人工智能板块午后走强","2026-08-23T12:40:00","多只人工智能概念股上涨。","https://www.cls.cn/detail/1234567","2026-08-23T12:40:00"]],"items":{"items":{},"type":"array"},"type":"array"},"source":{"description":"来源代码。","example":"cls_depth_1000","type":"string"},"source_name":{"description":"来源名称。","example":"财联社头条","type":"string"}},"required":["source","source_name","count","fields","items"],"type":"object"},"type":"array"},"meta":{"additionalProperties":true,"description":"新闻缓存的来源及更新时间元数据","example":{"updated_at":"2026-08-23T12:45:00","upstream_collected_at":"2026-08-23T12:40:00+08:00","upstream_etag":"\"0123456789abcdef0123456789abcdef0123456789abcdef0123456789abcdef\"","upstream_snapshot_date":"2026-08-23","upstream_stale_sources":[],"upstream_status":"complete"},"type":"object"},"view":{"description":"按新闻来源分组。","enum":["source"],"example":"source","type":"string"}},"required":["view","groups","meta"],"title":"按来源分组","type":"object"}]},"message":{"description":"响应消息","example":"success","type":"string"}},"required":["code","message","data"],"type":"object"}}},"description":"Successful Response"},"429":{"content":{"application/json":{"schema":{"properties":{"code":{"example":429,"type":"integer"},"data":{"example":null,"nullable":true},"message":{"example":"请求频率超限:daily_auc_detail 接口的调用上限为 3 次/秒,请降低该接口的调用频率,建议 1 秒后重试。","type":"string"}},"required":["code","message","data"],"type":"object"}}},"description":"账户总调用频率或单个重接口调用频率超过当前套餐限额。","headers":{"Retry-After":{"description":"建议等待后重试的秒数。","schema":{"minimum":1,"type":"integer"}}}}}