Skip to content
iTick Dev

Stock market data API: Hong Kong, US and China A-share quotes and candles

Use one API for Hong Kong, US and China A-share market data. If you already use iTick, just change the base URL and the token.

What you can get

EndpointDescription
/stock/quoteReal-time quote for one symbol
/stock/quotesBatch quotes: pass several codes at once (the maximum depends on your plan)
/stock/tickReal-time ticks
/stock/depthOrder book
/stock/klineMinute, day, week and month candles; use limit for the count and et for historical ranges
/symbol/listLook up symbols
/market/statusCheck whether each market is currently open

Example: Tencent (700) quote on the Hong Kong market

Request
curl -H "token: YOUR_API_KEY" \
  "https://itick.dev/stock/quote?region=HK&code=700"
Response
{
  "code": 0,
  "msg": null,
  "data": {
    "s": "700",
    "ld": 420.6,
    "p": 428.2,
    "o": 425.6,
    "h": 426,
    "l": 419.2,
    "v": 12436640,
    "ch": -7.6,
    "chp": -1.77
  }
}

Markets covered

US, Hong Kong and China A-shares are covered and selected with the region parameter, for example HK, US, SH or SZ. Contact support to confirm stocks in other regions; available data depends on your plan.

Choose by use case

Fetch daily candles for Apple (US)
curl -H "token: YOUR_API_KEY" \
  "https://itick.dev/stock/kline?region=US&code=AAPL&kType=8&limit=30"

Frequently asked questions

Is Hong Kong and US stock data delayed?

Data comes from an upstream provider and is briefly cached for stability and rate limiting; quotes are cached for 3 seconds by default. Whether the data itself is real time depends on the upstream source and your plan. For millisecond latency, connect to the source directly. See rate limits and freshness.

How many stocks can I query at once?

The batch quote endpoint accepts several codes per request; the maximum depends on the upstream plan. See the batch endpoint notes in the iTick API docs.

Do I have to pay?

There is a free plan to try first; see pricing for its limits. Upgrade when your usage grows.

How do I migrate from iTick?

Replace the base URL with this site's address and send your new token in the request header. Paths and parameters stay the same. See the quick start.

Try the stock data API free

Sign up, subscribe to the free plan and get your token right away.

Sign up free