> ## 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.

# 일거래금액(거래소)

거래소별 당일 또는 최근 24시간 누적 거래금액을 실시간으로 조회합니다.

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

## 인증

**Authorization** `string` *required*

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

## 구독 요청

**type** `string` *required*

데이터 요청 유형. `exchange_tot`

**sort** `string` *required*

구분

* `0`: 당일(KST 09시 기준)
* `1`: 최근 24시간

**exchangeNms** `string[]`

거래소명 목록

* 미입력 시 전체 합계 값 응답

## 수신 메시지

**type** `string`

데이터 요청 유형

**exchangeNm** `string`

거래소명

**accTradeValue** `string`

누적 거래대금

**timestamp** `number`

타임스탬프

```json Subscribe theme={null}
{
    "type": "exchange_tot",
    "sort": "0",
    "exchangeNms": [
        "upbit",
        "bithumb",
        "coinone"
    ]
}
```

```json Ticker theme={null}
{
    "type": "exchange_tot",
    "exchangeNm": "upbit",
    "accTradeValue": "2181673689187",
    "timestamp": 1690532801700
}
```


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