API Documentation

Base URL https://quantsonar.com · All endpoints are GET · Auth header X-API-Key · Get a free API key →

# Recommended: official Python SDK (returns pandas DataFrames)
pip install quantsonar

import quantsonar as qs
qs.set_token("qs_your_key")  # or env QUANTSONAR_TOKEN
df = qs.daily(symbol="600519.SH", start_date="20260101")
qs.endpoints()  # list every endpoint

# Or plain curl — any language, three lines
curl "https://quantsonar.com/v1/market/daily?symbol=600519.SH&start_date=20260101" \
     -H "X-API-Key: qs_your_key"

Use with AI

Let Claude, Cursor or any MCP-capable client query A-share data directly. AI calls draw from your daily quota.

# Remote MCP server (zero install)
https://quantsonar.com/mcp
# Auth header
X-API-Key: qs_your_key

# Claude Code, one line
claude mcp add --transport http quantsonar https://quantsonar.com/mcp \
       --header "X-API-Key: qs_your_key"

Also available as a Claude Skill built on the Python SDK: quantsonar-skills.

Auth & rate limits

Every request needs the X-API-Key header. Three limit layers: daily quota by tier (FREE 100 / Starter 1,000 / PRO 3,000 / Expert 10,000 calls/day), per-minute burst (30 / 100 / 200 / 500), and a fair-use daily egress cap. Endpoints above your tier can be tried 2× free per day (real data, with an X-Trial-Remaining header); after that they return 403 with an upgrade hint. Responses carry X-RateLimit-Limit / X-RateLimit-Remaining; exceeding limits returns 429, quota resets next day.

Conventions

ConventionDetail
symbolSecurity codes carry exchange suffixes: 000001.SZ, 600519.SH, 430047.BJ. Bare codes return 422.
datesRequests and responses use YYYYMMDD (e.g. 20260707).
numbersPrices and volumes are real JSON numbers, never strings.
row capsNo pagination; each call truncates at a fixed cap (6,000 rows normal, 20,000 financial) — enough for a market-wide single-day slice. Narrow with date ranges or filters.
errors401 missing/invalid key · 403 tier too low · 422 bad params · 429 rate limited. Core detail messages are bilingual (中文 / English).
versioningWithin v1, changes are backward-compatible only: new endpoints, new response columns, new optional parameters. Columns are never removed, renamed, or changed in meaning/units. Breaking changes ship as a parallel /v2 with at least 6 months of v1 deprecation, announced in the changelog.

Market Data

GET /v1/market/daily FREE

Daily OHLC bars

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
trade_dateSingle trading date YYYYMMDD (alternative to start/end)
Response fields (11)
FieldDescription
symbolSecurity code (with exchange suffix)
trade_dateTrading date YYYYMMDD
openOpen price
highHigh price
lowLow price
closeClose price
pre_closePrevious close
changePrice change
pct_chgChange (%)
volVolume (lots)
amountTurnover (k CNY)
GET /v1/market/fundamentals STARTER

Daily valuation metrics (PE/PB/turnover/market cap)

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
trade_dateSingle trading date YYYYMMDD (alternative to start/end)
Response fields (18)
FieldDescription
symbolSecurity code (with exchange suffix)
trade_dateTrading date YYYYMMDD
closeClose price
turnover_rateTurnover rate (%)
turnover_rate_fTurnover rate, free float (%)
volume_ratioVolume ratio
peP/E ratio
pe_ttmP/E ratio TTM
pbP/B ratio
psP/S ratio
ps_ttmP/S ratio TTM
dv_ratioDividend yield (%)
dv_ttmDividend yield TTM (%)
total_shareTotal shares (10k)
float_shareFloating shares (10k)
free_shareFree-float shares (10k)
total_mvTotal market cap (10k CNY)
circ_mvFloat market cap (10k CNY)
GET /v1/market/adj-factor STARTER

Adjustment factors

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
trade_dateSingle trading date YYYYMMDD (alternative to start/end)
Response fields (3)
FieldDescription
symbolSecurity code (with exchange suffix)
trade_dateTrading date YYYYMMDD
adj_factorAdjustment factor (adjusted price = close × factor)
GET /v1/market/technical-factors PRO

Technical indicators

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
trade_dateSingle trading date YYYYMMDD (alternative to start/end)
Response fields (26)
FieldDescription
symbolSecurity code (with exchange suffix)
trade_dateTrading date YYYYMMDD
open_hfqOpen price (backward-adjusted)
close_hfqClose price (backward-adjusted)
high_hfqHigh price (backward-adjusted)
low_hfqLow price (backward-adjusted)
pre_close_hfqPre close hfq
open_qfqOpen price (forward-adjusted)
close_qfqClose price (forward-adjusted)
high_qfqHigh price (forward-adjusted)
low_qfqLow price (forward-adjusted)
pre_close_qfqPre close qfq
adj_factorAdjustment factor (adjusted price = close × factor)
macd_difMacd dif
macd_deaMacd dea
macdMacd
kdj_kKdj k
kdj_dKdj d
kdj_jKdj j
rsi_6Rsi 6
rsi_12Rsi 12
rsi_24Rsi 24
boll_upperBoll upper
boll_midBoll mid
boll_lowerBoll lower
cciCci
GET /v1/market/technical-factors-pro EXPERT

Technical indicators Pro (adjusted prices + full set)

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
trade_dateSingle trading date YYYYMMDD (alternative to start/end)
Response fields (261)
FieldDescription
symbolSecurity code (with exchange suffix)
trade_dateTrading date YYYYMMDD
openOpen price
open_hfqOpen price (backward-adjusted)
open_qfqOpen price (forward-adjusted)
highHigh price
high_hfqHigh price (backward-adjusted)
high_qfqHigh price (forward-adjusted)
lowLow price
low_hfqLow price (backward-adjusted)
low_qfqLow price (forward-adjusted)
closeClose price
close_hfqClose price (backward-adjusted)
close_qfqClose price (forward-adjusted)
pre_closePrevious close
changePrice change
pct_chgChange (%)
volVolume (lots)
amountTurnover (k CNY)
turnover_rateTurnover rate (%)
turnover_rate_fTurnover rate, free float (%)
volume_ratioVolume ratio
peP/E ratio
pe_ttmP/E ratio TTM
pbP/B ratio
psP/S ratio
ps_ttmP/S ratio TTM
dv_ratioDividend yield (%)
dv_ttmDividend yield TTM (%)
total_shareTotal shares (10k)
float_shareFloating shares (10k)
free_shareFree-float shares (10k)
total_mvTotal market cap (10k CNY)
circ_mvFloat market cap (10k CNY)
adj_factorAdjustment factor (adjusted price = close × factor)
asi_bfqAccumulation swing index ASI (unadjusted)
asi_hfqAccumulation swing index ASI (backward-adjusted)
asi_qfqAccumulation swing index ASI (forward-adjusted)
asit_bfqASI moving average (unadjusted)
asit_hfqASI moving average (backward-adjusted)
asit_qfqASI moving average (forward-adjusted)
atr_bfqAverage true range ATR (unadjusted)
atr_hfqAverage true range ATR (backward-adjusted)
atr_qfqAverage true range ATR (forward-adjusted)
bbi_bfqBull-bear index BBI (unadjusted)
bbi_hfqBull-bear index BBI (backward-adjusted)
bbi_qfqBull-bear index BBI (forward-adjusted)
bias1_bfqBias ratio (6-day) (unadjusted)
bias1_hfqBias ratio (6-day) (backward-adjusted)
bias1_qfqBias ratio (6-day) (forward-adjusted)
bias2_bfqBias ratio (12-day) (unadjusted)
bias2_hfqBias ratio (12-day) (backward-adjusted)
bias2_qfqBias ratio (12-day) (forward-adjusted)
bias3_bfqBias ratio (24-day) (unadjusted)
bias3_hfqBias ratio (24-day) (backward-adjusted)
bias3_qfqBias ratio (24-day) (forward-adjusted)
boll_lower_bfqBollinger lower band (unadjusted)
boll_lower_hfqBollinger lower band (backward-adjusted)
boll_lower_qfqBollinger lower band (forward-adjusted)
boll_mid_bfqBollinger middle band (unadjusted)
boll_mid_hfqBollinger middle band (backward-adjusted)
boll_mid_qfqBollinger middle band (forward-adjusted)
boll_upper_bfqBollinger upper band (unadjusted)
boll_upper_hfqBollinger upper band (backward-adjusted)
boll_upper_qfqBollinger upper band (forward-adjusted)
brar_ar_bfqSentiment indicator AR (unadjusted)
brar_ar_hfqSentiment indicator AR (backward-adjusted)
brar_ar_qfqSentiment indicator AR (forward-adjusted)
brar_br_bfqWillingness indicator BR (unadjusted)
brar_br_hfqWillingness indicator BR (backward-adjusted)
brar_br_qfqWillingness indicator BR (forward-adjusted)
cci_bfqCommodity channel index CCI (unadjusted)
cci_hfqCommodity channel index CCI (backward-adjusted)
cci_qfqCommodity channel index CCI (forward-adjusted)
cr_bfqPrice momentum CR (unadjusted)
cr_hfqPrice momentum CR (backward-adjusted)
cr_qfqPrice momentum CR (forward-adjusted)
dfma_dif_bfqParallel-line difference DMA DIF (unadjusted)
dfma_dif_hfqParallel-line difference DMA DIF (backward-adjusted)
dfma_dif_qfqParallel-line difference DMA DIF (forward-adjusted)
dfma_difma_bfqDMA DIFMA (unadjusted)
dfma_difma_hfqDMA DIFMA (backward-adjusted)
dfma_difma_qfqDMA DIFMA (forward-adjusted)
dmi_adx_bfqAverage directional index ADX (unadjusted)
dmi_adx_hfqAverage directional index ADX (backward-adjusted)
dmi_adx_qfqAverage directional index ADX (forward-adjusted)
dmi_adxr_bfqADX rating ADXR (unadjusted)
dmi_adxr_hfqADX rating ADXR (backward-adjusted)
dmi_adxr_qfqADX rating ADXR (forward-adjusted)
dmi_mdi_bfqDirectional indicator -DI (unadjusted)
dmi_mdi_hfqDirectional indicator -DI (backward-adjusted)
dmi_mdi_qfqDirectional indicator -DI (forward-adjusted)
dmi_pdi_bfqDirectional indicator +DI (unadjusted)
dmi_pdi_hfqDirectional indicator +DI (backward-adjusted)
dmi_pdi_qfqDirectional indicator +DI (forward-adjusted)
downdaysConsecutive down days
updaysConsecutive up days
dpo_bfqDetrended price oscillator DPO (unadjusted)
dpo_hfqDetrended price oscillator DPO (backward-adjusted)
dpo_qfqDetrended price oscillator DPO (forward-adjusted)
madpo_bfqDPO moving average (unadjusted)
madpo_hfqDPO moving average (backward-adjusted)
madpo_qfqDPO moving average (forward-adjusted)
ema_bfq_10Exponential moving average EMA (10-day) (unadjusted)
ema_bfq_20Exponential moving average EMA (20-day) (unadjusted)
ema_bfq_250Exponential moving average EMA (250-day) (unadjusted)
ema_bfq_30Exponential moving average EMA (30-day) (unadjusted)
ema_bfq_5Exponential moving average EMA (5-day) (unadjusted)
ema_bfq_60Exponential moving average EMA (60-day) (unadjusted)
ema_bfq_90Exponential moving average EMA (90-day) (unadjusted)
ema_hfq_10Exponential moving average EMA (10-day) (backward-adjusted)
ema_hfq_20Exponential moving average EMA (20-day) (backward-adjusted)
ema_hfq_250Exponential moving average EMA (250-day) (backward-adjusted)
ema_hfq_30Exponential moving average EMA (30-day) (backward-adjusted)
ema_hfq_5Exponential moving average EMA (5-day) (backward-adjusted)
ema_hfq_60Exponential moving average EMA (60-day) (backward-adjusted)
ema_hfq_90Exponential moving average EMA (90-day) (backward-adjusted)
ema_qfq_10Exponential moving average EMA (10-day) (forward-adjusted)
ema_qfq_20Exponential moving average EMA (20-day) (forward-adjusted)
ema_qfq_250Exponential moving average EMA (250-day) (forward-adjusted)
ema_qfq_30Exponential moving average EMA (30-day) (forward-adjusted)
ema_qfq_5Exponential moving average EMA (5-day) (forward-adjusted)
ema_qfq_60Exponential moving average EMA (60-day) (forward-adjusted)
ema_qfq_90Exponential moving average EMA (90-day) (forward-adjusted)
emv_bfqEase of movement EMV (unadjusted)
emv_hfqEase of movement EMV (backward-adjusted)
emv_qfqEase of movement EMV (forward-adjusted)
maemv_bfqEMV moving average (unadjusted)
maemv_hfqEMV moving average (backward-adjusted)
maemv_qfqEMV moving average (forward-adjusted)
expma_12_bfqSmoothed moving average EXPMA (12-day) (unadjusted)
expma_12_hfqSmoothed moving average EXPMA (12-day) (backward-adjusted)
expma_12_qfqSmoothed moving average EXPMA (12-day) (forward-adjusted)
expma_50_bfqSmoothed moving average EXPMA (50-day) (unadjusted)
expma_50_hfqSmoothed moving average EXPMA (50-day) (backward-adjusted)
expma_50_qfqSmoothed moving average EXPMA (50-day) (forward-adjusted)
kdj_bfqKDJ %J (unadjusted)
kdj_hfqKDJ %J (backward-adjusted)
kdj_qfqKDJ %J (forward-adjusted)
kdj_d_bfqKDJ %D (unadjusted)
kdj_d_hfqKDJ %D (backward-adjusted)
kdj_d_qfqKDJ %D (forward-adjusted)
kdj_k_bfqKDJ %K (unadjusted)
kdj_k_hfqKDJ %K (backward-adjusted)
kdj_k_qfqKDJ %K (forward-adjusted)
ktn_down_bfqKeltner channel lower (unadjusted)
ktn_down_hfqKeltner channel lower (backward-adjusted)
ktn_down_qfqKeltner channel lower (forward-adjusted)
ktn_mid_bfqKeltner channel middle (unadjusted)
ktn_mid_hfqKeltner channel middle (backward-adjusted)
ktn_mid_qfqKeltner channel middle (forward-adjusted)
ktn_upper_bfqKeltner channel upper (unadjusted)
ktn_upper_hfqKeltner channel upper (backward-adjusted)
ktn_upper_qfqKeltner channel upper (forward-adjusted)
lowdaysNew-low days (250-day window)
topdaysNew-high days (250-day window)
ma_bfq_10Simple moving average MA (10-day) (unadjusted)
ma_bfq_20Simple moving average MA (20-day) (unadjusted)
ma_bfq_250Simple moving average MA (250-day) (unadjusted)
ma_bfq_30Simple moving average MA (30-day) (unadjusted)
ma_bfq_5Simple moving average MA (5-day) (unadjusted)
ma_bfq_60Simple moving average MA (60-day) (unadjusted)
ma_bfq_90Simple moving average MA (90-day) (unadjusted)
ma_hfq_10Simple moving average MA (10-day) (backward-adjusted)
ma_hfq_20Simple moving average MA (20-day) (backward-adjusted)
ma_hfq_250Simple moving average MA (250-day) (backward-adjusted)
ma_hfq_30Simple moving average MA (30-day) (backward-adjusted)
ma_hfq_5Simple moving average MA (5-day) (backward-adjusted)
ma_hfq_60Simple moving average MA (60-day) (backward-adjusted)
ma_hfq_90Simple moving average MA (90-day) (backward-adjusted)
ma_qfq_10Simple moving average MA (10-day) (forward-adjusted)
ma_qfq_20Simple moving average MA (20-day) (forward-adjusted)
ma_qfq_250Simple moving average MA (250-day) (forward-adjusted)
ma_qfq_30Simple moving average MA (30-day) (forward-adjusted)
ma_qfq_5Simple moving average MA (5-day) (forward-adjusted)
ma_qfq_60Simple moving average MA (60-day) (forward-adjusted)
ma_qfq_90Simple moving average MA (90-day) (forward-adjusted)
macd_bfqMACD histogram (unadjusted)
macd_hfqMACD histogram (backward-adjusted)
macd_qfqMACD histogram (forward-adjusted)
macd_dea_bfqMACD DEA line (unadjusted)
macd_dea_hfqMACD DEA line (backward-adjusted)
macd_dea_qfqMACD DEA line (forward-adjusted)
macd_dif_bfqMACD DIF line (unadjusted)
macd_dif_hfqMACD DIF line (backward-adjusted)
macd_dif_qfqMACD DIF line (forward-adjusted)
mass_bfqMass index (unadjusted)
mass_hfqMass index (backward-adjusted)
mass_qfqMass index (forward-adjusted)
ma_mass_bfqMass index moving average (unadjusted)
ma_mass_hfqMass index moving average (backward-adjusted)
ma_mass_qfqMass index moving average (forward-adjusted)
mfi_bfqMoney flow index MFI (unadjusted)
mfi_hfqMoney flow index MFI (backward-adjusted)
mfi_qfqMoney flow index MFI (forward-adjusted)
mtm_bfqMomentum MTM (unadjusted)
mtm_hfqMomentum MTM (backward-adjusted)
mtm_qfqMomentum MTM (forward-adjusted)
mtmma_bfqMTM moving average (unadjusted)
mtmma_hfqMTM moving average (backward-adjusted)
mtmma_qfqMTM moving average (forward-adjusted)
obv_bfqOn-balance volume OBV (unadjusted)
obv_hfqOn-balance volume OBV (backward-adjusted)
obv_qfqOn-balance volume OBV (forward-adjusted)
psy_bfqPsychological line PSY (unadjusted)
psy_hfqPsychological line PSY (backward-adjusted)
psy_qfqPsychological line PSY (forward-adjusted)
psyma_bfqPSY moving average (unadjusted)
psyma_hfqPSY moving average (backward-adjusted)
psyma_qfqPSY moving average (forward-adjusted)
roc_bfqRate of change ROC (unadjusted)
roc_hfqRate of change ROC (backward-adjusted)
roc_qfqRate of change ROC (forward-adjusted)
maroc_bfqROC moving average (unadjusted)
maroc_hfqROC moving average (backward-adjusted)
maroc_qfqROC moving average (forward-adjusted)
rsi_bfq_12Relative strength index RSI (12-day) (unadjusted)
rsi_bfq_24Relative strength index RSI (24-day) (unadjusted)
rsi_bfq_6Relative strength index RSI (6-day) (unadjusted)
rsi_hfq_12Relative strength index RSI (12-day) (backward-adjusted)
rsi_hfq_24Relative strength index RSI (24-day) (backward-adjusted)
rsi_hfq_6Relative strength index RSI (6-day) (backward-adjusted)
rsi_qfq_12Relative strength index RSI (12-day) (forward-adjusted)
rsi_qfq_24Relative strength index RSI (24-day) (forward-adjusted)
rsi_qfq_6Relative strength index RSI (6-day) (forward-adjusted)
taq_down_bfqDonchian channel lower (unadjusted)
taq_down_hfqDonchian channel lower (backward-adjusted)
taq_down_qfqDonchian channel lower (forward-adjusted)
taq_mid_bfqDonchian channel middle (unadjusted)
taq_mid_hfqDonchian channel middle (backward-adjusted)
taq_mid_qfqDonchian channel middle (forward-adjusted)
taq_up_bfqDonchian channel upper (unadjusted)
taq_up_hfqDonchian channel upper (backward-adjusted)
taq_up_qfqDonchian channel upper (forward-adjusted)
trix_bfqTriple EMA oscillator TRIX (unadjusted)
trix_hfqTriple EMA oscillator TRIX (backward-adjusted)
trix_qfqTriple EMA oscillator TRIX (forward-adjusted)
trma_bfqTRIX moving average (unadjusted)
trma_hfqTRIX moving average (backward-adjusted)
trma_qfqTRIX moving average (forward-adjusted)
vr_bfqVolume ratio VR (unadjusted)
vr_hfqVolume ratio VR (backward-adjusted)
vr_qfqVolume ratio VR (forward-adjusted)
wr_bfqWilliams %R (10-day) (unadjusted)
wr_hfqWilliams %R (10-day) (backward-adjusted)
wr_qfqWilliams %R (10-day) (forward-adjusted)
wr1_bfqWilliams %R (6-day) (unadjusted)
wr1_hfqWilliams %R (6-day) (backward-adjusted)
wr1_qfqWilliams %R (6-day) (forward-adjusted)
xsii_td1_bfqXSII channel TD1 (unadjusted)
xsii_td1_hfqXSII channel TD1 (backward-adjusted)
xsii_td1_qfqXSII channel TD1 (forward-adjusted)
xsii_td2_bfqXSII channel TD2 (unadjusted)
xsii_td2_hfqXSII channel TD2 (backward-adjusted)
xsii_td2_qfqXSII channel TD2 (forward-adjusted)
xsii_td3_bfqXSII channel TD3 (unadjusted)
xsii_td3_hfqXSII channel TD3 (backward-adjusted)
xsii_td3_qfqXSII channel TD3 (forward-adjusted)
xsii_td4_bfqXSII channel TD4 (unadjusted)
xsii_td4_hfqXSII channel TD4 (backward-adjusted)
xsii_td4_qfqXSII channel TD4 (forward-adjusted)
GET /v1/market/margin PRO

Margin trading detail

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
trade_dateSingle trading date YYYYMMDD (alternative to start/end)
Response fields (11)
FieldDescription
trade_dateTrading date YYYYMMDD
symbolSecurity code (with exchange suffix)
nameSecurity short name
rzyeRzye
rqyeRqye
rzmreRzmre
rqylRqyl
rzcheRzche
rqchlRqchl
rqmclRqmcl
rzrqyeRzrqye
GET /v1/market/block-trade PRO

Block trades

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
trade_dateSingle trading date YYYYMMDD (alternative to start/end)
Response fields (7)
FieldDescription
symbolSecurity code (with exchange suffix)
trade_dateTrading date YYYYMMDD
priceLatest price
volVolume (lots)
amountTurnover (k CNY)
buyerBuyer
sellerSeller
GET /v1/market/top-list PRO

Dragon-Tiger list (stocks)

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
trade_dateSingle trading date YYYYMMDD (alternative to start/end)
Response fields (10)
FieldDescription
trade_dateTrading date YYYYMMDD
symbolSecurity code (with exchange suffix)
nameSecurity short name
closeClose price
pct_changePct change
turnover_rateTurnover rate (%)
amountTurnover (k CNY)
l_sellL sell
l_buyL buy
l_amountL amount
GET /v1/market/top-inst PRO

Dragon-Tiger list (institutional seats)

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
trade_dateSingle trading date YYYYMMDD (alternative to start/end)
Response fields (10)
FieldDescription
trade_dateTrading date YYYYMMDD
symbolSecurity code (with exchange suffix)
exalterExalter
buyBuy
buy_rateBuy rate
sellSell
sell_rateSell rate
net_buyNet buy
sideSide
reasonReason
GET /v1/market/shareholders PRO

Shareholder count

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
enddateCut-off date YYYYMMDD
ann_dateAnnouncement date YYYYMMDD
Response fields (4)
FieldDescription
symbolSecurity code (with exchange suffix)
ann_dateAnnouncement date YYYYMMDD
end_dateReport period end date YYYYMMDD
holder_numNumber of shareholders
GET /v1/market/holder-trade PRO

Major shareholder trades

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
trade_typeDirection: IN increase / DE decrease
holder_typeHolder type: G executive / P individual / C company
Response fields (13)
FieldDescription
symbolSecurity code (with exchange suffix)
ann_dateAnnouncement date YYYYMMDD
holder_nameHolder name
holder_typeHolder type
in_deIn de
change_volChange vol
change_ratioChange ratio
after_shareAfter share
after_ratioAfter ratio
avg_priceAvg price
total_shareTotal shares (10k)
begin_dateBegin date
close_dateClose date
GET /v1/market/limit-list PRO

Limit-up/down list

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
limit_typeLimit type: U limit-up / D limit-down / Z failed board
trade_dateSingle trading date YYYYMMDD (alternative to start/end)
Response fields (18)
FieldDescription
trade_dateTrading date YYYYMMDD
symbolSecurity code (with exchange suffix)
industryIndustry
nameSecurity short name
closeClose price
pct_chgChange (%)
amountTurnover (k CNY)
limit_amountLimit amount
float_mvFloat mv
total_mvTotal market cap (10k CNY)
turnover_ratioTurnover ratio
fd_amountFd amount
first_timeFirst time
last_timeLast time
open_timesOpen times
up_statUp stat
limit_timesLimit times
limitLimit
GET /v1/market/concepts PRO

Concept sector indices

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
trade_dateSingle trading date YYYYMMDD (alternative to start/end)
nameExact name match
idx_typeSector type
Response fields (13)
FieldDescription
symbolSecurity code (with exchange suffix)
trade_dateTrading date YYYYMMDD
nameSecurity short name
leadingLeading
leading_codeLeading code
pct_changePct change
leading_pctLeading pct
total_mvTotal market cap (10k CNY)
turnover_rateTurnover rate (%)
up_numUp num
down_numDown num
idx_typeIdx type
levelLevel
GET /v1/market/concept-members PRO

Concept sector constituents

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
con_symbolConstituent code with suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
trade_dateSingle trading date YYYYMMDD (alternative to start/end)
Response fields (4)
FieldDescription
trade_dateTrading date YYYYMMDD
symbolSecurity code (with exchange suffix)
con_symbolConstituent code (with suffix)
nameSecurity short name

Money Flow

GET /v1/flows/moneyflow PRO

Stock money flow

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
trade_dateSingle trading date YYYYMMDD (alternative to start/end)
Response fields (20)
FieldDescription
symbolSecurity code (with exchange suffix)
trade_dateTrading date YYYYMMDD
buy_sm_volBuy volume (lots), small orders
buy_sm_amountBuy amount (10k CNY), small orders
sell_sm_volSell volume (lots), small orders
sell_sm_amountSell amount (10k CNY), small orders
buy_md_volBuy volume (lots), medium orders
buy_md_amountBuy amount (10k CNY), medium orders
sell_md_volSell volume (lots), medium orders
sell_md_amountSell amount (10k CNY), medium orders
buy_lg_volBuy volume (lots), large orders
buy_lg_amountBuy amount (10k CNY), large orders
sell_lg_volSell volume (lots), large orders
sell_lg_amountSell amount (10k CNY), large orders
buy_elg_volBuy volume (lots), extra-large orders
buy_elg_amountBuy amount (10k CNY), extra-large orders
sell_elg_volSell volume (lots), extra-large orders
sell_elg_amountSell amount (10k CNY), extra-large orders
net_mf_volNet inflow volume (lots)
net_mf_amountNet inflow amount (10k CNY)
GET /v1/flows/moneyflow-hsgt PRO

Stock Connect money flow (market-wide)

ParameterDescription
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
trade_dateSingle trading date YYYYMMDD (alternative to start/end)
Response fields (7)
FieldDescription
trade_dateTrading date YYYYMMDD
ggt_ssGgt ss
ggt_szGgt sz
hgt_ssHgt ss
hgt_szHgt sz
north_moneyNorth money
south_moneySouth money
GET /v1/flows/northbound-holdings PRO

Northbound holdings detail

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
trade_dateSingle trading date YYYYMMDD (alternative to start/end)
Response fields (6)
FieldDescription
trade_dateTrading date YYYYMMDD
symbolSecurity code (with exchange suffix)
nameSecurity short name
volVolume (lots)
ratioRatio
exchangeExchange (SSE/SZSE)
GET /v1/flows/southbound-holdings PRO

Southbound holdings detail

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
trade_dateSingle trading date YYYYMMDD (alternative to start/end)
Response fields (6)
FieldDescription
trade_dateTrading date YYYYMMDD
symbolSecurity code (with exchange suffix)
nameSecurity short name
volVolume (lots)
ratioRatio
exchangeExchange (SSE/SZSE)

Chip Distribution

GET /v1/chips/distribution EXPERT

Chip distribution & win rate

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
trade_dateSingle trading date YYYYMMDD (alternative to start/end)
Response fields (11)
FieldDescription
symbolSecurity code (with exchange suffix)
trade_dateTrading date YYYYMMDD
his_lowHis low
his_highHis high
cost_5pctCost 5pct
cost_15pctCost 15pct
cost_50pctCost 50pct
cost_85pctCost 85pct
cost_95pctCost 95pct
weight_avgWeight avg
winner_rateWinner rate

Indices

GET /v1/indices/daily FREE

Index daily bars (default SSE Composite)

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
trade_dateSingle trading date YYYYMMDD (alternative to start/end)
Response fields (11)
FieldDescription
symbolSecurity code (with exchange suffix)
trade_dateTrading date YYYYMMDD
closeClose price
openOpen price
highHigh price
lowLow price
pre_closePrevious close
changePrice change
pct_chgChange (%)
volVolume (lots)
amountTurnover (k CNY)
GET /v1/indices/index-weight STARTER

Index constituents & weights

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
trade_dateSingle trading date YYYYMMDD (alternative to start/end)
Response fields (5)
FieldDescription
symbolIndex code (with suffix)
trade_dateTrading date YYYYMMDD
con_symbolConstituent code (with suffix)
con_nameCon name
weightWeight in index (%)

Financials

GET /v1/financials/indicators STARTER

Financial indicators

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
periodReport period YYYYMMDD (e.g. 20251231 = FY2025)
ann_dateAnnouncement date YYYYMMDD
Response fields (29)
FieldDescription
symbolSecurity code (with exchange suffix)
ann_dateAnnouncement date YYYYMMDD
end_dateReport period end date YYYYMMDD
epsBasic EPS (CNY)
dt_epsDiluted EPS (CNY)
total_revenue_psTotal revenue per share (CNY)
revenue_psRevenue per share (CNY)
bpsBook value per share (CNY)
ocfpsOperating cash flow per share (CNY)
roeReturn on equity (%)
roe_waaWeighted average ROE (%)
roe_dtROE excl. non-recurring items (%)
roaReturn on assets (%)
gross_marginGross profit (10k CNY)
netprofit_marginNet profit margin (%)
grossprofit_marginGross profit margin (%)
debt_to_assetsDebt-to-assets ratio (%)
current_ratioCurrent ratio
quick_ratioQuick ratio
cash_ratioCash ratio
assets_turnAsset turnover
inv_turnInventory turnover
ar_turnReceivables turnover
roicReturn on invested capital (%)
basic_eps_yoyBasic EPS YoY growth (%)
dt_eps_yoyDiluted EPS YoY growth (%)
netprofit_yoyNet profit YoY growth (%)
dt_netprofit_yoyNet profit YoY excl. non-recurring (%)
rd_expR&D expense (10k CNY)
GET /v1/financials/income STARTER

Income statements

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
periodReport period YYYYMMDD (e.g. 20251231 = FY2025)
ann_dateAnnouncement date YYYYMMDD
f_ann_dateActual announcement date YYYYMMDD
report_typeReport type: 1 consolidated / 6 parent company …
comp_typeCompany type: 1 general / 2 bank / 3 insurance / 4 securities
Response fields (26)
FieldDescription
symbolSecurity code (with exchange suffix)
ann_dateAnnouncement date YYYYMMDD
f_ann_dateActual announcement date YYYYMMDD
end_dateReport period end date YYYYMMDD
report_typeReport type
comp_typeComp type
basic_epsBasic eps
diluted_epsDiluted eps
total_revenueTotal revenue
revenueRevenue
total_cogsTotal cogs
oper_costOper cost
sell_expSell exp
admin_expAdmin exp
fin_expFin exp
rd_expR&D expense (10k CNY)
operate_profitOperate profit
non_oper_incomeNon oper income
non_oper_expNon oper exp
total_profitTotal profit
income_taxIncome tax
n_incomeN income
n_income_attr_pN income attr p
ebitEbit
ebitdaEbitda
update_flagUpdate flag
GET /v1/financials/balance-sheet STARTER

Balance sheets

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
periodReport period YYYYMMDD (e.g. 20251231 = FY2025)
ann_dateAnnouncement date YYYYMMDD
report_typeReport type: 1 consolidated / 6 parent company …
comp_typeCompany type: 1 general / 2 bank / 3 insurance / 4 securities
Response fields (31)
FieldDescription
symbolSecurity code (with exchange suffix)
ann_dateAnnouncement date YYYYMMDD
f_ann_dateActual announcement date YYYYMMDD
end_dateReport period end date YYYYMMDD
report_typeReport type
comp_typeComp type
total_cur_assetsTotal cur assets
money_capMoney cap
notes_receivNotes receiv
accounts_receivAccounts receiv
inventoriesInventories
total_ncaTotal nca
fa_avail_for_saleFa avail for sale
lt_eqt_investLt eqt invest
fix_assetsFix assets
cipCip
intan_assetsIntan assets
goodwillGoodwill
total_assetsTotal assets
total_cur_liabTotal cur liab
st_borrSt borr
notes_payableNotes payable
acct_payableAcct payable
total_nclTotal ncl
lt_borrLt borr
bond_payableBond payable
total_liabTotal liab
total_hldr_eqy_exc_min_intTotal hldr eqy exc min int
total_hldr_eqy_inc_min_intTotal hldr eqy inc min int
minority_intMinority int
update_flagUpdate flag
GET /v1/financials/cash-flow STARTER

Cash flow statements

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
periodReport period YYYYMMDD (e.g. 20251231 = FY2025)
ann_dateAnnouncement date YYYYMMDD
f_ann_dateActual announcement date YYYYMMDD
report_typeReport type: 1 consolidated / 6 parent company …
comp_typeCompany type: 1 general / 2 bank / 3 insurance / 4 securities
Response fields (21)
FieldDescription
symbolSecurity code (with exchange suffix)
ann_dateAnnouncement date YYYYMMDD
f_ann_dateActual announcement date YYYYMMDD
end_dateReport period end date YYYYMMDD
report_typeReport type
comp_typeComp type
net_profitNet profit
c_fr_sale_sgC fr sale sg
c_pay_goods_purch_serv_recC pay goods purch serv rec
n_cashflow_actN cashflow act
c_pay_acq_const_fix_intang_oassetC pay acq const fix intang oasset
c_fr_disp_fix_intang_oassetC fr disp fix intang oasset
n_cashflow_inv_actN cashflow inv act
c_fr_borrC fr borr
c_pay_dist_dpcp_int_expC pay dist dpcp int exp
n_cash_flows_fnc_actN cash flows fnc act
n_incr_cash_cash_equN incr cash cash equ
c_cash_equ_beg_periodC cash equ beg period
c_cash_equ_end_periodC cash equ end period
free_cashflowFree cashflow
update_flagUpdate flag
GET /v1/financials/forecast STARTER

Earnings forecasts

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
periodReport period YYYYMMDD (e.g. 20251231 = FY2025)
typeForecast type (increase/decrease/turn-loss etc.)
Response fields (12)
FieldDescription
symbolSecurity code (with exchange suffix)
ann_dateAnnouncement date YYYYMMDD
end_dateReport period end date YYYYMMDD
typeType
p_change_minP change min
p_change_maxP change max
net_profit_minNet profit min
net_profit_maxNet profit max
last_parent_netLast parent net
first_ann_dateFirst ann date
summarySummary
change_reasonChange reason
GET /v1/financials/express STARTER

Earnings flash reports

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
periodReport period YYYYMMDD (e.g. 20251231 = FY2025)
Response fields (15)
FieldDescription
symbolSecurity code (with exchange suffix)
ann_dateAnnouncement date YYYYMMDD
end_dateReport period end date YYYYMMDD
revenueRevenue
operate_profitOperate profit
total_profitTotal profit
n_incomeN income
total_assetsTotal assets
total_hldr_eqy_exc_min_intTotal hldr eqy exc min int
diluted_epsDiluted eps
diluted_roeDiluted roe
yoy_net_profitYoy net profit
bpsBook value per share (CNY)
perf_summaryPerf summary
update_flagUpdate flag
GET /v1/financials/analyst-reports PRO

Analyst earnings estimates

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
Response fields (23)
FieldDescription
symbolSecurity code (with exchange suffix)
nameSecurity short name
report_dateReport date YYYYMMDD
report_titleReport title
report_typeReport type
classifyClassify
org_nameOrg name
author_nameAuthor name
quarterQuarter
op_rtOp rt
op_prOp pr
tpTp
npNp
epsBasic EPS (CNY)
peP/E ratio
rdRd
roeReturn on equity (%)
ev_ebitdaEv ebitda
ratingRating
max_priceMax price
min_priceMin price
imp_dgImp dg
create_timeCreate time
GET /v1/financials/audit PRO

Audit opinions

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
periodReport period YYYYMMDD (e.g. 20251231 = FY2025)
ann_dateAnnouncement date YYYYMMDD
Response fields (7)
FieldDescription
symbolSecurity code (with exchange suffix)
ann_dateAnnouncement date YYYYMMDD
end_dateReport period end date YYYYMMDD
audit_resultAudit result
audit_feesAudit fees
audit_agencyAudit agency
audit_signAudit sign
GET /v1/financials/main-business PRO

Main business composition

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
periodReport period YYYYMMDD (e.g. 20251231 = FY2025)
Response fields (7)
FieldDescription
symbolSecurity code (with exchange suffix)
end_dateReport period end date YYYYMMDD
bz_itemBz item
bz_salesBz sales
bz_profitBz profit
bz_costBz cost
curr_typeCurr type
GET /v1/financials/disclosure-date PRO

Disclosure calendar

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
pre_dateScheduled disclosure date YYYYMMDD
actual_dateActual disclosure date YYYYMMDD
Response fields (6)
FieldDescription
symbolSecurity code (with exchange suffix)
ann_dateAnnouncement date YYYYMMDD
end_dateReport period end date YYYYMMDD
pre_datePre date
actual_dateActual date
modify_dateModify date

Dividends

GET /v1/shareholders/dividend STARTER

Dividends & splits

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
record_dateRecord date YYYYMMDD
ex_dateEx-dividend date YYYYMMDD
imp_ann_dateImplementation announcement date YYYYMMDD
Response fields (14)
FieldDescription
symbolSecurity code (with exchange suffix)
end_dateReport period end date YYYYMMDD
ann_dateAnnouncement date YYYYMMDD
div_procDiv proc
stk_divStk div
stk_bo_rateStk bo rate
stk_co_rateStk co rate
cash_divCash div
cash_div_taxCash div tax
record_dateRecord date
ex_dateEx date
pay_datePay date
div_listdateDiv listdate
imp_ann_dateImp ann date

FX

GET /v1/fx/daily FREE

FX daily bars (default USDCNH)

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
trade_dateSingle trading date YYYYMMDD (alternative to start/end)
Response fields (11)
FieldDescription
symbolSecurity code (with exchange suffix)
trade_dateTrading date YYYYMMDD
bid_openBid open
bid_closeBid close
bid_highBid high
bid_lowBid low
ask_openAsk open
ask_closeAsk close
ask_highAsk high
ask_lowAsk low
tick_qtyTick qty

Reference

GET /v1/reference/stocks FREE

Stock list

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
nameExact name match
marketMarket segment (main/GEM/STAR/BSE)
list_statusListing status: L listed / D delisted / P suspended
exchangeExchange: SSE / SZSE
is_hsStock Connect eligible: N no / H SH-Connect / S SZ-Connect
Response fields (15)
FieldDescription
symbolSecurity code (with exchange suffix)
symbolSymbol
nameSecurity short name
areaRegion
industryIndustry
fullnameFullname
ennameEnname
cnspellCnspell
marketMarket segment
exchangeExchange (SSE/SZSE)
curr_typeCurr type
list_statusListing status (L/D/P)
list_dateListing date YYYYMMDD
delist_dateDelist date
is_hsStock Connect eligible (N/H/S)
GET /v1/reference/industries FREE

SW industry classification

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
Response fields (8)
FieldDescription
symbolSecurity code (with exchange suffix)
nameSecurity short name
l1_codeL1 code
l1_nameL1 name
l2_codeL2 code
l2_nameL2 name
l3_codeL3 code
l3_nameL3 name
GET /v1/reference/trade-calendar FREE

Trading calendar (default SSE)

ParameterDescription
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
exchangeExchange: SSE / SZSE
is_openTrading day: 1 yes / 0 no
Response fields (4)
FieldDescription
exchangeExchange (SSE/SZSE)
cal_dateCalendar date YYYYMMDD
is_openTrading day flag (1 yes / 0 no)
pretrade_datePretrade date

Realtime & News

GET /v1/market/realtime STARTER

Realtime quotes snapshot

ParameterDescription
symbolSecurity code with exchange suffix, e.g. 000001.SZ
Response fields (11)
FieldDescription
symbolSymbol
nameSecurity short name
priceLatest price
openOpen price
highHigh price
lowLow price
pre_closePrevious close
volumeCumulative volume (shares)
amountTurnover (k CNY)
trade_timeQuote timestamp
pct_chgChange (%)
GET /v1/news/flash STARTER

News flash (realtime)

ParameterDescription
source *News source: cls / jin10 / sina
start_dateStart date YYYYMMDD
end_dateEnd date YYYYMMDD
importanceOnly items with importance ≥ this value (1 = important only)
Response fields (6)
FieldDescription
sourceNews source: cls / jin10 / sina
publish_timePublish time
content_cnNews content (Chinese)
tagsTags
importanceImportance level
urlOriginal link