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

# Stats for a trader

> Lifetime stats for a single wallet. Returns the `TraderStats` block directly.



## OpenAPI

````yaml /api-reference/openapi.json get /stats/trader/{wallet}
openapi: 3.1.0
info:
  title: Dexploit API
  version: 1.0.0
  description: Real-time and historical Solana DEX swap and OHLCV data.
servers:
  - url: https://api.dexploit.dev
    description: Production
security:
  - ApiKeyHeader: []
  - BearerAuth: []
  - ApiKeyQuery: []
paths:
  /stats/trader/{wallet}:
    get:
      tags:
        - Stats & trends
      summary: Stats for a trader
      description: >-
        Lifetime stats for a single wallet. Returns the `TraderStats` block
        directly.
      operationId: getTraderStats
      parameters:
        - name: wallet
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Trader stats
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TraderStats'
components:
  schemas:
    TraderStats:
      type: object
      description: Lifetime stats for a wallet across all pools and DEXs.
      properties:
        total_swaps:
          type: integer
        total_buys:
          type: integer
        total_sells:
          type: integer
        total_sol_volume:
          type: number
          description: Cumulative SOL volume routed by this wallet.
        unique_tokens:
          type: integer
          description: Number of distinct token mints this wallet has traded.
  securitySchemes:
    ApiKeyHeader:
      type: apiKey
      in: header
      name: X-API-Key
      description: >-
        Preferred for swaps-api endpoints (`/swaps/*`, `/stats/*`, `/trending`,
        `/pool-events`).
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Required by the OHLCV endpoints (`/api/v1/*`) and accepted by every
        other endpoint. Send `Authorization: Bearer ohlcv_live_sk_<your_key>`.
    ApiKeyQuery:
      type: apiKey
      in: query
      name: api_key
      description: >-
        Browser-friendly alternative to the Bearer header — accepted by every
        endpoint and required for WebSocket from the browser.

````