> ## 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 取引](/jp/graphql/examples/dex-trades) | MCP: `trade_get_top_traders`


## OpenAPI

````yaml /jp/api-reference/openapi-data-jp.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

````