PieSocket · Realtime
Realtime made easy as pie.
Managed WebSocket channels for chat, live dashboards, notifications and multiplayer. SDKs for every platform, a publish API and webhooks.
- 99.999% uptime
- 7 regions
- Free plan to start

Trusted by teams at
Capabilities
What you can build
Anything that needs to update the moment something happens.
Live chat and messaging
Chat rooms, direct messages and support widgets.
Multiplayer and collaboration
Presence, cursor sync and shared state.
Live dashboards
Stream metrics and events without polling.
In-app notifications
Push alerts to connected clients the moment an event fires.
IoT and devices
Keep devices connected over a persistent WebSocket.
Activity feeds
Show who's online and what is happening across your app.
Security
Secure by default
Encrypted connections, and channels only the clients you allow can join.
TLS on every connection
Clients connect over wss://.
JWT channel auth
Require a signed token before a client can subscribe.
Key and secret for publishing
Server-side publishing needs your API secret, never shipped to clients.
Origin whitelisting
Only accept connections from the domains you list, on paid plans.
Subscribe
Subscribe on the client
Join a channel from the browser, a mobile app or any WebSocket client, and receive messages the moment they are published.
var pieSocket = new PieSocket({
clusterId: "demo",
apiKey: "VCXCEuvhGcBDP7XhiJJUDvR1e1D3eiVjgZ9VRiaV",
notifySelf: true
});
pieSocket.subscribe("chat-room").then((channel)=>{
console.log("Channel is ready")
})Publish
Publish from anywhere
Send a message to a channel with one POST request from your server, a script or a cron job. Clients can also publish to each other directly.
# Replace Cluster ID, API key and secret
curl --location --request POST 'https://CLUSTER_ID.piesocket.com/api/publish' --header 'Content-Type: application/json' --data-raw '{
"key": "YOUR_API_KEY",
"secret": "YOUR_API_SECRET",
"roomId": "room_1",
"message": "Hello world!"
}'Features
Everything you need from a realtime service
Simple pricing, a clear dashboard, a REST API and SDKs for every platform.
Auto-scaling
Go beyond the limits of your cluster plan on traffic spikes, billed per use.
Server-to-client messaging
Send notifications, events and messages to clients from your server.
Client-to-client messaging
Publish directly from one client to another and build serverless apps.
Webhooks
Run server-side code on message events with a POST from PieSocket to your server.
Authentication
Lock channels down with JWT authentication tokens.
Custom domain
Serve the realtime API on your own domain, such as wss://realtime.yourdomain.com.
Analytics
Daily connections, messages and usage on your cluster dashboard.
Logs
Download CSV logs of the messages through your cluster.
Webhooks and logs
React to every message on your server
PieSocket sends a POST to your webhook URL each time a message arrives on a channel, using the PieSocket or Pusher payload format.
- A POST for every message event
- PieSocket and Pusher webhook formats
- CSV message logs from the dashboard

Performance
Performance at any scale
PieSocket absorbs bursts of connections without slowing down, and the dashboard shows you live connections, messages and where your users connect from.
Under 5 ms to deliver
Messages are distributed in under 5 milliseconds, plus your network latency.
Auto-scaling
Turn it on and traffic beyond your plan is accepted and billed per use.
99.999% uptime
99.9% still allows over 8 hours of downtime a year, 99.999% allows about 5 minutes.
7 regions
New York, Singapore, Frankfurt, Banglore, Toronto, London, Amsterdam.

Documentation
Docs and tools
FAQ




