wss://ws.predict.fun/ws over TLS (port 443). Connections are served only on the /ws path. A request to any other path, or a non-Upgrade request, is rejected before the connection opens.x-api-key: <key> request header (preferred).?apiKey=<key> alternatively use a query parameter.401.predictWalletEvents) are user-scoped and additionally require a valid wallet JWT in the topic string.401 for an invalid key, 503 when the service is temporarily unavailable). Errors that occur after the connection is open are delivered as JSON response messages (see Response Format).