Market Daily

Daily OHLCV price data for A-share stocks.

GET /v2/market/daily
curl -H "X-API-Key: YOUR_KEY" \
  "https://asharehub.com/v2/market/daily?symbol=000001.SZ&start_date=20240101&end_date=20240131&limit=5"

Parameters

Name Type Required Description
symbol string No Stock code, e.g. 000001.SZ
start_date string No Start date (YYYYMMDD)
end_date string No End date (YYYYMMDD)
trade_date string No Trading date YYYYMMDD (single day)
limit int No Max rows (defaults to the cap; no need to raise it)

Response Fields

Field Type Description
symbol string Stock code
trade_date string Trading date
open number Opening price
high number Highest price
low number Lowest price
close number Closing price
pre_close number Previous close
change number Price change
pct_chg number Change %
vol number Volume (lots)
amount number Turnover (CNY thousands)