本文へスキップ

株式マーケットデータ API:米国・香港・中国株の株価とローソク足

単一の標準インターフェースで香港株・米国株・中国A株のリアルタイム相場とヒストリカルデータを取得できます。

無料プランありREST + WebSocketUSDT / 残高で即時開通

取得できるデータ

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

リクエスト例:香港株テンセント(700)の気配値

Request
curl -H "token: YOUR_API_KEY" \
  "https://api.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
  }
}

対応市場

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.

ユースケース別の選び方

  • Dashboards: refresh a screen of symbols with the batch quote endpoint, and switch to WebSocket streaming when you need continuous updates.
  • Backtesting: use the candle endpoint with limit and et to page through history.
  • Price alerts: poll quotes on a schedule, or subscribe over WebSocket and check thresholds locally.
Fetch daily candles for Apple (US)
curl -H "token: YOUR_API_KEY" \
  "https://api.itick.dev/stock/kline?region=US&code=AAPL&kType=8&limit=30"

よくある質問(FAQ)

Is Hong Kong and US stock data delayed?

Data comes from an upstream provider and is cached for stability and rate limiting; quotes are refreshed by the gateway as fast as every 3 seconds, and the X-Data-Age header gives the data age. 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.

数分で API コールを開始

無料アカウントを作成し、無料プランを購読して今すぐ API トークンを取得しましょう。

無料で登録する