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

# 시가총액순위

국내 5대 KRW마켓 상장 가상자산의 시가총액 순위를 통합 및 거래소별로 조회합니다.


## OpenAPI

````yaml api-docs.json POST /v2/api/coinInfo/marketCap
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/marketCap:
    post:
      tags:
        - Coin Info
      summary: 시가총액 순위 조회
      description: 거래소별 또는 전체 자산의 총 발행량 기준 시가총액 순위를 조회합니다.
      operationId: inqMarketCapRank
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReqMarketCapRank'
        required: true
      responses:
        '200':
          description: OK
          content:
            '*/*':
              schema:
                $ref: '#/components/schemas/ResMarketCapRank'
components:
  schemas:
    ReqMarketCapRank:
      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: 거래소명. 생략하면 전체 거래소를 조회합니다.
          example: upbit
      required:
        - tranDtime
        - tranNo
    ResMarketCapRank:
      type: object
      properties:
        rspCode:
          type: string
          description: 처리 결과 코드
          example: A0000
        rspMessage:
          type: string
          description: 처리 결과 메시지
          example: 처리 성공
        exchangeNm:
          type: string
          description: 거래소명
          example: ALL
        timestamp:
          type: integer
          format: int64
          description: 시가총액 기준 시각 (Unix epoch milliseconds)
          example: 1791955800000
        dataList:
          type: array
          description: 시가총액 순위 목록
          items:
            $ref: '#/components/schemas/RankData'
    RankData:
      type: object
      properties:
        rank:
          type: integer
          format: int32
          description: 순위
          example: 1
        marketCode:
          type: string
          description: 마켓 코드
          example: KRW-BTC
        marketCap:
          type: string
          description: 시가총액 (KRW)
          example: '2500000000000000'
        assetId:
          type: integer
          format: int64
          description: 자산 ID
          example: 1
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

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