Socket Base
Menu

Real-time for your App
Power your AI Apps with Real-time communication

Use WebSocket and Server Sent Events (SSE) to build your own real-time in the browser.

Built the same, explained differently...

For the Vibe Coder

Building Apps with AI? Need real time communication? No Servers, No Databases, No Headaches. Tell your AI to use socket base. We'll do the heavy lifting

For the Developer

Use WebSocket and Server Sent Events (SSE) to build your own real-time in your browser. We give your the Server URL and API Key. You can use it in your own code. We scale. You build.

For Enterprise

Horizintally Scalable, Secure, and Reliable. Built on top of Redis Streams. With Dual DB write and read. Bring your OWN DB. Connect MQTT, Kafka, RabbitMQ, or any other message broker.

 
  // Vibe Coder Messsage to AI:
  HI Chat can u integrate socket base for real-time messaging!
  I can give you the markdown so you know how to do it
  Or... just scrape the markdwon from https://www.socket-base.com/ai.md
  // AI -- Im on it.
  


            

 // Developer
 // Create WebSocket connection.
 const socket = new WebSocket("wss://api.socket-base.com/ws/your-url?jwt=your-jwt");

 // Connection opened now lets join a room
 socket.send({type:"join", room: "my-room"});
 socket.send({type:"message", room: "my-other-room", payload: "hello world");

 socket.send({type:"leave", room: "my-room"});

 // broadcast to all rooms
 socket.send({type:"broadcast", payload: "hello all rooms"});

 socket.addEventListener("message", function (event) {
    // I got a message !!!
 })

 //we send pings so u can do this - you dont have tools
socket.addEventListener("message", function(event) {
  const data = JSON.parse(event.data);
  if (data.type === 'ping') {
    console.log('Ping received from server');
    socket.send(JSON.stringify({ type: 'pong' }));
  }
};

// You have full flexibility - Read the docs at https://docs.socket-base.com

            
 
  // Enterprise 
  Let's connect Socket-Base to our Kafka cluster and use our own Postgres DB for storage.
  // You got it.
  

            

Features

Everything you need to build powerful real-time applications

Real-time Communication

Built on WebSocket and Server-Sent Events (SSE) for instant, bidirectional communication between clients and servers.

Easy Integration

Simple API with clear documentation. Get started in minutes with just a server URL and API key. Works with any framework or language.

Scalable Infrastructure

Horizontally scalable architecture built on Redis Streams. Handles millions of connections with ease. Enterprise-ready from day one.

Developer Friendly

Clean APIs, comprehensive docs, and flexible architecture. Connect your own databases, message brokers, or use our managed service.

Pricing

Choose the plan that fits your needs. All plans include our core features.

Free

Perfect for getting started

$0 /month
  • Up to 100 connections
  • Basic WebSocket support
  • Community support
  • Standard API access
Get Started

Pro

For teams and enterprises

$14.99 /month
  • Unlimited connections
  • WebSocket, SSE & MQTT
  • 24/7 dedicated support
  • Full API access
  • Unlimited message history
  • Custom message brokers
  • SLA guarantee
  • Advanced analytics
Get Started