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

# 일거래금액(거래소,일별)

전체 거래소 또는 거래소별 일거래금액을 조회합니다.\
(1회 최대 조회건수: 100건, KST 09시 기준)


## OpenAPI

````yaml api-docs.json POST /v2/api/trade/exchange/daily/history
openapi: 3.1.0
info:
  title: Dayfin Data API
  description: Dayfin market data API
  version: v2
servers:
  - url: https://dev.dayfin.io
    description: Generated server url
security:
  - bearerAuth: []
tags:
  - name: Coin OHLCV
    description: 가상자산 OHLCV 캔들 조회 API
paths:
  /v2/api/trade/exchange/daily/history:
    post:
      tags:
        - Trade
      summary: 거래소 일거래금액 이력 조회
      description: 거래소 구분과 조회 기간을 기준으로 일별 거래대금을 조회합니다.
      operationId: inqExchangeDailyTradeHistory
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReqExchangeDailyTradeHistory'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResExchangeDailyTradeHistory'
components:
  schemas:
    ReqExchangeDailyTradeHistory:
      type: object
      properties:
        tranDtime:
          type: string
          description: 요청 거래일시 (yyyyMMddHHmmss)
          example: '20261014143000'
          maxLength: 14
          minLength: 14
        tranNo:
          type: string
          description: 요청별 고유 거래번호
          example: '202610141430000001'
          minLength: 1
        reqTp:
          type: string
          description: '조회 구분 (0: 전체 거래소 합산, 1: 거래소별)'
          enum:
            - '0'
            - '1'
          example: '1'
        exchangeNms:
          type: array
          description: 거래소명 목록. 거래소별 조회에서 생략하면 전체 거래소를 조회합니다.
          example:
            - upbit
            - bithumb
          items:
            type: string
        startDt:
          type: string
          description: 조회 시작 일자 (yyyyMMdd). 생략하면 요청일 기준으로 조회합니다.
          example: '20261001'
        endDt:
          type: string
          description: 조회 종료 일자 (yyyyMMdd). 생략하면 현재 코인 기준일로 조회합니다.
          example: '20261014'
      required:
        - reqTp
        - tranDtime
        - tranNo
    ResExchangeDailyTradeHistory:
      type: object
      properties:
        rspCode:
          type: string
          description: 처리 결과 코드
          example: A0000
        rspMessage:
          type: string
          description: 처리 결과 메시지
          example: 처리 성공
        reqTp:
          type: string
          description: 조회 구분
          example: '1'
        dataList:
          type: array
          description: 일자별 거래대금 조회 결과 목록
          items:
            $ref: '#/components/schemas/TradeData'
    TradeData:
      type: object
      properties:
        tradeDate:
          type: string
          description: 거래 기준 일자 (yyyyMMdd)
          example: '20261014'
        tradeData:
          type: array
          description: 거래소별 거래대금 목록
          items:
            $ref: '#/components/schemas/TradeHistory'
    TradeHistory:
      type: object
      properties:
        tradePrice:
          type: string
          description: 체결 가격
          example: '93000000'
        tradeVol:
          type: string
          description: 체결량
          example: '0.001'
        tradeTp:
          type: string
          description: 매수·매도 구분
          enum:
            - BUY
            - SELL
          example: BUY
        tradeDtm:
          type: string
          description: 체결 일시 (yyyyMMddHHmmss)
          example: '20261014142959'
        sequenceId:
          type: string
          description: 거래 번호
          example: '123456789'
        exchangeTs:
          type: integer
          format: int64
          description: 거래소 체결 시각 (Unix epoch milliseconds)
          example: 1791955799000
        timestamp:
          type: integer
          format: int64
          description: 체결 데이터 수신 시각 (Unix epoch milliseconds)
          example: 1791955800000
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

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