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

# Top price movers

> Pools with the largest absolute price change over the requested timeframe. Returns *both* sides: `gainers` (sorted by largest positive change) and `losers` (sorted by largest negative change).



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/top-movers
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/top-movers:
    get:
      tags:
        - Stats & trends
      summary: Top price movers
      description: >-
        Pools with the largest absolute price change over the requested
        timeframe. Returns *both* sides: `gainers` (sorted by largest positive
        change) and `losers` (sorted by largest negative change).
      operationId: listTopMovers
      parameters:
        - name: timeframe
          in: query
          required: true
          schema:
            type: string
            enum:
              - 5m
              - 15m
              - 1h
              - 4h
              - 24h
          description: Window over which to compute price change.
        - name: protocol
          in: query
          required: false
          schema:
            $ref: '#/components/schemas/Protocol'
          description: Restrict to one DEX.
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            default: 50
            minimum: 1
            maximum: 500
          description: Per side — you get up to `limit` gainers AND up to `limit` losers.
      responses:
        '200':
          description: Top movers (gainers and losers)
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    enum:
                      - true
                  data:
                    type: object
                    properties:
                      timeframe:
                        type: string
                      protocol:
                        type:
                          - string
                          - 'null'
                      gainers:
                        type: array
                        items:
                          $ref: '#/components/schemas/TopMover'
                      losers:
                        type: array
                        items:
                          $ref: '#/components/schemas/TopMover'
                  error:
                    type:
                      - object
                      - 'null'
        '400':
          description: Missing or invalid `timeframe`
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
              example:
                success: false
                error:
                  code: INVALID_PARAM
                  message: >-
                    Failed to deserialize query string: missing field
                    `timeframe`
components:
  schemas:
    Protocol:
      type: string
      description: Canonical lowercase snake_case DEX name.
      enum:
        - pumpfun
        - pumpswap
        - raydium_amm
        - raydium_clmm
        - raydium_cpmm
        - orca
        - meteora_damm_v2
        - meteora_dbc
        - meteora_dlmm
        - meteora_pools
    TopMover:
      type: object
      description: >-
        One pool in a top-movers response. The `gainers` and `losers` arrays
        each contain these.
      properties:
        mint:
          type: string
          description: Token mint (non-SOL side of the pool).
        protocols:
          type: array
          items:
            type: string
          description: DEXes the token trades on.
        price_change_pct:
          type: number
          description: Percent change in price over `timeframe`.
        open_price:
          type: number
          description: Price (SOL) at the start of `timeframe`.
        close_price:
          type: number
          description: Most recent price (SOL).
        high:
          type: number
        low:
          type: number
        volume_sol:
          type: number
          description: >-
            SOL volume over `timeframe`. **Lamports** despite the name — divide
            by 1e9.
        trade_count:
          type: integer
    ErrorEnvelope:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          enum:
            - false
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              example: INVALID_PARAM
            message:
              type: string
              example: >-
                use pair_address; see /api/v1/pairs?token_address=X to discover
                pools
  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.

````