> ## Documentation Index
> Fetch the complete documentation index at: https://docs.solanatracker.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Whale trades

> Cumulative high-volume spot trade rooms. A trade is published to every room whose tier it meets. Example: a $12,000 trade is sent to `transaction:whale:1000`, `:2500`, `:5000`, and `:10000`. Volumes below $1,000 are excluded.



## AsyncAPI

````yaml datastream/whale-kol.json whaleTrades
id: whaleTrades
title: Whale trades
description: >-
  Cumulative high-volume spot trade rooms. A trade is published to every room
  whose tier it meets. Example: a $12,000 trade is sent to
  `transaction:whale:1000`, `:2500`, `:5000`, and `:10000`. Volumes below $1,000
  are excluded.
servers:
  - id: production
    protocol: wss
    host: datastream.solanatracker.io
    bindings: []
    variables:
      - id: apiKey
        description: >-
          API key for authentication. Include your Datastream key in the
          connection URL: wss://datastream.solanatracker.io/{DATASTREAM_KEY}
        defaultValue: YOUR_DATASTREAM_KEY
        allowedValues: []
        examples: []
address: /
parameters:
  - id: volume
    jsonSchema:
      type: string
      description: USD volume threshold for cumulative whale and KOL volume rooms
      enum:
        - '1000'
        - '2500'
        - '5000'
        - '10000'
      examples:
        - '1000'
        - '10000'
    description: USD volume threshold for cumulative whale and KOL volume rooms
    type: string
    required: true
    deprecated: false
bindings: []
operations:
  - &ref_3
    id: joinWhaleTrades
    title: Join whale trades
    description: Join a cumulative whale trade room
    type: receive
    messages:
      - &ref_5
        id: join
        contentType: application/json
        payload:
          - name: Join room
            type: object
            properties:
              - name: type
                type: string
                enumValues:
                  - join
                  - leave
                required: true
              - name: room
                type: string
                description: >-
                  Room name such as `transaction:whale:1000`, `transaction:kol`,
                  or `transaction:kol:1000`
                examples: &ref_0
                  - transaction:whale:1000
                  - transaction:kol
                  - transaction:kol:1000
                required: true
        headers: []
        jsonPayloadSchema: &ref_1
          type: object
          required:
            - type
            - room
          additionalProperties: false
          properties:
            type:
              type: string
              enum:
                - join
                - leave
              x-parser-schema-id: <anonymous-schema-2>
            room:
              type: string
              description: >-
                Room name such as `transaction:whale:1000`, `transaction:kol`,
                or `transaction:kol:1000`
              examples: *ref_0
              x-parser-schema-id: <anonymous-schema-3>
          x-parser-schema-id: joinLeave
        title: Join room
        example: |-
          {
            "type": "join",
            "room": "transaction:whale:1000"
          }
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: join
    bindings: []
    extensions: &ref_2
      - id: x-parser-unique-object-id
        value: whaleTrades
  - &ref_4
    id: leaveWhaleTrades
    title: Leave whale trades
    description: Leave a cumulative whale trade room
    type: receive
    messages:
      - &ref_6
        id: leave
        contentType: application/json
        payload:
          - name: Leave room
            type: object
            properties:
              - name: type
                type: string
                enumValues:
                  - join
                  - leave
                required: true
              - name: room
                type: string
                description: >-
                  Room name such as `transaction:whale:1000`, `transaction:kol`,
                  or `transaction:kol:1000`
                examples: *ref_0
                required: true
        headers: []
        jsonPayloadSchema: *ref_1
        title: Leave room
        example: |-
          {
            "type": "<string>",
            "room": "<string>"
          }
        bindings: []
        extensions:
          - id: x-parser-unique-object-id
            value: leave
    bindings: []
    extensions: *ref_2
sendOperations:
  - *ref_3
  - *ref_4
receiveOperations: []
sendMessages:
  - *ref_5
  - *ref_6
receiveMessages: []
extensions:
  - id: x-parser-unique-object-id
    value: whaleTrades
securitySchemes:
  - id: apiKeyAuth
    name: apiKey
    type: httpApiKey
    description: >-
      API key for authentication. Include your Datastream key in the connection
      URL: wss://datastream.solanatracker.io/{DATASTREAM_KEY}
    in: header
    extensions: []

````