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

# Standout positions

> Standout positions for a wallet from one `wallet_positions` aggregate: biggest winner/loser, fastest flip, longest hold, most traded, biggest single buy/sell. Each highlight is `null` when no qualifying row matched. Cached 5s hot / 30s cold.



## OpenAPI

````yaml /api-reference/openapi.json get /v2/pnl/wallets/{wallet}/highlights
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:
  /v2/pnl/wallets/{wallet}/highlights:
    get:
      tags:
        - Wallet PnL (v2)
      summary: Standout positions
      description: >-
        Standout positions for a wallet from one `wallet_positions` aggregate:
        biggest winner/loser, fastest flip, longest hold, most traded, biggest
        single buy/sell. Each highlight is `null` when no qualifying row
        matched. Cached 5s hot / 30s cold.
      operationId: getPnlV2Highlights
      parameters:
        - name: wallet
          in: path
          required: true
          schema:
            type: string
          description: Wallet address (base58, 32–44 characters).
        - name: pnl_mode
          in: query
          required: false
          schema:
            type: string
            enum:
              - raw
              - strict
              - adjusted
            default: adjusted
          description: >-
            PnL accounting mode. `strict` (FIFO) and `adjusted` (weighted-avg
            cost) are realized-PnL figures; `raw` is **net cash-flow** (Σ sells
            − Σ buys), not realized PnL. Unknown values fall back to `adjusted`.
      responses:
        '200':
          description: Highlights
          content:
            application/json:
              schema:
                type: object
                properties:
                  wallet:
                    type: string
                  pnl_mode:
                    type: string
                  biggest_winner:
                    $ref: '#/components/schemas/PnlHighlight'
                  biggest_loser:
                    $ref: '#/components/schemas/PnlHighlight'
                  fastest_flip:
                    oneOf:
                      - type: object
                        properties:
                          mint:
                            type: string
                          seconds:
                            type: integer
                          tags:
                            type: array
                            items:
                              type: string
                      - type: 'null'
                    description: Sentinel 0 excluded.
                  longest_hold:
                    oneOf:
                      - type: object
                        properties:
                          mint:
                            type: string
                          seconds:
                            type: integer
                          tags:
                            type: array
                            items:
                              type: string
                      - type: 'null'
                  most_traded:
                    oneOf:
                      - type: object
                        properties:
                          mint:
                            type: string
                          trade_count:
                            type: integer
                          tags:
                            type: array
                            items:
                              type: string
                      - type: 'null'
                  biggest_single_buy:
                    oneOf:
                      - type: object
                        properties:
                          mint:
                            type: string
                          sol:
                            type: number
                      - type: 'null'
                  biggest_single_sell:
                    oneOf:
                      - type: object
                        properties:
                          mint:
                            type: string
                          sol:
                            type: number
                      - type: 'null'
                  position_count:
                    type: integer
        '400':
          description: Invalid parameter or malformed body
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
components:
  schemas:
    PnlHighlight:
      type:
        - object
        - 'null'
      description: A standout position. `null` when no qualifying row matched.
      properties:
        mint:
          type: string
        realized_sol:
          type: number
        tags:
          type: array
          items:
            type: string
    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.

````