查询历史数据的分析统计。本接口数据仅用于学习分析,不得用于对外展示!根据股票代码、日期获取股票历史数据及相关分析,返回日期、开盘价、收盘价、最高价、最低价、成交量、成交额、换手率、涨跌幅等,可绘制相应日线图及走势分析 。
可以查询A股某只股票近一年中出现的涨跌停情况。
showapi_res_body
curl -X POST "https://route.showapi.com/131-76?appKey=YOUR_APPKEY" \ -H "content-type: application/x-www-form-urlencoded"
{ "showapi_res_id": "", "showapi_res_error": "", "showapi_res_code": 0, "showapi_res_body": { "ret_code": 0, "remark": "查询成功!", "list": [ { "last_time": "09:25:03", "code": "301020", "type": "up", "close": "33.33", "strth": "100.000000", "fd_amount": "2255641.2000", "first_time": "09:25:03", "pct_chg": "213.25", "open_times": "", "trade_date": "20210706", "fl_ratio": "0.1950", "fc_ratio": "0.3245", "amp": "148.50" }, { "last_time": "13:27:09", "code": "301020", "type": "up", "close": "43.80", "strth": "39.783737", "fd_amount": "3305761.2000", "first_time": "09:49:21", "pct_chg": "20.00", "open_times": "6", "trade_date": "20210816", "fl_ratio": "0.2174", "fc_ratio": "0.4286", "amp": "20.27" } ] } }
在 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