/ApocData-skill
A-share data service with structured announcement parsing: every announcement carries an AI summary, category, importance level and sentiment, fully traceable to source. Also 45+ endpoints for quotes, financials, capital flows, dragon-tiger lists and macro data. Free tier for
$ npx -y skills add ApocData/ApocData-skill --skill ApocData-skill --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
- Fires itselfAuto-invocation. Claude auto-loads it when your prompt matches the work.Auto-invocation is when the right skill fires by itself at the right moment, driven by a FLOW.md router and a hook, instead of you invoking it by name. It is the difference between a skill being installed and a skill actually getting used.Read the full definition →
- You can call itInvoke it directly when you want it.
- Slash command
/ApocData-skill
Context preview
The summary Claude sees to decide when to auto-load this skill.
A-share data service with structured announcement parsing: every announcement carries an AI summary, category, importance level and sentiment, fully traceable to source. Also 45+ endpoints for quotes, financials, capital flows, dragon-tiger lists and macro data. Free tier for
SKILL.md
ApocData-skill.SKILL.mdname: apocdata
description: "A-share data service with structured announcement parsing: every announcement carries an AI summary, category, importance level and sentiment, fully traceable to source. Also 45+ endpoints for quotes, financials, capital flows, dragon-tiger lists and macro data. Free tier for instant access; register for higher quotas. Use when users ask for A-share stock quotes, financials, capital flows, technical factors, news, announcements, sectors, convertible bonds, macro data, or comprehensive stock analysis through the ApocData public API. Trigger keywords: 股票, 行情, 估值, 财务, 资金流, 涨停, 跌停, 炸板, 打板, 连板, 板块, 概念, 可转债, 宏观, 公告, 调研, 龙虎榜, 游资, 北向资金, 两融, 排行, 人气榜, 指数, 筹码, 获利盘, ST, 分红, 回购, 大宗交易, 量化因子, 技术面, 交易日历, 下修, 转股价, 业绩快报, 股东户数, 解禁, profile, ApocData, A股数据. Do NOT trigger for: cryptocurrency, crypto, Bitcoin, US stocks, US market, futures, options, forex, Hong Kong stocks, 加密货币, 比特币, 美股, 期货, 外汇, or any non-A-share market."
天启至数 ApocData — A 股数据服务
> **让 AI 读懂 A 股公告。** 全市场公告解析为结构化数据:AI 摘要(`summary`)、 > 类型(`category`)、重要性(`importance`)、情感倾向(`sentiment`),条条可溯源(`url`); > 并覆盖行情、财务、资金流、龙虎榜、宏观等 45+ 数据接口。 > 免费体验额度开箱即用,注册解锁更高额度与更多能力。 > 支持 WorkBuddy / Codex / Hermes / DeepSeek / Kimi / 千问 / 智谱清言等所有 Agent。
安装
# v2.0.5 多文件结构(推荐)
mkdir -p ~/.claude/skills/apocdata
curl -sL https://gitee.com/apocdata/ApocData-skill/repository/archive/v2.0.5.tar.gz \
| tar xz -C ~/.claude/skills/apocdata --strip-components=1
重启 Claude Code 后自动生效。
---
基础用法
所有接口均为 HTTP GET,用 curl 直接调用:
BASE="https://www.apocdata.com/api/blade-dataplatform/open/data"
# 查单只股票行情
curl -s "$BASE/quote?symbol=000001"
# 查股票基本信息(含 PE/PB/市值)
curl -s "$BASE/stock?symbol=000001"
OpenAPI 3 接入(GPT Actions / Coze / Dify / n8n / Zapier)
| 端点 | 用途 | |---|---| | `https://www.apocdata.com/api/blade-dataplatform/open/data/openapi.json` | **OpenAPI 3 JSON(推荐,导入即用)**,免费体验额度匿名访问,覆盖全部公开接口 |
> spec 的 `servers.url` 已内置为公网基址,导入后各接口路径直接拼接即可调用,无需再改 base。
免费体验额度,无需注册即可调用;注册解锁更高额度与更多数据能力。
---
场景速查(按用户意图找接口组合)
> 拿到自然语言意图时,**优先查本表选定接口组合**,再去参考文件看字段细节,避免漏调或乱调。
| 用户意图 | 推荐调用顺序 | 关键说明 | |---|---|---| | 个股综合画像 / 「这只票怎么样」 | **推荐**:`profile/full?symbol=X`(一次返回 8 维数据) | 等价于并发调 8 个单接口,延时减 60%+ | | 个股综合画像(分步精细化) | `quote` → `stock` → `financial` → `tech-factor` → `moneyflow` → `announcements` | 需要按维度独立控制 limit/fields 时用 | | **多只股票行情对比 / 批量查涨跌** | **`quotes?symbols=A,B,C`**(**3 只以上必须用,禁止逐只轮询**) | 最多 10 只,一次返回,省 3 倍请求 | | 估值评估 / 「贵不贵」 | `stock` → `financial` → `daily?limit=30` | 看 PE/PB/PEG,结合近期走势判断 | | 资金动向追踪 / 「主力在干嘛」 | `moneyflow` → `hsgt` → `hk-hold` → `dragon-tiger` → `hot-money-detail` | 北向 20:00 后更新 | | 涨停盘后复盘 / 「今天涨停的共性」 | `limit-list?kind=U` → `limit-step` → `sector-flow` → `hot-money-detail` | date 不传默认最新交易日 | | 板块 / 概念热度 | `sector-flow` → `concepts` → `concept-stocks` 或 `ths-boards` → `ths-board-stocks` | 东方财富与同花顺双源板块数据,可交叉验证 | | 新闻 / 市场事件 | ~~`news?q=关键词`~~ **已下线** → 改用 `announcements` 查正式披露 | `/news` 接口已下线 | | 公告 / 事件驱动 | `announcements` → `survey` → `share-float` → `repurchase` → `dividend` | 公告正文可选;`summary` 可能为空,使用前需判空 | | 大盘择时 / 宏观判断 | `index-daily?tsCode=000300.SH` → `macro/latest?type=PMI` → `macro/latest?type=CPI` → `hsgt` | 宏观接口最多 12 条 | | 可转债套利 | `convertible-bonds` → `cb-price-chg` → `quote`(正股) | 用 stkCode 反查正股可转债 | | 找游资偏好的票 | `hot-money` → `hot-money-detail` → `dragon-tiger` | 当日游资明细 + 历史席位 | | 退市/风险排查 | `st` → `share-float` → `holders` → `announcements` | st 返回 null 即非 ST | | 业绩超预期追踪 | `express` → `financial` → `survey` → `announcements` | express 是季报前的先行指标 | | 找具体行业 / 名字模糊 | `stocks?q=名称或代码&industry=行业` → `stock` 逐只确认 | `q` 模糊匹配名称/代码;`industry` 是独立精确过滤参数 |
---
接口分组总览
> 全部 **45 个活跃业务接口按使用场景分 11 组**(`/news` 已下线)。详细参数和返回字段见对应的参考文件。
| 组别 | 主题 | 接口数 | 参考文件 | |---|---|---|---| | A | 行情与估值 | 10 | `references/group-a-quote.md` | | B | 财务与基本面 | 8 | `references/group-b-financial.md` | | C | 资金博弈 | 7 | `references/group-c-capital.md` | | D | 涨跌停与情绪 | 4 | `references/group-d-limitup.md` | | E | 事件与信息 | 3(活跃 2) | `references/group-e-events.md` | | F | 板块/概念 | 4 | `references/group-f-sector.md` | | G | 可转债 | 2 | `references/group-g-convertible.md` | | H | 量化与技术 | 2 | `references/group-h-quant.md` | | I | 宏观 | 3 | `references/group-i-macro.md` | | J | 工具 | 1 | `references/group-j-tools.md` | | K | Agent 增强 | 2 | `references/group-k-agent.md` |
---
参考文件导航
根据用户需求,读取对应的参考文件获取完整接口细节:
全局规则(优先读取)
| 参考文件 | 何时读取 | |---------|---------| | `references/boundaries.md` | 首次调用任何接口前、遇到错误/空数据时、需理解 header/缓存/freshness 时 | | `references/safety-rules.md` | 生成任何金融分析输出前(强制行为规则) |
接口字典(按主题按需加载)
| 参考文件 | 何时读取 | |---------|---------| | `references/group-a-quote.md` | 查行情、估值、排行、指数、搜索股票、ST 状态 | | `references/group-b-financial.md` | 查财务报表、分红、股东、回购、大宗交易、限售解禁 | | `references/group-c-capital.md` | 查资金流、北向资金、两融、龙虎榜、游资 | | `references/group-d-limitup.md` | 查涨跌停、连板天梯、板块资金流、筹码分布 | | `references/group-e-events.md` | 查公告、机构调研(新闻已下线) | | `references/group-f-sector.md` | 查概念板块(东方财富)、行业板块(同花顺)、成分股 | | `references/group-g-convertible.md` | 查可转债列表、转股价变动 | | `references/group-h-quant.md` | 查量化因子注册表、个股技术面因子 | | `references/group-i-macro.md` | 查 GDP/CPI/PPI/PMI 宏观数据 | | `references/group-j-tools.md` | 查交易日历 | | `references/group-k-agent.md` | 用 profile/full 综合画像、factor-categories 因子分类 |
示例与场景
| 参考文件 | 何时读取 | |---------|---------| | `references/examples.md` | 需要多接口配合的复杂分析场景(综合画像/涨停复盘/北向跟踪/可转债/宏观择时) |
---
调用工作流
1. **收到用户意图** → 先查上方「场景速查表」确定接口组合 2. **首次调用前** → 读取 `references/boundaries.md` 了解 limit 上限和参数易错点 3. **需要具体端点参数/返回字段** → 按场景速查表指向的组别,读取对应 `references/group-*.md` 4. **生成分析输出前** → 读取 `references/safety-rules.md` 遵守强制行为规则 5. **简单查询**(如「查下茅台行情」)→ 只需场景速查表 + `group-a-quote.md`,无需加载全部文件
---
关键约束速记(调任何接口前先扫一眼)
limit 上限(超限静默截断,不报错)
| 接口 | 上限 | 接口 | 上限 | |---|---|---|---| | `daily` | 30 | `quotes` | 10 只 | | `macro` | 12 | `ranking`/`limit-list`/`dragon-tiger` 等 | 50 | | `announcements` | 30 | `calendar` | 跨度 ≤ 366 天(**超范围会报错**) |
参数易错点
- **枚举参数优先用英文**:`sector-flow?type=industry/concept/
Read more
name: apocdata description: "A-share data service with structured announcement parsing: every announcement carries an AI summary, category, importance level and sentiment, fully traceable to source. Also 45+ endpoints for quotes, financials, capital flows, dragon-tiger lists and macro data. Free tier for instant access; register for higher quotas. Use when users ask for A-share stock quotes, financials, capital flows, technical factors, news, announcements, sectors, convertible bonds, macro data, or comprehensive stock analysis through the ApocData public API. Trigger keywords: 股票, 行情, 估值, 财务, 资金流, 涨停, 跌停, 炸板, 打板, 连板, 板块, 概念, 可转债, 宏观, 公告, 调研, 龙虎榜, 游资, 北向资金, 两融, 排行, 人气榜, 指数, 筹码, 获利盘, ST, 分红, 回购, 大宗交易, 量化因子, 技术面, 交易日历, 下修, 转股价, 业绩快报, 股东户数, 解禁, profile, ApocData, A股数据. Do NOT trigger for: cryptocurrency, crypto, Bitcoin, US stocks, US market, futures, options, forex, Hong Kong stocks, 加密货币, 比特币, 美股, 期货, 外汇, or any non-A-share market."
天启至数 ApocData — A 股数据服务
> **让 AI 读懂 A 股公告。** 全市场公告解析为结构化数据:AI 摘要(`summary`)、 > 类型(`category`)、重要性(`importance`)、情感倾向(`sentiment`),条条可溯源(`url`); > 并覆盖行情、财务、资金流、龙虎榜、宏观等 45+ 数据接口。 > 免费体验额度开箱即用,注册解锁更高额度与更多能力。 > 支持 WorkBuddy / Codex / Hermes / DeepSeek / Kimi / 千问 / 智谱清言等所有 Agent。
安装
# v2.0.5 多文件结构(推荐) mkdir -p ~/.claude/skills/apocdata curl -sL https://gitee.com/apocdata/ApocData-skill/repository/archive/v2.0.5.tar.gz \ | tar xz -C ~/.claude/skills/apocdata --strip-components=1
重启 Claude Code 后自动生效。
---
基础用法
所有接口均为 HTTP GET,用 curl 直接调用:
BASE="https://www.apocdata.com/api/blade-dataplatform/open/data" # 查单只股票行情 curl -s "$BASE/quote?symbol=000001" # 查股票基本信息(含 PE/PB/市值) curl -s "$BASE/stock?symbol=000001"
OpenAPI 3 接入(GPT Actions / Coze / Dify / n8n / Zapier)
| 端点 | 用途 | |---|---| | `https://www.apocdata.com/api/blade-dataplatform/open/data/openapi.json` | **OpenAPI 3 JSON(推荐,导入即用)**,免费体验额度匿名访问,覆盖全部公开接口 |
> spec 的 `servers.url` 已内置为公网基址,导入后各接口路径直接拼接即可调用,无需再改 base。
免费体验额度,无需注册即可调用;注册解锁更高额度与更多数据能力。
---
场景速查(按用户意图找接口组合)
> 拿到自然语言意图时,**优先查本表选定接口组合**,再去参考文件看字段细节,避免漏调或乱调。
| 用户意图 | 推荐调用顺序 | 关键说明 | |---|---|---| | 个股综合画像 / 「这只票怎么样」 | **推荐**:`profile/full?symbol=X`(一次返回 8 维数据) | 等价于并发调 8 个单接口,延时减 60%+ | | 个股综合画像(分步精细化) | `quote` → `stock` → `financial` → `tech-factor` → `moneyflow` → `announcements` | 需要按维度独立控制 limit/fields 时用 | | **多只股票行情对比 / 批量查涨跌** | **`quotes?symbols=A,B,C`**(**3 只以上必须用,禁止逐只轮询**) | 最多 10 只,一次返回,省 3 倍请求 | | 估值评估 / 「贵不贵」 | `stock` → `financial` → `daily?limit=30` | 看 PE/PB/PEG,结合近期走势判断 | | 资金动向追踪 / 「主力在干嘛」 | `moneyflow` → `hsgt` → `hk-hold` → `dragon-tiger` → `hot-money-detail` | 北向 20:00 后更新 | | 涨停盘后复盘 / 「今天涨停的共性」 | `limit-list?kind=U` → `limit-step` → `sector-flow` → `hot-money-detail` | date 不传默认最新交易日 | | 板块 / 概念热度 | `sector-flow` → `concepts` → `concept-stocks` 或 `ths-boards` → `ths-board-stocks` | 东方财富与同花顺双源板块数据,可交叉验证 | | 新闻 / 市场事件 | ~~`news?q=关键词`~~ **已下线** → 改用 `announcements` 查正式披露 | `/news` 接口已下线 | | 公告 / 事件驱动 | `announcements` → `survey` → `share-float` → `repurchase` → `dividend` | 公告正文可选;`summary` 可能为空,使用前需判空 | | 大盘择时 / 宏观判断 | `index-daily?tsCode=000300.SH` → `macro/latest?type=PMI` → `macro/latest?type=CPI` → `hsgt` | 宏观接口最多 12 条 | | 可转债套利 | `convertible-bonds` → `cb-price-chg` → `quote`(正股) | 用 stkCode 反查正股可转债 | | 找游资偏好的票 | `hot-money` → `hot-money-detail` → `dragon-tiger` | 当日游资明细 + 历史席位 | | 退市/风险排查 | `st` → `share-float` → `holders` → `announcements` | st 返回 null 即非 ST | | 业绩超预期追踪 | `express` → `financial` → `survey` → `announcements` | express 是季报前的先行指标 | | 找具体行业 / 名字模糊 | `stocks?q=名称或代码&industry=行业` → `stock` 逐只确认 | `q` 模糊匹配名称/代码;`industry` 是独立精确过滤参数 |
---
接口分组总览
> 全部 **45 个活跃业务接口按使用场景分 11 组**(`/news` 已下线)。详细参数和返回字段见对应的参考文件。
| 组别 | 主题 | 接口数 | 参考文件 | |---|---|---|---| | A | 行情与估值 | 10 | `references/group-a-quote.md` | | B | 财务与基本面 | 8 | `references/group-b-financial.md` | | C | 资金博弈 | 7 | `references/group-c-capital.md` | | D | 涨跌停与情绪 | 4 | `references/group-d-limitup.md` | | E | 事件与信息 | 3(活跃 2) | `references/group-e-events.md` | | F | 板块/概念 | 4 | `references/group-f-sector.md` | | G | 可转债 | 2 | `references/group-g-convertible.md` | | H | 量化与技术 | 2 | `references/group-h-quant.md` | | I | 宏观 | 3 | `references/group-i-macro.md` | | J | 工具 | 1 | `references/group-j-tools.md` | | K | Agent 增强 | 2 | `references/group-k-agent.md` |
---
参考文件导航
根据用户需求,读取对应的参考文件获取完整接口细节:
全局规则(优先读取)
| 参考文件 | 何时读取 | |---------|---------| | `references/boundaries.md` | 首次调用任何接口前、遇到错误/空数据时、需理解 header/缓存/freshness 时 | | `references/safety-rules.md` | 生成任何金融分析输出前(强制行为规则) |
接口字典(按主题按需加载)
| 参考文件 | 何时读取 | |---------|---------| | `references/group-a-quote.md` | 查行情、估值、排行、指数、搜索股票、ST 状态 | | `references/group-b-financial.md` | 查财务报表、分红、股东、回购、大宗交易、限售解禁 | | `references/group-c-capital.md` | 查资金流、北向资金、两融、龙虎榜、游资 | | `references/group-d-limitup.md` | 查涨跌停、连板天梯、板块资金流、筹码分布 | | `references/group-e-events.md` | 查公告、机构调研(新闻已下线) | | `references/group-f-sector.md` | 查概念板块(东方财富)、行业板块(同花顺)、成分股 | | `references/group-g-convertible.md` | 查可转债列表、转股价变动 | | `references/group-h-quant.md` | 查量化因子注册表、个股技术面因子 | | `references/group-i-macro.md` | 查 GDP/CPI/PPI/PMI 宏观数据 | | `references/group-j-tools.md` | 查交易日历 | | `references/group-k-agent.md` | 用 profile/full 综合画像、factor-categories 因子分类 |
示例与场景
| 参考文件 | 何时读取 | |---------|---------| | `references/examples.md` | 需要多接口配合的复杂分析场景(综合画像/涨停复盘/北向跟踪/可转债/宏观择时) |
---
调用工作流
1. **收到用户意图** → 先查上方「场景速查表」确定接口组合 2. **首次调用前** → 读取 `references/boundaries.md` 了解 limit 上限和参数易错点 3. **需要具体端点参数/返回字段** → 按场景速查表指向的组别,读取对应 `references/group-*.md` 4. **生成分析输出前** → 读取 `references/safety-rules.md` 遵守强制行为规则 5. **简单查询**(如「查下茅台行情」)→ 只需场景速查表 + `group-a-quote.md`,无需加载全部文件
---
关键约束速记(调任何接口前先扫一眼)
limit 上限(超限静默截断,不报错)
| 接口 | 上限 | 接口 | 上限 | |---|---|---|---| | `daily` | 30 | `quotes` | 10 只 | | `macro` | 12 | `ranking`/`limit-list`/`dragon-tiger` 等 | 50 | | `announcements` | 30 | `calendar` | 跨度 ≤ 366 天(**超范围会报错**) |
参数易错点
- **枚举参数优先用英文**:`sector-flow?type=industry/concept/
English | 简体中文 ## Let AI read A-share announcements The A-share announcements and fundamentals database built for AI · parsed · structured · traceable All-market announcements parsed into structured data: AI summary · category · importance · sentiment, fully

