Skip to main content
Glama

A股数据 API (A-Share Data API)

ashare_news

个股财经资讯。不传 id ⇒ 列表(标题 + 来源 + 时间);传 id ⇒ ⭐ 该条完整正文。用户问'这股票最近有什么新闻/消息面/这条新闻讲了什么'用这个。⭐ 正文是干净的 Markdown(已清洗 HTML 标签/图片占位/无效内链,保留股票代码关联如 茅台(sh600519),时间 YYYY-MM-DD HH:MM:SS)—— 可直接喂给大模型。⚠️ 列表只有最新 N 条(上游不提供翻页/历史)—— 要历史公告请用 ashare_notice。⚠️ 列表里的 url 指向动态页面,直接抓不到正文 ⇒ 要正文请用本工具的 id 参数。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo资讯 id(如 SN20261010173533a6c32421)——传它就取完整正文
codeNo个股/指数/ETF/板块代码:sh600519(取列表时必填)
typeNo可选:按资讯类型过滤(传 1 只返「研报」类)
limitNo条数(默认 50,上限 100)

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / code / default
      Added value: +""
    • changedInput schema / properties / code / description
      Previous value: -"个股/指数/ETF/板块代码:sh600519"New value: +"个股/指数/ETF/板块代码:sh600519(取列表时必填)"
    • addedInput schema / properties / id
      Added value: +{
      +  "default": "",
      +  "description": "资讯 id(如 SN20261010173533a6c32421)——传它就取完整正文",
      +  "title": "Id",
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "code"
      -]
  2. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources