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

# Aggregate platform stats

> Roll-up of the OHLCV index — how many candles, pools, mints, and supported timeframes; plus when the index started.

**Public — no API key required.** This is one of three intentionally keyless endpoints (along with [/api/v1/protocols](#tag/stats-trends/get/api/v1/protocols) and [/tokens/{mint}/audit](#tag/tokens/get/tokens/{mint}/audit)).



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/stats
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:
  /api/v1/stats:
    get:
      tags:
        - Stats & trends
      summary: Aggregate platform stats
      description: >-
        Roll-up of the OHLCV index — how many candles, pools, mints, and
        supported timeframes; plus when the index started.


        **Public — no API key required.** This is one of three intentionally
        keyless endpoints (along with
        [/api/v1/protocols](#tag/stats-trends/get/api/v1/protocols) and
        [/tokens/{mint}/audit](#tag/tokens/get/tokens/{mint}/audit)).
      operationId: getOhlcvStats
      responses:
        '200':
          description: Aggregate stats
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - true
                  data:
                    type: object
                    properties:
                      total_candles:
                        type: integer
                        format: int64
                        description: Total bars across all timeframes.
                      protocols:
                        type: integer
                        description: Distinct DEX protocols indexed.
                      pairs:
                        type: integer
                        description: Distinct pools indexed.
                      mints:
                        type: integer
                        description: Distinct token mints indexed.
                      timeframes:
                        type: array
                        items:
                          type: string
                        description: Bar resolutions Dexploit aggregates to.
                      oldest_candle:
                        type: string
                        format: date-time
                        description: Oldest bar in the index.
                      newest_candle:
                        type: string
                        format: date-time
                      data_inception:
                        type: string
                        format: date-time
                        description: When Dexploit started ingesting Solana swaps.
                  error:
                    type:
                      - object
                      - 'null'
      security: []
components:
  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.

````