> ## 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/coinInfo/exchange/rate
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/coinInfo/exchange/rate:
    post:
      tags:
        - Coin Info
      summary: 환율 조회
      description: 통화 코드와 조회 기간을 기준으로 원화 환율을 일자별로 조회합니다.
      operationId: inqExchangeRate
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReqExchangeRate'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResExchangeRate'
components:
  schemas:
    ReqExchangeRate:
      type: object
      properties:
        tranDtime:
          type: string
          description: 요청 거래일시 (yyyyMMddHHmmss)
          example: '20261014143000'
          maxLength: 14
          minLength: 14
        tranNo:
          type: string
          description: 요청별 고유 거래번호
          example: '202610141430000001'
          minLength: 1
        currCodes:
          type: array
          description: 통화 코드 목록 (USD, EUR, CNY, JPY). 생략하면 지원하는 전체 외화로 조회합니다.
          example:
            - USD
            - JPY
          items:
            type: string
        startDt:
          type: string
          description: 조회 시작 일자 (yyyyMMdd). 생략하면 요청일 기준으로 조회합니다.
          example: '20261001'
        endDt:
          type: string
          description: 조회 종료 일자 (yyyyMMdd). 생략하면 요청일 기준으로 조회합니다.
          example: '20261014'
      required:
        - tranDtime
        - tranNo
    ResExchangeRate:
      type: object
      properties:
        rspCode:
          type: string
          description: 처리 결과 코드
          example: A0000
        rspMessage:
          type: string
          description: 처리 결과 메시지
          example: 정상 처리되었습니다.
        dataList:
          type: array
          description: 일자별 환율 조회 결과 목록
          items:
            $ref: '#/components/schemas/ExchangeInfos'
        dataListCnt:
          type: integer
          format: int32
          description: 응답 결과 수
          example: 1
    ExchangeInfos:
      type: object
      properties:
        date:
          type: string
          description: 고시 일자 (yyyyMMdd)
          example: '20261014'
        currListCnt:
          type: integer
          format: int32
          description: 통화 수
          example: 2
        currList:
          type: array
          description: 통화별 환율 목록
          items:
            $ref: '#/components/schemas/RateInfo'
    RateInfo:
      type: object
      properties:
        currCode:
          type: string
          description: 통화 코드
          example: USD
        currName:
          type: string
          description: 통화명
          example: 달러
        dealBaseRate:
          type: string
          description: 매매 기준율
          example: '1420.50'
        change:
          type: string
          description: 전일 대비 환율
          example: '5.25'
        flag:
          type: string
          description: 등락 구분
          enum:
            - UP
            - DOWN
            - '-'
          example: UP
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

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