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

get_market_news_live

按资讯 ID 获取近实时市场资讯详情;默认返回正文。列表请用 list_market_news_live。

英文描述

Get one near-realtime market news article by news_id; body included by default.

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

请求参数

参数名参数说明数据类型样例数据
news_id资讯 ID,必填integer123456
include_content是否返回正文,默认 truebooleantrue

响应参数

参数名参数说明数据类型样例数据
code业务状态码,0 表示成功integer0
message状态说明stringok
data业务载荷对象;未找到时为 nullobject{}
meta.freshness数据时效标识stringlive
data.news_id资讯IDstring123456
data.title标题string甲醇市场快讯
data.content正文string<p>…</p>

响应状态说明

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

请求示例

{
  "news_id": 123456,
  "include_content": true
}

响应示例

{
  "code": 0,
  "message": "ok",
  "data": {
    "news_id": 123456,
    "product_name": "甲醇",
    "title": "甲醇市场快讯",
    "content": "<p>…</p>"
  },
  "meta": {
    "freshness": "live"
  }
}