Skip to main content
Not served by the public endpoint today. A subscribe with this type is answered with {"type":"error","message":"Unsupported subscription: completed_trades"} on wss://api.hypedexer.com/ws (checked 19 September 2026). Use the REST equivalent below, or contact us if you need this stream.
REST equivalent: GET /completed-trades/, with start_time and end_time.

Completed Trades

The completed trades stream uses the multiplex WebSocket endpoint:
All subscriptions go through /ws.
You authenticate using X-API-Key during the WebSocket handshake.

1. Subscription schema

All client messages follow the same structure:

Available filters

For type = "completed_trades" the server currently supports:
  • user (optional, string) → only stream completed trades for this user address
If user is omitted, you receive all completed trades.

2. Subscribe: All completed trades

Client message

Example server event


3. Subscribe: Completed trades for a specific user

Client message


4. Unsubscribe

To stop receiving completed trades on this connection:
Example confirmation:

5. wscat examples

All completed trades

Completed trades for a user