查询股票历史数据的分析统计,根据股票代码和日期获取历史行情,返回开盘价、收盘价、最高价、最低价、成交量、成交额、换手率、涨跌幅等,可绘制日线图及走势分析。本数据仅用于学习分析,不得对外展示。
提供沪深股票板块的细分类目列表,涵盖申万行业、概念板块、地域板块、证监会行业等主要板块类别。
showapi_res_body
curl -X POST "https://route.showapi.com/131-58?appKey=YOUR_APPKEY" \ -H "content-type: application/x-www-form-urlencoded"
{ "showapi_res_code": 0, "showapi_res_error": "", "showapi_res_id":"ce135f6739294c63be0c021b76b6fbff", "showapi_res_body": { "ret_code": 0, "list": [ { "name": "申万行业", "childList": [ { "name": "通信", "code": "sw_tx" } ], "code": "" }, { "name": "概念板块", "childList": [ { "name": "免疫治疗", "code": "gn_myzl" } ], "code": "" }, { "name": "地域板块", "childList": [ { "name": "北京", "code": "diyu_1100" } ], "code": "" }, { "name": "证监会行业", "childList": [ { "name": "农、林、牧、渔业", "childList": [ { "name": "农业", "code": "hangye_ZA01" } ], "code": "" } ], "code": "" } ] } }
在 Cherry Studio、ChatBox 等支持 MCP 的客户端中配置,将 {your_appKey} 替换为真实 AppKey(AppKey 管理)。该服务覆盖本接口全部接入点。
{ "mcpServers": { "showapi-mcp-131": { "url": "http://www.showapi.com.cn/mcp/131/{your_appKey}" } } }
标准 OpenAPI 3.0 文档,覆盖本接口全部接入点,可导入 Apifox / Postman / Swagger UI,或供 AI Agent 直接消费。
客服热线请拨打
400-998-8033