Xueqiu 雪球 Stock Scraper — China A-Share & HK Quotes avatar

Xueqiu 雪球 Stock Scraper — China A-Share & HK Quotes

Pricing

from $21.75 / 1,000 quote rows

Go to Apify Store
Xueqiu 雪球 Stock Scraper — China A-Share & HK Quotes

Xueqiu 雪球 Stock Scraper — China A-Share & HK Quotes

Scrape Xueqiu (xueqiu.com), China's largest investor community, for real-time quotes and historical K-lines. Covers Shanghai/Shenzhen/Beijing A-shares, indices, Hong Kong and US listings in one normalized schema: price, change, 52-week range, volume, turnover, market cap, PE/PB, EPS, dividend yie...

Pricing

from $21.75 / 1,000 quote rows

Rating

0.0

(0)

Developer

lijinyu

lijinyu

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

0

Monthly active users

an hour ago

Last modified

Categories

Features

Limited permissions

Share

Xueqiu Stock Scraper — China A-Share & Global Quotes

Scrape Xueqiu (xueqiu.com), China's largest investor community — the place where Chinese retail and institutional investors actually argue about stocks. Pull real-time quotes and historical K-lines for Shanghai, Shenzhen and Beijing A-shares, mainland indices, Hong Kong and US listings, all in one normalized JSON schema.

No API key. No login. No proxy. Session cookies are fetched and refreshed for you.

Why Xueqiu

Chinese equity research usually starts with the exchange feed and stops there — you get a price but no context. Xueqiu sits on top of the same market data but packages it the way Chinese investors read it: 52-week bands, YTD performance, turnover, float shares, PE/PB/EPS, dividend yield, market open/closed status, and a stable symbol scheme that covers A-shares, Hong Kong and US names without three different integrations.

For an overseas quant, analyst or market-research team this means: one actor, one schema, one bill, and a symbol universe that spans thousands of mainland listings plus HK and US tickers that Chinese investors actually track.

What you get

quote mode returns 40 flat fields per symbol:

FieldMeaningExample
symbolresolved platform symbol00700
symbol_inputexactly what you sentHK00700
codebare ticker00700
nameChinese name, as published腾讯控股
exchange / currencySH SZ BJ HK NASDAQHK / HKD
market_region / market_statusCN HK US / 休市 (closed)HK / 休市
currentlast price352.0
percent / chgchange % and absolute change3.23 / 11.0
open / high / low / last_closesession OHLC + previous close340.0 / 353.4 / 339.6 / 341.0
avg_pricevolume-weighted average price348.6458
amplitudehigh-low swing %4.05
high_52w / low_52w52-week band639.0 / 333.0
ytd_percentyear-to-date performance %-40.55
volume / amountshares traded / turnover value35593034 / 12403560872.65
turnover_rate / volume_ratioturnover % / relative volume0.39 / 1.17
market_capital / float_market_capitaltotal and free-float cap3200610979808.0
total_shares / float_shares / lot_sizeshare counts and board lot9092644829 / 100
pe_ttm / pe_lyr / pe_forecasttrailing, last-year, forward PE11.5871 / 12.7885 / 11.544
pb / eps / navpsprice-to-book, EPS, NAV per share2.2637 / 30.3786 / 155.501
dividend_yielddividend yield %1.51
issue_datelisting date, ISO 86012004-06-15T16:00:00+00:00
urlXueqiu quote pagehttps://xueqiu.com/S/00700
quoted_atquote timestamp, ISO 8601 UTC2026-11-27T08:08:58+00:00
scraped_atwhen the actor read it2026-11-29T02:45:43.858864+00:00

kline mode returns 15 fields per bar: symbol, symbol_input, period, bar_time (ISO 8601 UTC), date (bar label in Beijing time — 2026-11-27, or 2026-11-27 14:00 for intraday), open, high, low, close, chg, percent, turnover_rate, volume, amount, scraped_at.

Modes

ModeWhat it doesTypical use
quoteBatch snapshot, up to 20 symbols per requestDaily factor refresh, screening, portfolio marking
klineOHLCV history per symbolBacktesting, technicals, volatility modelling

Supported bar sizes: day, week, month, quarter, year, 120m, 60m, 30m, 5m, 1m — each verified against live data. adjust selects before (forward adjusted, default), after (backward adjusted) or normal (raw prices).

Symbol formats

MarketWhat to sendResolved to
ShanghaiSH000001, SH600519, SH688981unchanged
ShenzhenSZ000001, SZ300750unchanged
BeijingBJ430047unchanged
Hong KongHK00700 or 0070000700
USAAPL, TSLAunchanged
Bare 6-digit A-share600519 → SH600519, 000001 → SZ000001inferred from the leading digit

symbol_input always echoes what you sent, so a normalized Hong Kong ticker is still traceable back to HK00700.

Use cases

  • A-share screening — bulk-pull PE, PB, turnover and market cap, then rank
  • Quant backtesting — adjusted daily or intraday OHLCV, in one schema across SH/SZ/BJ/HK/US
  • Index and market dashboards — SH000001, SH000300 and friends with full session stats
  • Cross-market comparison — the same Chinese blue chip in A-share and HK form, side by side
  • Valuation research — dividend yield, EPS, NAV per share and forward PE without a terminal subscription
  • Daily ETL — one batch request covers 20 tickers; schedule the actor and diff the output

Input example

{
"mode": "quote",
"symbols": ["SH000001", "SZ000001", "HK00700"],
"maxItems": 50
}
{
"mode": "kline",
"symbols": ["SH600519"],
"period": "day",
"count": 250,
"adjust": "before"
}

Output example — quote

Complete record, all 40 fields, copied verbatim from a real run (Hong Kong market was closed at the time, hence market_status):

{
"symbol": "00700",
"symbol_input": "HK00700",
"code": "00700",
"name": "腾讯控股",
"exchange": "HK",
"currency": "HKD",
"market_region": "HK",
"market_status": "休市",
"current": 352.0,
"percent": 3.23,
"chg": 11.0,
"open": 340.0,
"high": 353.4,
"low": 339.6,
"last_close": 341.0,
"avg_price": 348.6458,
"amplitude": 4.05,
"high_52w": 639.0,
"low_52w": 333.0,
"ytd_percent": -40.55,
"volume": 35593034.0,
"amount": 12403560872.65,
"turnover_rate": 0.39,
"volume_ratio": 1.17,
"market_capital": 3200610979808.0,
"float_market_capital": 3200610979808.0,
"total_shares": 9092644829.0,
"float_shares": 9092644829.0,
"lot_size": 100.0,
"pe_ttm": 11.5871,
"pe_lyr": 12.7885,
"pe_forecast": 11.544,
"pb": 2.2637,
"eps": 30.3786,
"navps": 155.501,
"dividend_yield": 1.51,
"issue_date": "2004-06-15T16:00:00+00:00",
"url": "https://xueqiu.com/S/00700",
"quoted_at": "2026-11-27T08:08:58+00:00",
"scraped_at": "2026-11-29T02:45:43.858864+00:00"
}

Output example — kline

One daily bar. bar_time is the UTC instant, date is the Beijing-time trading day:

{
"symbol": "SH600519",
"symbol_input": "SH600519",
"period": "day",
"bar_time": "2026-11-26T16:00:00+00:00",
"date": "2026-11-27",
"volume": 3980835.0,
"open": 1469.99,
"high": 1481.41,
"low": 1452.99,
"close": 1472.36,
"chg": 3.36,
"percent": 0.23,
"turnover_rate": 0.32,
"amount": 5849112431.0,
"scraped_at": "2026-11-29T02:45:47.679849+00:00"
}

Pricing

Pay per event, one event per record written to the dataset:

EventCharged forPrice (FREE / BRONZE)
resultone quote record (quote mode)$0.025
kline-barone OHLCV bar (kline mode)$0.013
actor startonce per run (one event per GB of memory, minimum one)$0.03

Higher Apify subscription tiers get an automatic discount on every event; the dataset tab shows the exact price for your plan. A record that never reaches the dataset is never charged — the actor pushes first and charges after. Twenty symbols in quote mode is twenty result events; 250 daily bars is 250 kline-bar events, which is why a bar costs about half of a quote. Set maxItems low while you explore.

Notes and limits

  • Cookies are automatic. Xueqiu answers 400 (error_code 400016) without a session token. The actor loads the homepage once per run to pick up xq_a_token, reuses it for every call, and re-fetches it once if a request is rejected.
  • Missing values are honest null. Indices carry no PE, PB, EPS or dividend yield (the platform omits them), and some Beijing listings come back without a percent. Nothing is zero-filled.
  • Unknown symbols are skipped, not billed. A wrong prefix or a delisted ticker returns no row; the run log tells you which symbol failed.
  • Hong Kong needs the bare code. HK00700 is accepted on input and normalized to 00700, which is what the platform expects.
  • market_status is Chinese, straight from the feed — e.g. 休市 for a closed market. Map it if you need English.
  • Timestamps are ISO 8601 UTC. A daily bar's bar_time is the UTC instant of the Beijing-time session date; use date for the trading day label.
  • Data is read from Xueqiu's public web endpoints. Only publicly listed securities are covered — no personal profiles, no user data.
  • Transient errors and rate limits are retried three times with backoff; if a cookie is rejected the actor re-fetches it once before giving up.
  • Export results as JSON, CSV or Excel from the dataset tab, or pull them with the Apify API.