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

# 현재가(거래소)

각 거래소별 가상자산 마켓페어의 최근 체결가격을 조회합니다.


## OpenAPI

````yaml api-docs.json POST /v2/api/trade/exchange
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:
    post:
      tags:
        - Trade
      summary: 거래소별 현재가 조회
      description: 거래소와 기준 통화를 기준으로 전체 또는 지정 마켓의 현재가를 조회합니다.
      operationId: inqExchangeTradePrice
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReqExchangeLatestData'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResExchangeTrade'
components:
  schemas:
    ReqExchangeLatestData:
      type: object
      properties:
        tranDtime:
          type: string
          description: 요청 거래일시 (yyyyMMddHHmmss)
          example: '20261014143000'
          maxLength: 14
          minLength: 14
        tranNo:
          type: string
          description: 요청별 고유 거래번호
          example: '202610141430000001'
          minLength: 1
        exchangeNm:
          type: string
          description: 거래소명
          enum:
            - upbit
            - bithumb
            - coinone
            - digitalx
            - gopax
          example: upbit
        quoteCurrency:
          type: string
          default: KRW
          description: 기준 통화 코드 (기본값 KRW)
          example: KRW
        marketCodes:
          type: array
          description: 마켓 코드 목록. 생략하면 기준 통화에 해당하는 전체 마켓을 조회합니다.
          example:
            - KRW-BTC
          items:
            type: string
      required:
        - exchangeNm
        - tranDtime
        - tranNo
    ResExchangeTrade:
      type: object
      properties:
        rspCode:
          type: string
          description: 처리 결과 코드
          example: A0000
        rspMessage:
          type: string
          description: 처리 결과 메시지
          example: 처리 성공
        dataList:
          type: array
          description: 현재가 조회 결과 목록
          example:
            - upbit:
                - marketCode: KRW-BTC
                  assetId: 1
                  tradePrice: '93000000'
          items: {}
          properties:
            empty:
              type: boolean
            first: {}
            last: {}
        dataListCnt:
          type: integer
          format: int32
          description: 응답 결과 수
          example: 1
        quoteCurrency:
          type: string
          description: 기준 통화 코드
          example: KRW
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

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