> ## Documentation Index
> Fetch the complete documentation index at: https://docs.chainstream.io/llms.txt
> Use this file to discover all available pages before exploring further.

# 거래 - 상위 트레이더

> 특정 토큰의 상위 트레이더 조회

<Note>
  특정 토큰에 대해 거래량 순으로 상위 거래자를 가져옵니다. 고래와 마켓 메이커 식별에 유용합니다.
</Note>

**관련**: [GraphQL DEX 거래](/ko/graphql/examples/dex-trades) | MCP: `trade_get_top_traders`


## OpenAPI

````yaml /ko/api-reference/openapi-data-ko.yaml GET /v2/trade/{chain}/top-traders
openapi: 3.1.0
info:
  title: Services API
  description: Services API
  contact:
    name: AI
    email: ai@sx.ai
  license:
    name: MIT
  version: '1.0'
servers:
  - url: https://api.chainstream.io
    description: Production
security:
  - bearer_auth: []
  - api_key_auth: []
tags:
  - name: Blockchain
    description: 블록체인 관련 작업
  - name: Token
    description: 토큰 관련 작업
  - name: Trade
    description: 거래 관련 작업
  - name: Wallet
    description: 지갑 관련 작업
  - name: Dex
    description: DEX 관련 작업
  - name: Ranking
    description: 랭킹 관련 작업
  - name: DexPool
    description: DEX 풀 관련 작업
  - name: Watchlist
    description: 워치리스트 관련 작업
  - name: KYT
    description: KYT 관련 작업
  - name: Webhook
    description: Webhook 관련 작업
  - name: RedPacket
    description: 레드패킷 관련 작업
  - name: IPFS
    description: IPFS 관련 작업
  - name: DexScreener
    description: DexScreener 관련 작업
paths:
  /v2/trade/{chain}/top-traders:
    get:
      tags:
        - Trade
      summary: 거래 - 상위 트레이더
      description: 특정 토큰의 상위 트레이더 조회
      operationId: get.top.traders
      parameters:
        - name: chain
          in: path
          description: 지원되는 네트워크에 나열된 체인 이름
          required: true
          schema:
            $ref: '#/components/schemas/ChainSymbol'
          example: sol
        - name: cursor
          in: query
          description: 페이지네이션 커서
          required: false
          schema:
            type: string
          example: eyJpZCI6IjEyMyJ9
        - name: limit
          in: query
          description: 페이지당 결과 수
          required: false
          schema:
            type: integer
            format: int64
            default: 20
          example: 20
        - name: direction
          in: query
          description: 페이지네이션 방향 (next 또는 prev)
          required: false
          schema:
            oneOf:
              - $ref: '#/components/schemas/PageDirection'
            default: next
          example: next
        - name: tokenAddress
          in: query
          description: 토큰 주소
          required: true
          schema:
            type: string
          example: 6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN
        - name: timeFrame
          in: query
          description: 거래 필터링 기간
          required: false
          schema:
            $ref: '#/components/schemas/TimeFrame'
          example: 24h
        - name: sortType
          in: query
          description: 거래 결과 정렬 유형
          required: false
          schema:
            oneOf:
              - $ref: '#/components/schemas/SortDirection'
            default: desc
          example: desc
        - name: sortBy
          in: query
          description: 거래 정렬 기준 필드
          required: false
          schema:
            oneOf:
              - $ref: '#/components/schemas/TopTraderSortBy'
            default: tradeAmount
          example: tradeAmount
      responses:
        '200':
          description: 성공 응답
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PageResponse_TopTrader'
components:
  schemas:
    ChainSymbol:
      type: string
      description: Supported blockchain chains
      enum:
        - sol
        - eth
        - bsc
    PageDirection:
      type: string
      description: Pagination direction
      enum:
        - next
        - prev
    TimeFrame:
      type: string
      description: Time frame for statistics
      enum:
        - 30m
        - 1h
        - 2h
        - 4h
        - 6h
        - 8h
        - 12h
        - 24h
    SortDirection:
      type: string
      description: 'Sort direction (case-insensitive: accepts "asc"/"ASC"/"Asc" etc.)'
      enum:
        - asc
        - desc
    TopTraderSortBy:
      type: string
      description: Sort field for top traders query
      enum:
        - tradeAmount
        - tradeCount
    PageResponse_TopTrader:
      type: object
      description: Generic pagination response
      required:
        - data
      properties:
        data:
          type: array
          items:
            type: object
            description: Top trader statistics
            required:
              - tokenAddress
              - walletAddress
              - tradeCount
              - tradeAmount
              - buyCount
              - buyAmount
              - buyAmountInUsd
              - buyAmountInNative
              - sellCount
              - sellAmount
              - sellAmountInUsd
              - sellAmountInNative
            properties:
              buyAmount:
                type: string
                description: 토큰 단위 총 매수 수량
                example: '600000'
              buyAmountInNative:
                type: string
                description: 네이티브 토큰 기준 총 매수 금액
                example: '100.5'
              buyAmountInUsd:
                type: string
                description: USD 기준 총 매수 금액
                example: '12000.50'
              buyCount:
                type: integer
                format: int64
                description: 매수 거래 건수
                example: 60
              sellAmount:
                type: string
                description: 토큰 단위 총 매도 수량
                example: '400000'
              sellAmountInNative:
                type: string
                description: 네이티브 토큰 기준 총 매도 금액
                example: '66.8'
              sellAmountInUsd:
                type: string
                description: USD 기준 총 매도 금액
                example: '8000.30'
              sellCount:
                type: integer
                format: int64
                description: 매도 거래 건수
                example: 40
              tokenAddress:
                type: string
                description: 토큰 컨트랙트 주소
                example: 6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN
              tradeAmount:
                type: string
                description: 토큰 단위 총 거래 수량
                example: '1000000'
              tradeCount:
                type: integer
                format: int64
                description: 총 거래 건수
                example: 100
              walletAddress:
                type: string
                description: 트레이더 지갑 주소
                example: 3xd4LGVWtYXLBspR6X5JWbW49NXmEehfPtX6Kqx98b4w
          description: Page data
        endCursor:
          type:
            - string
            - 'null'
          description: Cursor for the end of current page
          example: eyJpZCI6ImVuZCJ9
        hasNext:
          type: boolean
          description: Whether there is a next page
          example: false
        hasPrev:
          type: boolean
          description: Whether there is a previous page
          example: false
        startCursor:
          type:
            - string
            - 'null'
          description: Cursor for the start of current page
          example: eyJpZCI6InN0YXJ0In0=
        total:
          type:
            - integer
            - 'null'
          format: int64
          description: >-
            Total number of items matching the query (not just the current
            page).

            When `None`, the caller should treat it as unknown
            (backward-compatible).
          example: 564094
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    api_key_auth:
      type: apiKey
      in: header
      name: X-API-KEY

````