# A股数据 API(ashareapi.com) > 面向 AI Agent 与开发者的 A 股数据 API:**94 个端点**(91 个数据端点 + 3 个工具端点)覆盖行情 / K线 / **五档盘口** / 财务 / 资金流 / 龙虎榜 / 板块 / 估值 / 宏观 / 可转债 / ETF / 新股 / 研报 / 因子选股 / 量化回测;**8 个数据端点无需 Key 即可调用**;可经 MCP(**85 个工具**)一条 URL 接进 Claude Code / Cursor / Codex / CodeBuddy 等 19 家客户端,也可用 **Agent Skill** 装进 45+ 种 AI 客户端。 多源数据通道(多源自动切换 + 交叉校验)。统一返回信封:`{ ok, endpoint, tier, elapsed_ms, source, data }`。 代码格式带市场前缀:`sh600667`(沪)· `sz000001`(深)· `bj8xxxxx`(北)· `hk00700`(港)· `usAAPL`(美)· `sh113052` / `sz123138`(可转债)· `pt01801780`(申万板块)。 ## 快速开始 - [文档](https://ashareapi.com/docs/): 3 步拿到数据 · 鉴权 · 接入指引(MCP / Python / Node.js / 数据分析) - [Agent 量化是什么](https://ashareapi.com/agent-quant/): Agent 自己做研究、直接调数据、自己验证 —— 品类定义与「数据可核对」 - [AI 选股怎么做](https://ashareapi.com/ai-screener/): 因子库 → 条件筛选 → 策略回测,一套 API 走完选股链路 - [Agent Skill 接入](https://ashareapi.com/skill/): 一个文件夹装进 45+ 种 AI 客户端 - [Agent Skill 分发索引](https://ashareapi.com/.well-known/agent-skills/index.json): 标准化 Skill 发现入口(含 sha256 校验) - [端点清单](https://ashareapi.com/endpoints/): 全部 91 个数据端点的参数与多语言示例 - [错误码](https://ashareapi.com/docs/errors/): 401 / 403 / 429 / 422 与上游失败对照 · 参数约定 - [定价与获取 Key](https://ashareapi.com/pricing/): 免费端点无需 Key · 体验 ¥9.9 / 1 万次 · 标准 ¥29.9 / 10 万次 · 专业 ¥99 / 50 万次 · 机构版 ¥199 / 月 ## 端点(共 94 个路径 · 每个都有独立文档页) ### 免费(无需 Key,10 个) - `/v1/models` — OpenAI / Anthropic 兼容模型清单(免费) · [doc](https://ashareapi.com/docs/endpoints/models/) - `/v1/health` — 服务健康检查 · [doc](https://ashareapi.com/docs/endpoints/health/) - `/v1/challenge` — PoW 挑战(匿名提额用) · [doc](https://ashareapi.com/docs/endpoints/challenge/) - `/v1/quote` — 行情快照(现价 / 开高低 / 成交额 / 换手) · [doc](https://ashareapi.com/docs/endpoints/quote/) - `/v1/kline` — K 线(日 / 周 / 月 / 季 / 年 + 分钟线) · [doc](https://ashareapi.com/docs/endpoints/kline/) - `/v1/wiki` — 文档检索(字段 / 口径 / 常见误用) · [doc](https://ashareapi.com/docs/endpoints/wiki/) - `/v1/hot` — 热搜榜(A股 / 美股 / ETF 关注度) · [doc](https://ashareapi.com/docs/endpoints/hot/) - `/v1/market-overview` — 市场总览(画像 / 涨跌 / 风格轮动 / 估值分位) · [doc](https://ashareapi.com/docs/endpoints/market-overview/) - `/v1/changedist` — 涨跌分布(市场广度 · 当期口径) · [doc](https://ashareapi.com/docs/endpoints/changedist/) - `/v1/trade-calendar` — 交易日历(开市/休市 · 年末最后交易日) · [doc](https://ashareapi.com/docs/endpoints/trade-calendar/) ### 需 API Key(84 个) - `/v1/agent-search` — 自然语言受控检索(带证据链 · 供开发者编排) · [doc](https://ashareapi.com/docs/endpoints/agent-search/) - `/v1/agent-ask` — 自然语言问答(带内联引用 · BYOK:用你自己的模型 key) · [doc](https://ashareapi.com/docs/endpoints/agent-ask/) - `/v1/messages` — Anthropic Messages 协议(Claude Code / Anthropic SDK · BYOK) · [doc](https://ashareapi.com/docs/endpoints/messages/) - `/v1/chat/completions` — OpenAI Chat Completions 协议(OpenAI SDK / 通用客户端 · BYOK) · [doc](https://ashareapi.com/docs/endpoints/chat-completions/) - `/v1/responses` — OpenAI Responses API(Codex / openai SDK 2.x · BYOK) · [doc](https://ashareapi.com/docs/endpoints/responses/) - `/v1/agent-research` — 异步研究任务(提交 · 带引用报告 · BYOK) · [doc](https://ashareapi.com/docs/endpoints/agent-research/) - `/v1/kline-full` — 全历史 K 线(10 年日线 · 可选复权口径) · [doc](https://ashareapi.com/docs/endpoints/kline-full/) - `/v1/market-kline` — 全市场单日 K 线(一次拿全 A 股某日行情) · [doc](https://ashareapi.com/docs/endpoints/market-kline/) - `/v1/backtest` — 量化回测(单标的实时 / 组合预计算) · [doc](https://ashareapi.com/docs/endpoints/backtest/) - `/v1/strategies` — 量化策略清单(单标的 20 + 组合 9) · [doc](https://ashareapi.com/docs/endpoints/strategies/) - `/v1/ip-whitelist` — 查 IP 白名单(Unlimited 档) · [doc](https://ashareapi.com/docs/endpoints/ip-whitelist/) - `/v1/backtest-batch` — 批量回测(多标的 × 多策略对比) · [doc](https://ashareapi.com/docs/endpoints/backtest-batch/) - `/v1/factors` — 量化因子库(88 因子 + 50 筛选入口 + 预设模板) · [doc](https://ashareapi.com/docs/endpoints/factors/) - `/v1/playbooks` — 量化方法论库(怎么判断市场 · 怎么避坑) · [doc](https://ashareapi.com/docs/endpoints/playbooks/) - `/v1/minute` — 分时(当日 / 近 5 日盘中走势) · [doc](https://ashareapi.com/docs/endpoints/minute/) - `/v1/news` — 个股资讯(列表 / 详情) · [doc](https://ashareapi.com/docs/endpoints/news/) - `/v1/notice` — 公告(列表 / 详情) · [doc](https://ashareapi.com/docs/endpoints/notice/) - `/v1/finance` — 财务报表(利润表 / 资产负债表 / 现金流量表) · [doc](https://ashareapi.com/docs/endpoints/finance/) - `/v1/finance-batch` — 批量财务报表(多只一次取) · [doc](https://ashareapi.com/docs/endpoints/finance-batch/) - `/v1/technical-batch` — 批量技术指标(多只一次取 · 55 项) · [doc](https://ashareapi.com/docs/endpoints/technical-batch/) - `/v1/fund` — 个股资金 + 龙虎榜 + 大宗 + 两融(综合) · [doc](https://ashareapi.com/docs/endpoints/fund/) - `/v1/fund-batch` — 批量资金流(多股一次取) · [doc](https://ashareapi.com/docs/endpoints/fund-batch/) - `/v1/quote-batch` — 批量行情(多只一次取) · [doc](https://ashareapi.com/docs/endpoints/quote-batch/) - `/v1/kline-batch` — 批量 K 线(多只一次取) · [doc](https://ashareapi.com/docs/endpoints/kline-batch/) - `/v1/snapshot-batch` — 批量全字段画像(多只一次取) · [doc](https://ashareapi.com/docs/endpoints/snapshot-batch/) - `/v1/profile-batch` — 批量公司简况(多只一次取) · [doc](https://ashareapi.com/docs/endpoints/profile-batch/) - `/v1/chip-batch` — 批量筹码分布(多只一次取) · [doc](https://ashareapi.com/docs/endpoints/chip-batch/) - `/v1/technical` — 技术指标(MA / MACD / KDJ / RSI / BOLL) · [doc](https://ashareapi.com/docs/endpoints/technical/) - `/v1/shareholder` — 股东研究 · [doc](https://ashareapi.com/docs/endpoints/shareholder/) - `/v1/shareholder-batch` — 批量股东研究(多只一次取) · [doc](https://ashareapi.com/docs/endpoints/shareholder-batch/) - `/v1/chip` — 筹码分布 / 成本 · [doc](https://ashareapi.com/docs/endpoints/chip/) - `/v1/orderbook` — 五档盘口(买五卖五 + 挂单量) · [doc](https://ashareapi.com/docs/endpoints/orderbook/) - `/v1/snapshot` — 全字段行情画像(估值 / 市值 / 股本 / 涨停价) · [doc](https://ashareapi.com/docs/endpoints/snapshot/) - `/v1/abnormal` — 异动 / 偏离值(监管异动体系) · [doc](https://ashareapi.com/docs/endpoints/abnormal/) - `/v1/review` — 复盘(涨停结构:板块主线 / 连板梯队) · [doc](https://ashareapi.com/docs/endpoints/review/) - `/v1/limit-up` — 打板(涨停池明细 / 竞价涨停) · [doc](https://ashareapi.com/docs/endpoints/limit-up/) - `/v1/auction` — 集合竞价(当日分时 / 历史逐笔 / 竞价量额) · [doc](https://ashareapi.com/docs/endpoints/auction/) - `/v1/events` — 个股事件标签(42 类) · [doc](https://ashareapi.com/docs/endpoints/events/) - `/v1/bigorder` — L2 大单净额分时(分钟级 · 机构版专属) · [doc](https://ashareapi.com/docs/endpoints/bigorder/) - `/v1/bigorder-flow` — L2 大单成交明细(含主动/被动拆分 · 机构版专属) · [doc](https://ashareapi.com/docs/endpoints/bigorder-flow/) - `/v1/bigorder-queue` — L2 大单委托流(挂单 + 撤单标记 · 机构版专属) · [doc](https://ashareapi.com/docs/endpoints/bigorder-queue/) - `/v1/bigorder-history` — L2 历史大单净额(逐日 · 最多 100 个交易日 · 机构版专属) · [doc](https://ashareapi.com/docs/endpoints/bigorder-history/) - `/v1/bigorder-split` — L2 主力四分解(分钟级 · 主动/被动 × 买/卖 · 机构版专属) · [doc](https://ashareapi.com/docs/endpoints/bigorder-split/) - `/v1/bigorder-rank` — L2 全市场主力净额榜(5568 只 · 8 种排序 · 机构版专属) · [doc](https://ashareapi.com/docs/endpoints/bigorder-rank/) - `/v1/lhb-seats` — 龙虎榜席位明细(营业部 · 游资标记 · 机构版专属) · [doc](https://ashareapi.com/docs/endpoints/lhb-seats/) - `/v1/lhb-agency` — 龙虎榜机构参与个股榜(全市场 · 机构买入/卖出 · 机构版专属) · [doc](https://ashareapi.com/docs/endpoints/lhb-agency/) - `/v1/market-mood` — 市场情绪(破板率 + 赚钱效应 9 日趋势) · [doc](https://ashareapi.com/docs/endpoints/market-mood/) - `/v1/limit-reason` — 涨停原因(某只票的历史涨停记录 + 完整原因文案) · [doc](https://ashareapi.com/docs/endpoints/limit-reason/) - `/v1/broken-board` — 炸板历史(某日炸板股清单 + 概念) · [doc](https://ashareapi.com/docs/endpoints/broken-board/) - `/v1/tail-chase` — 尾盘抢筹(全市场 · 抢筹金额榜) · [doc](https://ashareapi.com/docs/endpoints/tail-chase/) - `/v1/northbound` — A 股北向资金分板块持仓(季度) · [doc](https://ashareapi.com/docs/endpoints/northbound/) - `/v1/new-high` — 百日新高(按题材汇总) · [doc](https://ashareapi.com/docs/endpoints/new-high/) - `/v1/flash` — 7×24 财经快讯(全市场电报) · [doc](https://ashareapi.com/docs/endpoints/flash/) - `/v1/evidence` — 财经多源取证(公告 + 资讯 · 带证据指纹) · [doc](https://ashareapi.com/docs/endpoints/evidence/) - `/v1/lhb` — 龙虎榜分榜(机构 / 游资 / 活跃席位) · [doc](https://ashareapi.com/docs/endpoints/lhb/) - `/v1/screen` — 选股(因子/标签/排行/策略/事件 五模式;asset=etf 可筛 ETF 主题池与横截面排行) · [doc](https://ashareapi.com/docs/endpoints/screen/) - `/v1/sector` — 板块行情榜 · [doc](https://ashareapi.com/docs/endpoints/sector/) - `/v1/industry-chain` — 产业链(主题 / 图谱 / 个股定位) · [doc](https://ashareapi.com/docs/endpoints/industry-chain/) - `/v1/sector-valuation` — 板块估值(含历史百分位) · [doc](https://ashareapi.com/docs/endpoints/sector-valuation/) - `/v1/index-constituent` — 指数成分股(沪深300 等 · 全量清单) · [doc](https://ashareapi.com/docs/endpoints/index-constituent/) - `/v1/macro` — 宏观数据(GDP / CPI / PMI / LPR) · [doc](https://ashareapi.com/docs/endpoints/macro/) - `/v1/suspension` — 停复牌列表(沪深 / 港股 / 美股) · [doc](https://ashareapi.com/docs/endpoints/suspension/) - `/v1/buyback` — 公司回购(A股 / 港股) · [doc](https://ashareapi.com/docs/endpoints/buyback/) - `/v1/consensus` — 一致预期(目标价 + 未来盈利预测) · [doc](https://ashareapi.com/docs/endpoints/consensus/) - `/v1/rating` — 机构评级(港股 / 美股 · 目标价 + 评级分布) · [doc](https://ashareapi.com/docs/endpoints/rating/) - `/v1/disclosure` — 财报披露日历(业绩预约披露日) · [doc](https://ashareapi.com/docs/endpoints/disclosure/) - `/v1/fund-flow` — 个股资金流向(A股 / 港股;沪深支持历史区间) · [doc](https://ashareapi.com/docs/endpoints/fund-flow/) - `/v1/fund-short` — 卖空数据(港股 / 美股) · [doc](https://ashareapi.com/docs/endpoints/fund-short/) - `/v1/fund-south` — 南下资金持仓(港股通 · 季度) · [doc](https://ashareapi.com/docs/endpoints/fund-south/) - `/v1/index-list` — 指数清单(1223 个 · 含港股指数) · [doc](https://ashareapi.com/docs/endpoints/index-list/) - `/v1/score` — 股票评分(五维 · 含周月季变动) · [doc](https://ashareapi.com/docs/endpoints/score/) - `/v1/report` — 研报(列表 / 全文) · [doc](https://ashareapi.com/docs/endpoints/report/) - `/v1/bond` — 可转债条款 · [doc](https://ashareapi.com/docs/endpoints/bond/) - `/v1/etf` — ETF(概览/详情/持仓/净值/公司/持有人/财务 · 支持历史快照) · [doc](https://ashareapi.com/docs/endpoints/etf/) - `/v1/ipo` — 新股日历 · [doc](https://ashareapi.com/docs/endpoints/ipo/) - `/v1/dividend` — 分红送转 · [doc](https://ashareapi.com/docs/endpoints/dividend/) - `/v1/dehydrated` — 脱水研报 · [doc](https://ashareapi.com/docs/endpoints/dehydrated/) - `/v1/profile` — 公司简况 · [doc](https://ashareapi.com/docs/endpoints/profile/) - `/v1/search` — 股票 / 基金 / 板块搜索(模糊词消歧) · [doc](https://ashareapi.com/docs/endpoints/search/) - `/v1/stocks` — 全市场股票清单(代码 / 名称 / 上市日期 / 行业) · [doc](https://ashareapi.com/docs/endpoints/stocks/) - `/v1/calendar` — 投资日历(个股事件) · [doc](https://ashareapi.com/docs/endpoints/calendar/) - `/v1/margin-trade` — 融资融券 · [doc](https://ashareapi.com/docs/endpoints/margin-trade/) - `/v1/block-trade` — 大宗交易 · [doc](https://ashareapi.com/docs/endpoints/block-trade/) - `/v1/usage` — 查询用量与额度 · [doc](https://ashareapi.com/docs/endpoints/usage/) ## 免费端点补充说明 > ⚠️ **域名分工**:本文档所有链接都在**内容域 `ashareapi.com`**(欢迎抓取)。 > 实际调用走**接口域 `api.ashareapi.com`** —— 它的 `robots.txt` 是 `Disallow: /`,**只为防止爬虫压测接口,不是屏蔽 AI**。 匿名调用按来源限流(5 次/分;解一次 PoW 挑战可到 15 次/分,见 `/v1/challenge`)。 ## A股每日报告(三时段 · 免费公开 · 可直接引用) 每交易日自动生成三档,**页面与 Markdown 版均可自由引用**(标注来源 `ashareapi.com`): | 时段 | 生成时间 | URL 规律 | |------|----------|----------| | 盘前简报 | 09:15 | `https://ashareapi.com/daily/{YYYY-MM-DD}-pre.html` | | 午间播报 | 11:40 | `https://ashareapi.com/daily/{YYYY-MM-DD}-noon.html` | | 收盘复盘 | 15:05 | `https://ashareapi.com/daily/{YYYY-MM-DD}-post.html` | - 索引(含全部历史归档): https://ashareapi.com/daily/ - Markdown 版(**推荐给 AI 直接读取**): 把 `.html` 换成 `.md` - 收录入口: https://ashareapi.com/daily/sitemap.xml > 口径:涨跌家数为接口逐档统计,与媒体「全口径」表述可能存在差异;成交额为沪深两市合计。全部为**客观数据整理,不含投资建议**。 ## 鉴权 - 推荐:请求头 `Authorization: Bearer `(Key 在 https://ashareapi.com/pricing/ 获取,形如 `ct-xxxxxxxx`) - 快速测试:URL 参数 `?key=`(仅测试用;生产请用请求头,避免密钥进日志) ## 参考资料(速查) - [Wiki](https://ashareapi.com/wiki/): 字段速查 · 口径说明 · 常见误用 - [K 线返回字段速查](https://ashareapi.com/wiki/kline-fields/): 8 个字段与单位 · 收盘价字段叫 `last` 不叫 `close` - [单位速查](https://ashareapi.com/wiki/units/): volume 一律是手 · amount 在 K 线是元、在 snapshot 是万元 - [复权口径](https://ashareapi.com/wiki/adjustment/): K 线固定前复权 · 没有 adjust 参数 · 别二次复权 - [返回信封字段](https://ashareapi.com/wiki/envelope/): ok / endpoint / tier / elapsed_ms / source / data 六个字段 - [代码格式速查](https://ashareapi.com/wiki/code-format/): sh / sz / bj / hk / us 前缀(必须小写) - [数据时间口径](https://ashareapi.com/wiki/freshness/): 数据日期看 date 字段而不是系统时间 - [空结果不等于故障](https://ashareapi.com/wiki/empty-result/): 空数组多半是代码格式写错 · 空结果不扣次数 - [返回形态速查](https://ashareapi.com/wiki/response-shapes/): data 有四种形态 · 程序化取数用 structured 还是 tables - [字符串数值](https://ashareapi.com/wiki/string-numbers/): 多数端点数值是字符串不是数字 - [批量取数](https://ashareapi.com/wiki/batch-fetch/): 哪些端点支持逗号分隔多代码 · 循环时的限流处理 ## AI Agent 接入(MCP · 85 个工具) - [MCP 接入指南](https://ashareapi.com/mcp/): 客户端配置里填**接口地址** `https://api.ashareapi.com/mcp`(接口域,仅供程序调用) - [国内平台接入教程](https://ashareapi.com/docs/mcp-china/): 豆包 / 阿里云百炼 / 扣子 / 腾讯元器 / 腾讯云智能体开发平台 / 火山方舟 - [豆包接入(自定义插件)](https://ashareapi.com/docs/mcp-china/doubao/): 豆包工作加一个自定义插件 —— 传输 HTTP + 自定义 Headers 带 Key - [AI 爬虫清单与校验](https://ashareapi.com/docs/ai-crawlers/): 国内外 AI 爬虫对照(含官方 IP 段)+ 三类区分 + 常见误封错误 - OpenAPI 规范(内容域,可抓取): https://ashareapi.com/openapi.json **85 个 MCP 工具**(工具名 → 一句话): - `ashare_quote` — A股/港股/美股实时行情快照 - `ashare_quote_batch` — ⭐ 批量行情 - `ashare_kline_batch` — ⭐ 批量 K 线 - `ashare_snapshot_batch` — ⭐ 批量全字段画像 - `ashare_profile_batch` — ⭐ 批量公司简况 - `ashare_chip` — 筹码分布 / 持仓成本(沪深 A 股 + ETF) - `ashare_chip_batch` — ⭐ 批量筹码分布 - `ashare_shareholder_batch` — ⭐ 批量股东研究 - `ashare_finance_batch` — ⭐ 批量财务报表 - `ashare_technical_batch` — ⭐ 批量技术指标 - `ashare_orderbook` — 五档盘口 - `ashare_snapshot` — 全字段行情画像 - `ashare_kline` — K线(日/周/月/季/年 + 分钟线) - `ashare_kline_full` — 全历史K线(10 年日线,2016-08-08 起)+ 可选复权口径 - `ashare_market_kline` — 全市场单日K线 —— 一次请求返回某交易日全 A 股(5000+ 只)的日线 - `ashare_minute` — 分时(当日 / 近 5 日盘中走势) - `ashare_backtest` — 量化回测 - `ashare_backtest_batch` — 批量回测 - `ashare_strategies` — 量化策略清单 - `ashare_factors` — 量化因子库 - `ashare_playbooks` — 量化方法论库 - `ashare_finance` — 财务报表(利润表/资产负债表/现金流量表,最近 N 期) - `ashare_fund` — 个股级交易面 - `ashare_fund_batch` — ⭐ 批量资金流 - `ashare_technical` — 技术指标 MA/MACD/KDJ/RSI/BOLL - `ashare_shareholder` — 股东研究 - `ashare_events` — 个股事件标签 - `ashare_margin_trade` — 个股融资融券明细 - `ashare_block_trade` — 大宗交易成交明细 - `ashare_bigorder_flow` — L2 大单成交明细(当日逐笔,成交额 ≥ 阈值) - `ashare_bigorder_queue` — L2 大单委托流(当日挂单明细) - `ashare_bigorder_history` — L2 历史大单净额(逐日,往回最多 100 个交易日) - `ashare_bigorder_split` — L2 主力四分解(分钟级) - `ashare_bigorder_rank` — L2 全市场主力净额榜(约 5568 只) - `ashare_evidence` — 财经多源取证 - `ashare_agent_search` — 一句话取数 + 证据链 - `ashare_flash` — 7×24 财经快讯(全市场电报,财联社等来源),按时间倒序 - `ashare_lhb_seats` — 龙虎榜席位明细 - `ashare_lhb_agency` — 龙虎榜机构参与个股榜(全市场) - `ashare_market_mood` — 市场情绪(破板率 + 赚钱效应 9 日趋势) - `ashare_limit_reason` — 涨停原因(单只票的历史涨停记录 + 完整原因文案) - `ashare_broken_board` — 炸板历史(某日涨停被砸开的票) - `ashare_tail_chase` — 尾盘抢筹(全市场抢筹金额榜) - `ashare_northbound` — A 股北向资金分板块持仓(季度) - `ashare_new_high` — 百日新高(按题材汇总) - `ashare_bigorder` — 单股 L2 大单资金分时(分钟级) - `ashare_lhb` — 全市场龙虎榜分榜(6 类) - `ashare_profile` — 公司简况 - `ashare_screen` — 选股(量化筛股),五种模式用 `mode` 选(默认 condition) - `ashare_industry_chain` — A 股产业链(183 个产业链主题),三种模式 - `ashare_sector` — 板块行情榜(行业/概念/地域涨幅 + 领涨股 + 涨跌家数) - `ashare_sector_valuation` — 板块估值(PE/PB/PS/PCF + 股息率 + 历史百分位) - `ashare_index_constituent` — 指数成分股全量清单(沪深300 / 上证50 / 中证500 / 中证1000 / 科创50 / 创业板指 / 恒生…) - `ashare_suspension` — 停复牌清单(沪深 / 港股 / 美股) - `ashare_buyback` — 公司股份回购记录 - `ashare_consensus` — 卖方一致预期 - `ashare_rating` — 卖方机构评级 - `ashare_disclosure` — 业绩预约披露日 - `ashare_fund_flow` — 个股资金流向(A 股 / 港股) - `ashare_fund_short` — 卖空数据(港股 / 美股) - `ashare_fund_south` — 港股通南下资金持仓(季度) - `ashare_index_list` — 指数全量清单(1223 个) - `ashare_score` — 股票评分(仅 A 股) - `ashare_report` — 卖方研报 - `ashare_market_overview` — 市场级画像 - `ashare_changedist` — 全市场涨跌家数与市场广度(当期口径) - `ashare_hot` — 关注度排名(谁在被关注,⛔ 不是'谁在涨') - `ashare_news` — 个股财经资讯 - `ashare_notice` — 上市公司公告 - `ashare_macro` — 宏观数据(GDP/CPI/PMI/LPR/国债收益率/财政) - `ashare_bond` — 可转债完整条款 - `ashare_etf` — ETF 数据 - `ashare_calendar` — 个股事件日历 - `ashare_ipo` — 新股日历(发行/申购/中签/上市) - `ashare_dividend` — 分红送转历史(每股分红/送股/除权日) - `ashare_dehydrated` — 脱水研报(券商研报摘要) - `ashare_search` — 股票/基金/板块搜索(模糊词消歧) - `ashare_stocks` — 全市场股票清单(一次拿全 A 股约 5576 只) - `ashare_ask_user` — 歧义时向用户提问(结构对齐 Claude Code `AskUserQuestion`) - `ashare_usage` — 查自己的 API 用量与剩余额度(今日调用次数/剩余总量/到期时间/限流额度) - `ashare_wiki_search` — 产品文档检索 - `ashare_abnormal` — 异动 / 偏离值(短线监管异动体系) - `ashare_review` — 短线复盘(涨停结构) - `ashare_limit_up` — 短线打板 - `ashare_auction` — 集合竞价 ## 教程(附可运行代码) - [用 Python 获取 A股实时行情:3 种方法对比](https://ashareapi.com/docs/guides/python-ashare-quotes/) - [用 Python 获取 A股龙虎榜数据:4 种方法对比](https://ashareapi.com/docs/guides/longhubang-data/) - [用 Python SDK 获取 A股数据(pip install ashareapi)](https://ashareapi.com/docs/guides/python-sdk/) - [用 Node.js / TypeScript SDK 获取 A股数据](https://ashareapi.com/docs/guides/nodejs-ashare-quotes/) - [用数据量化 A股市场情绪](https://ashareapi.com/docs/guides/market-mood/) - [A股板块轮动怎么查](https://ashareapi.com/docs/guides/sector-rotation/) - [A股财务排雷](https://ashareapi.com/docs/guides/financial-redflags/) - [从 AkShare 迁移](https://ashareapi.com/docs/guides/migrate-from-akshare/) - [可转债强赎与双低怎么监控](https://ashareapi.com/docs/guides/convertible-bond-alerts/) - [用数据看主力资金](https://ashareapi.com/docs/guides/main-capital-flow/) - [从 Tushare 迁移](https://ashareapi.com/docs/migrate-from-tushare/) - [用 Claude Code 接入(MCP)](https://ashareapi.com/docs/guides/mcp-claude-code/) - [用 MCP 做 AI 量化](https://ashareapi.com/docs/guides/ai-quant-mcp/) - 全部教程: https://ashareapi.com/docs/guides/