本文へスキップ

FX・貴金属・コモディティ マーケットデータ API

主要通貨ペア、ゴールド、シルバー、エネルギー銘柄の 24 時間リアルタイムレートとローソク足を取得できます。

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

取得できるデータ

EndpointDescription
/forex/quoteReal-time quote for a currency pair or metal
/forex/quotesBatch quotes
/forex/tick, /forex/depthReal-time ticks and order book
/forex/klineMinute, day, week and month candles
/symbol/listLook up available instruments with type=forex

リクエスト例:EUR/USD リアルタイムレート

Request
curl -H "token: YOUR_API_KEY" \
  "https://api.itick.dev/forex/quote?region=GB&code=EURUSD"
Response
{
  "code": 0,
  "msg": null,
  "data": {
    "s": "EURUSD",
    "ld": 1.17376,
    "o": 1.1741,
    "h": 1.17497,
    "l": 1.17194,
    "v": 1193417.3,
    "ch": 0.00001,
    "chp": 0.02
  }
}

対応銘柄とマーケットコード

For forex the example region is GB and instrument codes look like EURUSD. Global currency pairs and precious metals are covered; look up specific instruments with the symbol list endpoint. Available data depends on your plan.

WebSocket による為替レートのストリーミング

Connect to wss://api.itick.dev/forex and subscribe to symbols such as EURUSD$GB to receive continuous updates. See the WebSocket docs for the message format.

よくある質問(FAQ)

Which currency pairs are supported?

Major global currency pairs and precious metals are covered. Look up specific instruments with /symbol/list?type=forex; available data depends on your plan.

Is forex data real time?

Data comes from an upstream provider and quotes are refreshed by the gateway as fast as every 3 seconds; the X-Data-Age header gives the data age. How real time the data itself is depends on the upstream and your plan. See rate limits and freshness.

Can I get historical candles?

Yes. Use /forex/kline with the kType, limit and et parameters. See the REST API page for the interval table.

数分で API コールを開始

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

無料で登録する