Eastmoney 东方财富 Scraper — A-Share Quotes, K-Lines avatar

Eastmoney 东方财富 Scraper — A-Share Quotes, K-Lines

Pricing

from $30.45 / 1,000 quote rows

Go to Apify Store
Eastmoney 东方财富 Scraper — A-Share Quotes, K-Lines

Eastmoney 东方财富 Scraper — A-Share Quotes, K-Lines

Scrape Eastmoney (东方财富), China's most-used retail stock portal. Get real-time A-share quotes for the whole market (code, name, price, change %, volume, turnover, PE, PB, market cap), historical K-lines (daily/weekly/monthly/minute, forward or backward adjusted), and main-capital flow data. Covers...

Pricing

from $30.45 / 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

Eastmoney Stock Scraper — A-Share Quotes, K-Lines & Flow

Scrape Eastmoney (东方财富) — the quote portal Chinese retail investors actually use, and the default place millions of them check prices every morning. This actor turns Eastmoney's public quote endpoints into clean JSON: a full-market real-time quote table, main-force capital-flow rankings, and historical K-lines for any stock or index.

No login. No API key. No cookies. No proxy.

Why China A-share data

A-shares are one of the world's largest equity markets by listed count — more than 5,000 companies across Shanghai, Shenzhen and Beijing — and one of the least covered by Western data vendors. Three groups of buyers keep asking for exactly this data:

  • Quantitative researchers who need a cheap, repeatable price and factor source for a market that is not on their existing vendor contract. Daily bars plus PE / PB / market cap / turnover rate are enough to build and backtest a factor book.
  • ADR and cross-listing analysts who track the link between US-listed China ADRs, their Hong Kong secondaries and the onshore A-share line. You cannot model that spread without a reliable onshore quote feed.
  • Emerging-market factor and macro research where China is the largest single weight in the index. Index constituents, sector breadth and capital-flow dispersion are inputs, not footnotes.

Eastmoney is the pragmatic source for all three: it is free, it is updated during the session, and it speaks the same field vocabulary (PE, PB, turnover rate, main-force net inflow) that Chinese practitioners use, so the numbers reconcile with local research instead of needing a translation layer.

Coverage

Boardmarket keyCode prefixesexchange value
All A-shares (everything below)all_aallSSE / SZSE / BSE
Shanghai Stock Exchange — main boardsh_a60…SSE
Shenzhen Stock Exchange — main boardsz_a00…SZSE
ChiNext / 创业板chinext30…SZSE
STAR Market / 科创板star68…SSE
Beijing Stock Exchange / 北交所bj8…, 4…BSE

sh_a covers the SSE main board and STAR Market; sz_a covers the SZSE main board and ChiNext. all_a is the union of all of them.

What you get

Every quote record is one flat object with these fields. f is the raw Eastmoney field id, kept here so you can cross-check against the source.

FieldfMeaning
codef126-digit ticker, e.g. 300663
namef14Chinese stock name, kept verbatim, e.g. 科蓝软件
pricef2latest price, CNY
change_pctf3change vs previous close, %
changef4change vs previous close, CNY
volume_lotsf5volume in lots (1 lot = 100 shares)
turnoverf6turnover, CNY
amplitude_pctf7day amplitude, %
turnover_rate_pctf8turnover rate, %
pe_dynamicf9dynamic P/E ratio
volume_ratiof10volume ratio / 量比
highf15day high, CNY
lowf16day low, CNY
openf17open, CNY
prev_closef18previous close, CNY
market_capf20total market cap, CNY
float_market_capf21free-float market cap, CNY
pbf23price / book
main_net_inflowf62main-force net inflow, CNY
main_net_inflow_pctf184main net inflow as % of turnover
super_large_netf66extra-large order net inflow, CNY
large_netf72large order net inflow, CNY
medium_netf78medium order net inflow, CNY
small_netf84small order net inflow, CNY

Plus these derived fields, appended to every quote record:

FieldMeaning
marketthe market board you requested
exchangeSSE / SZSE / BSE, derived from the code prefix
secidEastmoney security id — 1.<code> for Shanghai, 0.<code> elsewhere
urlcanonical Eastmoney quote page
notewhich mode produced the row (list or fundflow)
scraped_atISO 8601, UTC

Missing values come back as null rather than -, so numeric columns stay numeric.

Modes

ModeWhat it doesTypical use
listWhole-market real-time quote table, paged, ordered by sortByDaily snapshots, screeners, breadth and dispersion work
fundflowThe same quote table, forced to rank by f62 main net inflowCapital-flow rankings, "who is money buying today"
klineHistorical candles per secid, any period and adjustmentBacktesting, charting, technical and volatility research

In list mode sortBy takes an Eastmoney field id — f3 change %, f6 turnover, f8 turnover rate, f9 PE, f20 market cap. In fundflow mode sortBy is ignored and the ranking is always by f62. maxItems caps the total number of rows across pages; pageSize (max 100) is only how many rows each HTTP request asks for.

K-line records

kline mode returns one record per candle per security:

FieldMeaning
codeticker, e.g. 000001
datebar date YYYY-MM-DD, or YYYY-MM-DD HH:MM for intraday periods
open / close / high / lowOHLC
volume_lotsvolume in lots
turnoverturnover, CNY
amplitude_pctbar amplitude, %
secidthe security id you asked for
periodthe period value used
adjustthe adjust value used

period: 101 daily, 102 weekly, 103 monthly, and 1 / 5 / 15 / 30 / 60 for one- to sixty-minute bars. adjust: 0 unadjusted, 1 forward-adjusted (qfq), 2 backward-adjusted (hfq). bars sets how many candles each security returns — in this mode maxItems does not apply.

Indexes use the same endpoint, which is why 1.000001 in the example below is the SSE Composite rather than Ping An Bank.

Use cases

  • Quantitative factor research — pull the whole market daily, build value (PE / PB), size (market cap), liquidity (turnover rate) and momentum (change %) factors on one consistent snapshot.
  • A-share sentiment and capital-flow analysis — fundflow ranks the market by main-force net inflow; split it into super-large / large / medium / small order buckets to see whether a move is institutional or retail.
  • Index and basket construction — screen star, chinext or bj separately, then cap-weight by float_market_cap to build your own board-level basket.
  • China market data pipelines — schedule it on Apify, land the dataset in your warehouse, and you have an onshore price store without a vendor contract.
  • Academic research — reproduce Chinese-market studies (PEAD, retail attention, order-flow imbalance) against the same field definitions local researchers use.

Input examples

Real-time quote table — every A-share, sorted by change %:

{
"mode": "list",
"market": "all_a",
"sortBy": "f3",
"pageSize": 100,
"maxItems": 100
}

Main-force capital flow ranking, ChiNext only:

{
"mode": "fundflow",
"market": "chinext",
"maxItems": 50
}

Daily forward-adjusted candles for the SSE Composite and Kweichow Moutai:

{
"mode": "kline",
"secids": ["1.000001", "1.600519"],
"period": 101,
"adjust": 1,
"bars": 250
}

Output examples

list mode — one record (all quote fields shown above are present; abbreviated here for readability):

{
"market": "all_a",
"code": "300663",
"name": "科蓝软件",
"price": 6.64,
"change_pct": 20.07,
"change": 1.11,
"volume_lots": 531838.0,
"turnover": 330605108.52,
"amplitude_pct": 19.71,
"turnover_rate_pct": 11.38,
"pe_dynamic": -21.18,
"volume_ratio": 3.17
}

kline mode — one daily bar:

{
"code": "000001",
"date": "2026-11-23",
"open": 3503.52,
"close": 3538.95,
"high": 3544.6,
"low": 3476.65,
"volume_lots": 512192714.0,
"turnover": 738500418823.1,
"amplitude_pct": 1.92,
"secid": "1.000001",
"period": 101,
"adjust": 1
}

Pricing

Pay per event, so a cheap quote pull never subsidises an expensive K-line backfill. Each row written to the dataset is charged as exactly one event:

EventCharged forPrice (FREE / BRONZE)
resultone row of the quote table (list mode)$0.035
fundflowone main-capital-flow row (fundflow mode)$0.042
kline-barone OHLCV candle (kline mode)$0.018
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. Charging is strictly after the write — the actor pushes a record, then charges for it, so a failed run never bills you for rows you did not get. maxItems (and bars in kline mode) is the lever: 20 rows is 20 events.

Notes and limits

  • No login, no API key, no cookies. Everything is read from Eastmoney's public quote endpoints, so the actor runs on a plain IP out of the box.
  • Public market data only — quotes, candles and order-flow aggregates. No personal data, no account data.
  • Protocol order matters. The quote endpoints (push2.eastmoney.com) are tried over http first, with https as fallback, because some networks and datacenter IPs get their TLS fingerprint rejected when talking to Eastmoney over https. The K-line endpoint (push2his.eastmoney.com) is tried over https first with http as fallback. If a run returns nothing, this is the first thing to look at.
  • secid format is MARKET.CODE: 1. = Shanghai Stock Exchange (including STAR 688…), 0. = Shenzhen (including ChiNext 300…) and Beijing. So 1.600519 is Kweichow Moutai, 0.000001 is Ping An Bank, and 1.000001 is the SSE Composite index.
  • Prices for suspended or pre-open stocks may be null; Eastmoney reports -, which is normalized to null.
  • Pay per event. Keep maxItems and bars low while you explore — a test run with maxItems: 20 costs a fraction of a cent. See the pricing table above for which event each mode charges.
  • Rate limits. Pagination sleeps ~0.5 s between requests and the client retries 3 times with backoff per host. Requests are sequential by design to stay polite.
  • Export as JSON, CSV or Excel from the dataset tab, or pull the dataset with the Apify API.