> ## 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 token (across pools)

> Aggregate lifetime stats for a token mint across every indexed pool. Returns the `TokenStats` block directly. One of the few endpoints where token mint is correct (see [Pairs vs tokens](/concepts/pairs-vs-tokens)).



## OpenAPI

````yaml /api-reference/openapi.json get /stats/token/{mint}
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/token/{mint}:
    get:
      tags:
        - Stats & trends
      summary: Stats for a token (across pools)
      description: >-
        Aggregate lifetime stats for a token mint across every indexed pool.
        Returns the `TokenStats` block directly. One of the few endpoints where
        token mint is correct (see [Pairs vs
        tokens](/concepts/pairs-vs-tokens)).
      operationId: getTokenStats
      parameters:
        - name: mint
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Token stats
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TokenStats'
components:
  schemas:
    TokenStats:
      type: object
      description: Lifetime stats for a token mint across every indexed pool.
      properties:
        total_swaps:
          type: integer
        total_buys:
          type: integer
        total_sells:
          type: integer
        total_sol_volume:
          type: number
        unique_traders:
          type: integer
        buy_sell_ratio:
          type: number
          description: '`total_buys / total_sells`.'
  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.

````