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

# 시세프리미엄

BTC, ETH 대상으로 국내 대표가격 대비 해외 대표가격의 차이(프리미엄)를 조회합니다.

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

## 인증

**Authorization** `string` *required*

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

## 구독 요청

**type** `string` *required*

데이터 요청 유형. `kimp_all`

**sort** `string` *required*

구분

* `1`: KVWAP-코인마켓캡
* `1`: 업비트-코인마켓캡

**assetSymbols** `string[]` *required*

심볼 목록

## 수신 메시지

**type** `string`

데이터 요청 유형

**pair** `string`

페어

**assetSymbol** `string`

가상자산 심볼

**premium** `string`

프리미엄 가격

**premiumRatea** `string`

프리미엄율 (%)

**timestamp** `number`

타임스탬프

```json Subscribe theme={null}
{
    "type": "kimp",
    "pair": "1",
    "assetSymbols": [
        "BTC",
        "ETH"
    ]
}
```

```json Ticker theme={null}
{
    "type": "kimp",
    "pair": "1",
    "assetSymbol": "BTC",
    "premium": "-1530000",
    "premiumRate": "-3.28"
}
```


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