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

# Whale swaps (above threshold)

> Returns recent swaps with `sol_amount` above a threshold (default 10 SOL).



## OpenAPI

````yaml /api-reference/openapi.json get /swaps/whale
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:
  /swaps/whale:
    get:
      tags:
        - Swaps
      summary: Whale swaps (above threshold)
      description: >-
        Returns recent swaps with `sol_amount` above a threshold (default 10
        SOL).
      operationId: listWhaleSwaps
      parameters:
        - name: min_sol
          in: query
          required: false
          schema:
            type: number
            default: 10
          description: Threshold in decimal SOL.
        - name: token
          in: query
          required: false
          schema:
            type: string
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            default: 100
            minimum: 1
            maximum: 1000
      responses:
        '200':
          description: Page of swaps
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SwapsPage'
components:
  schemas:
    SwapsPage:
      type: object
      description: Paged list of swaps, shared by `/swaps`, `/swaps/range`, `/swaps/whale`.
      properties:
        swaps:
          type: array
          items:
            $ref: '#/components/schemas/Swap'
        total:
          type: integer
          description: Count of swaps in this page.
        has_more:
          type: boolean
          description: True if more rows match — increment `offset` to page.
    Swap:
      type: object
      description: >-
        A single swap event from the raw swaps index. Same shape across
        `/swaps`, `/swaps/range`, `/swaps/whale`, `/swaps/{signature}`,
        `/swaps/trader/{wallet}`, `/swaps/token/{mint}`.


        Note that the streaming feeds (WebSocket and gRPC) use a *different*
        shape — see [WebSocket wire format](/streaming/websocket) — most notably
        `swap_type` (string) vs `is_buy` (bool) here, and `dex` as the string
        name vs `dex` as the integer ID here.
      properties:
        signature:
          type: string
          description: Solana transaction signature (base58).
        slot:
          type: integer
          format: int64
        timestamp:
          type: integer
          format: int64
          description: Unix epoch **milliseconds**.
        token_address:
          type: string
          description: Non-SOL side of the pool (the token being bought/sold).
        pair_address:
          type: string
          description: On-chain pool/LP account.
        user:
          type: string
          description: Trader wallet.
        is_buy:
          type: boolean
          description: '`true` if SOL → token; `false` if token → SOL.'
        dex:
          $ref: '#/components/schemas/DexId'
        sol_amount:
          type: integer
          format: int64
          description: Lamports (1 SOL = 1e9).
        token_amount:
          type: integer
          format: int64
          description: Token base units; divide by 10**`quote_decimals` for human-readable.
        fee:
          type: integer
          format: int64
          description: LP fee paid, in lamports.
        fee_bps:
          type: integer
          description: Effective LP fee, in basis points.
        creator_fee:
          type: integer
          format: int64
          description: Creator-set fee paid, in lamports (pump.fun + meteora-dbc).
        creator_fee_bps:
          type: integer
        price_per_token:
          type: number
          description: Realized fill price (SOL per 1 token, decimals-adjusted).
        pool_price:
          type: number
          description: Pool mid-price after the swap.
        price_impact_bps:
          type: integer
          description: Difference between fill price and pre-swap mid, in basis points.
        base_decimals:
          type: integer
          description: Decimals of the *base* (SOL) side — typically 9.
        quote_decimals:
          type: integer
          description: Decimals of the *quote* (token) side.
        virtual_sol_reserves:
          type: integer
          format: int64
          description: Virtual SOL reserves (pump.fun bonding curve). 0 on non-pump pools.
        virtual_token_reserves:
          type: integer
          format: int64
        real_sol_reserves:
          type: integer
          format: int64
          description: Actual reserves on the pool after the swap.
        real_token_reserves:
          type: integer
          format: int64
        transfer_fee_in:
          type: integer
          format: int64
          description: >-
            Token-2022 transfer-fee paid on the input side (lamports/base
            units).
        transfer_fee_out:
          type: integer
          format: int64
        cashback:
          type: integer
          format: int64
          description: Cashback rebated to the trader (lamports).
        cashback_bps:
          type: integer
    DexId:
      type: integer
      description: |-
        Integer DEX identifier used in raw swap rows. Mapping:

        | ID | DEX |
        | -- | --- |
        | 1  | `pumpfun` |
        | 2  | `pumpswap` |
        | 3  | `raydium_amm` |
        | 4  | `raydium_clmm` |
        | 5  | `raydium_cpmm` |
        | 6  | `orca` |
        | 7  | `meteora_damm_v2` |
        | 8  | `meteora_dbc` |
        | 9  | `meteora_dlmm` |
        | 10 | `meteora_pools` |
      enum:
        - 1
        - 2
        - 3
        - 4
        - 5
        - 6
        - 7
        - 8
        - 9
        - 10
  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.

````