芯化和云数据智能开放平台

list_market_news_live

查询近实时化工市场资讯列表。可按精确品名、资讯类型筛选;默认不含正文,需要正文时打开 include_content。单条详情用 get_market_news_live。

英文描述

List near-realtime chemical market news. Filter by exact product name or news type; body omitted by default (set include_content=true). Use get_market_news_live for one article.

文档更新:2026-08-11T17:58:55+08:00

请求参数

参数名参数说明数据类型样例数据
product_name精确品名,可选string甲醇
news_type资讯类型,可选string市场快讯
limit条数,默认 50,最大 200integer50
include_content是否返回正文,默认 falsebooleanfalse

响应参数

参数名参数说明数据类型样例数据
code业务状态码,0 表示成功integer0
message状态说明stringok
data业务载荷数组array[]
meta.freshness数据时效标识stringlive
data[].news_id资讯IDstring123456
data[].product_name品名string甲醇
data[].title标题string甲醇市场快讯
data[].summary摘要string

响应状态说明

状态说明
success调用成功,返回 code=0 与业务 data
failed参数非法、主键不存在或后端查询异常
deniedAPI Key 无效、已吊销、权限不足(Bearer / X-API-Key;如 L3 Tool 用 L2 Key)

请求示例

{
  "product_name": "甲醇",
  "limit": 20,
  "include_content": false
}

响应示例

{
  "code": 0,
  "message": "ok",
  "data": [
    {
      "news_id": 123456,
      "product_name": "甲醇",
      "title": "甲醇市场快讯",
      "summary": "摘要",
      "news_date": "2026-08-10 10:00:00"
    }
  ],
  "meta": {
    "freshness": "live"
  }
}