
WebSockets, WebRTC, and instant messaging for any application
Build chat applications, video calls, live collaboration, and real-time dashboards. Persistent connections, presence tracking, and message history out of the box.
Everything you need for real-time communication, from simple messaging to complex video conferencing.
Persistent bidirectional connections with automatic reconnection, heartbeat, and connection state management.
Organize communication with public, private, and presence channels. Control access with fine-grained permissions.
Know who is online with real-time presence updates. Track custom states like typing, away, or busy.
Peer-to-peer video, audio, and screen sharing. We handle signaling, TURN servers, and ICE negotiation.
Persist and retrieve past messages with pagination. Configure retention periods and search through history.
Send messages to thousands of subscribers instantly. Target specific channels or broadcast to all users.
Connect, subscribe, and send messages with just a few lines of code. No server configuration or WebSocket expertise required.
import { BlocksClient } from '@23blocks/sdk';
// Connect to real-time
const client = new BlocksClient({
appId: 'your-app-id',
apiKey: 'your-api-key'
});
// Initialize real-time connection
const realtime = await client.realtime.connect();
// Subscribe to a channel
realtime.subscribe('chat:room-1', (message) => {
console.log('New message:', message);
});
// Track presence
realtime.presence('chat:room-1')
.onJoin((user) => console.log('Joined:', user))
.onLeave((user) => console.log('Left:', user));
// Send a message
realtime.send('chat:room-1', {
text: 'Hello, everyone!',
user_id: 'user_123'
});From simple chat to complex video conferencing, Real Time Block powers all your communication needs.
Build feature-rich chat with typing indicators, read receipts, reactions, and thread replies.
Enable multiplayer editing with live cursors, shared state, and conflict resolution.
Add video calls with screen sharing, recording, and virtual backgrounds.
Built for scale, security, and reliability from day one.
Automatic reconnection with exponential backoff and offline message queueing.
Optional E2EE for sensitive communications with key management.
Low-latency connections from edge servers around the world.
Monitor connections, messages, and performance in real-time.
Use with your favorite frameworks and platforms
Start with our generous free tier. No credit card required.
Get product updates, engineering posts, and new block announcements delivered to your inbox.