본문으로 건너뛰기

암호화폐 실시간 시세 API: 현재가, 캔들 및 오더북

주요 암호화폐 현물 마켓의 실시간 시세와 다중 주기 캔들, WebSocket 스트리밍을 24시간 중단 없이 제공합니다.

무료 플랜 제공REST + WebSocketUSDT / 잔액 즉시 개통

제공되는 데이터 항목

EndpointDescription
/crypto/quoteReal-time quote for a pair
/crypto/quotesBatch quotes
/crypto/tick, /crypto/depthReal-time ticks and order book
/crypto/klineMinute, day, week and month candles
wss://api.itick.dev/cryptoWebSocket subscription with continuous quote and trade updates

예시: BTCUSDT 시세 조회

Request
curl -H "token: YOUR_API_KEY" \
  "https://api.itick.dev/crypto/quote?region=BA&code=BTCUSDT"
Response
{
  "code": 0,
  "msg": null,
  "data": {
    "s": "BTCUSDT",
    "ld": 116211.33,
    "o": 114953.48,
    "h": 116828.93,
    "l": 114259,
    "v": 11296.78228
  }
}

마켓 코드 안내

For crypto, region is a market code that selects the source. The documented values are BA, BT and PB, with instrument codes such as BTCUSDT. See the iTick product list for which exchange each code maps to.

WebSocket 실시간 구독

Crypto trades 24/7, and a WebSocket subscription keeps pushing updates so you do not need to poll. The example below subscribes to BTCUSDT quotes and ticks.

JavaScript
const ws = new WebSocket("wss://api.itick.dev/crypto?token=YOUR_API_KEY");

ws.onopen = () => {
  ws.send(JSON.stringify({ ac: "subscribe", params: "BTCUSDT$BA", types: "quote,tick" }));
  // Send a heartbeat at least every 30 seconds
  setInterval(() => ws.send(JSON.stringify({ ac: "ping", params: String(Date.now()) })), 25000);
};

ws.onmessage = (event) => console.log(event.data);

자주 묻는 질문 (FAQ)

How fast are the WebSocket updates?

Updates are produced by the upstream provider and forwarded to subscribed connections without caching. Actual latency depends on the upstream and the network, and we do not promise specific millisecond figures.

Which pairs and exchanges are supported?

That follows the iTick product list, and available instruments depend on your plan. See the iTick product list.

Does the free plan include WebSocket?

The free plan does not include WebSocket streaming by default; paid plans do. See pricing for connection and subscription limits.

몇 분 만에 API 연동 시작

무료로 가입하고 무료 플랜을 구독해 즉시 API 토큰을 발급받으세요.

무료 가입하기