> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bonanzalab.io/llms.txt
> Use this file to discover all available pages before exploring further.

# 대량체결감지

건당 체결금액이 KRW 기준 1억 이상인 경우 실시간으로 조회합니다.

```text Endpoint theme={null}
wss://api.dayfin.io/ws/v2
```

## 인증

**Authorization** `string` *required*

`Bearer {access_token}` 형식의 인증 토큰

## 구독 요청

**type** `string` *required*

데이터 요청 유형. `mass_trade`

**tradeUnit** `string` (default: 1)

대량 거래 단위 (억, 정수단위 입력)

* 미입력 시 `1`로 처리

**marketCodes** `string[]`

마켓 코드 목록

* 미입력 시 전체 마켓 대상 응답

**exchangeNms** `string[]`

거래소명 목록

* 미입력 시 전체 거래소 대상 응답

## 수신 메시지

**type** `string`

데이터 요청 유형

**assetSymbol** `string`

가상자산 심볼

**premium** `string`

프리미엄 가격

**premiumRatea** `string`

프리미엄율 (%)

**timestamp** `number`

타임스탬프

```json Subscribe theme={null}
{
    "type": "mass_trade",
    "tradeUnit": "1",
    "marketCodes": [
        "KRW-BTC",
        "KRW-ETH"
    ],
    "exchangeNms": [
        "upbit",
        "coinone"
    ]
}
```

```json Ticker theme={null}
{
    "type": "mass_trade",
    "exchageNm": "upbit",
    "marketCode": "KRW-ETH",
    "assetId": "13",
    "tradeType": "BUY",
    "tradePrice": "2415000",
    "tradeVol": "100.3514",
    "tradeValue": "242348631",
    "tradeDate": "20230731",
    "tradeTime": "104615000",
    "timestamp": 1691021704413
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.