wss://nex-ws.preprod.defi.euw2.polymarket.sh.
Public clients behind the same NAT share its per-IP allowance.
Market Feed
Send this after connecting. ReplaceOUTCOME_ID with the identifier from your
sandbox market.
User Feed
Send your sandbox trading credentials after connecting. Replace the credential values below; Gamma credentials do not authenticate this feed.markets with condition IDs to filter activity by market. See the
User Channel reference.
Heartbeats and Reconnects
Send the textPING every 10 seconds; expect PONG. Idle connections close, so
send activity at least once a minute.
After disconnecting, reconnect with backoff and resubscribe. Rebuild your book
from the new snapshot and reconcile account activity with authenticated reads.