@pipeworx/china-stocks

Connect: https://gateway.pipeworx.io/china-stocks/mcp · Install: one-click buttons

Tools: 7

Live data for the Chinese A-share market (Shanghai / Shenzhen / STAR / ChiNext) — real-time quotes, daily OHLCV history, the limit-up board, market-wide turnover ranking, and company earnings guidance/analyst consensus.

Tools

  • ashares_market_snapshot() — headline index levels (Shanghai Composite, Shenzhen Component, ChiNext, STAR 50, CSI 300) plus limit-up count as a sentiment gauge.
  • ashares_limit_up({ date?, limit? }) — the daily limit-up board (涨停板): how many stocks hit their daily price limit and the ranked pool with consecutive-board count, seal fund, industry, turnover.
  • ashares_quote({ symbols }) — real-time quote(s) by 6-digit code, comma-separated.
  • ashares_daily_history({ codes, start, end?, adjust? }) — daily OHLCV history (open/high/low/close/volume, day-over-day change %) for up to 20 codes over a date range. adjust: qfq (forward-adjusted, default), hfq (backward-adjusted), or none (raw). Turnover amount (成交额) is not exposed by the daily-bar source, so amount_cny reports "not_available" per row rather than being estimated — use ashares_quote or ashares_turnover_ranking for same-day turnover amount.
  • ashares_turnover_ranking({ limit?, sort?, order?, board? }) — market-wide ranking by turnover amount, change %, or volume, server-side sorted, with turnover in CNY.
  • ashares_earnings_forecast({ symbol, limit? }) — company-issued earnings guidance (业绩预告): predicted profit range, YoY change %, forecast type, stated reason.
  • ashares_analyst_consensus({ symbol }) — analyst consensus estimates (盈利预测) per forecast year: EPS, PE, net profit, revenue.

Auth

Keyless. All upstreams are public, unauthenticated endpoints.

Data sources

  • https://push2ex.eastmoney.com/getTopicZTPool — limit-up pool (涨停板).
  • https://hq.sinajs.cn/list=... — real-time quotes and index levels (GBK-encoded; decode with TextDecoder('gbk')).
  • https://vip.stock.finance.sina.com.cn/quotes_service/api/json_v2.php/Market_Center.getHQNodeData — market-wide ranked node listing (turnover/volume/change % ranking); no industry field.
  • https://datacenter-web.eastmoney.com/api/data/v1/get — earnings guidance / analyst consensus datacenter reports. Note: this is a different Eastmoney host from push2.eastmoney.com, which is empty from any IP — don’t lump them together.
  • https://web.ifzq.gtimg.cn/appstock/app/fqkline/get — Tencent/gtimg daily K-line bars. param=<sym>,day,<start>,<end>,<count>,<adjust> where <sym> is sh/sz/bj + 6-digit code and <adjust> is qfq/hfq/empty (unadjusted, still needs the trailing comma or the request 400s). Response key is qfqday/hfqday/day matching the adjust arg; an invalid code returns HTTP 200 with an empty day array rather than an error, so treat empty rows as found: false, not a fetch failure. Rows are [date, open, close, high, low, volume] — note the volume unit is 手 (lots of 100 shares), not raw shares, and there is no turnover-amount field in any adjust variant. A single request only accepts one param= (repeating the query param keeps only the last), so multi-code history is N parallel requests, not a batch call.

Turnover amount is deliberately absent from ashares_daily_history: checked both the gtimg row form (all three adjust variants) and Sina’s hisdata/klc_kl.js second-leg endpoint (binary-encoded, not a usable JSON leg) — neither exposes daily amount, so it is reported as not_available rather than derived from price × volume.

Tools

  • ashares_limit_up — The Chinese A-share market’s LIMIT-UP board (涨停板) for a trading day — how many stocks hit their daily price limit (+10%, or +20% for STAR/ChiNext) and the ranked list of those stocks. Answers ‘how man
  • ashares_market_snapshot — Overall snapshot of the Chinese A-share market — the headline index levels (Shanghai Composite, Shenzhen Component, ChiNext, STAR 50, CSI 300) with change %, day range and turnover, plus how many stoc
  • ashares_quote — Real-time quote(s) for Chinese A-share stocks by 6-digit code (Shanghai 6xxxxx, Shenzhen 0xxxxx/3xxxxx, STAR 688xxx, ChiNext 30xxxx, Beijing 8xxxxx/4xxxxx). Returns name, current price, change and cha
  • ashares_turnover_ranking — Market-wide ranking of Chinese A-share stocks by turnover / 成交额排名, 成交额前30名, 成交量排名, or 涨跌幅排名 — the whole board (not specific codes), sorted server-side and returned as a ranked list. Answers ‘A股成交额前30名
  • ashares_earnings_forecast — Company-issued earnings guidance (业绩预告) for a Chinese A-share stock — the company’s own forecast announcements with predicted profit range (lower/upper bounds in CNY), year-over-year change %, forecas
  • ashares_analyst_consensus — Analyst consensus estimates (盈利预测) for a Chinese A-share stock — per forecast year: consensus EPS, P/E at current price, net profit attributable to parent (归母净利润), and total operating revenue, in CNY.
  • ashares_daily_history — Daily OHLCV history (历史日线) for one or more Chinese A-share stocks over a date range — open, high, low, close, volume, and day-over-day change % per trading day. Answers ‘300418在2026-08-31到2026-09-03的收

Tools

  • ashares_analyst_consensus — Analyst consensus estimates (盈利预测) for a Chinese A-share stock — per forecast year: consensus EPS, P/E at current price, net profit attributable to parent (归母净利润), and total operating revenue, in CNY.
  • ashares_daily_history — Daily OHLCV history (历史日线) for one or more Chinese A-share stocks over a date range — open, high, low, close, volume, and day-over-day change % per trading day. Answers '300418在2026-08-31到2026-09-03的收
  • ashares_earnings_forecast — Company-issued earnings guidance (业绩预告) for a Chinese A-share stock — the company's own forecast announcements with predicted profit range (lower/upper bounds in CNY), year-over-year change %, forecas
  • ashares_limit_up — The Chinese A-share market's LIMIT-UP board (涨停板) for a trading day — how many stocks hit their daily price limit (+10%, or +20% for STAR/ChiNext) and the ranked list of those stocks. Answers 'how man
  • ashares_market_snapshot — Overall snapshot of the Chinese A-share market — the headline index levels (Shanghai Composite, Shenzhen Component, ChiNext, STAR 50, CSI 300) with change %, day range and turnover, plus how many stoc
  • ashares_quote — Real-time quote(s) for Chinese A-share stocks by 6-digit code (Shanghai 6xxxxx, Shenzhen 0xxxxx/3xxxxx, STAR 688xxx, ChiNext 30xxxx, Beijing 8xxxxx/4xxxxx). Returns name, current price, change and cha
  • ashares_turnover_ranking — Market-wide ranking of Chinese A-share stocks by turnover / 成交额排名, 成交额前30名, 成交量排名, or 涨跌幅排名 — the whole board (not specific codes), sorted server-side and returned as a ranked list. Answers 'A股成交额前30名

Regenerated from source · build September 10, 2026