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

# Global lifetime stats

> Aggregate lifetime stats across the entire index. (Not a 24h window — these are cumulative since `data_inception` reported by [/api/v1/stats](#tag/stats-trends/get/api/v1/stats).)



## OpenAPI

````yaml /api-reference/openapi.json get /stats/global
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/global:
    get:
      tags:
        - Stats & trends
      summary: Global lifetime stats
      description: >-
        Aggregate lifetime stats across the entire index. (Not a 24h window —
        these are cumulative since `data_inception` reported by
        [/api/v1/stats](#tag/stats-trends/get/api/v1/stats).)
      operationId: getGlobalStats
      responses:
        '200':
          description: Global stats
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GlobalStats'
components:
  schemas:
    GlobalStats:
      type: object
      description: Lifetime totals across the entire index (not a 24h window).
      properties:
        total_swaps:
          type: integer
          format: int64
        total_volume_sol:
          type: number
          description: Cumulative SOL volume.
        unique_traders:
          type: integer
          format: int64
        unique_tokens:
          type: integer
          format: int64
  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.

````