Skip to main content

WebSocket API

Real-time bidirectional streaming API for Speech-to-Text (STT) and Text-to-Speech (TTS) services.
Try it out! Test your WebSocket connection to verify everything works.

Overview

The 60db WebSocket API provides real-time streaming capabilities for:
  • Speech-to-Text (STT): Convert audio to text with 99+ language support
  • Text-to-Speech (TTS): Synthesize natural-sounding speech with multiple voices

Base URLs

Authentication

WebSocket connections require authentication using API key via query parameter:
Getting Your API Key:
  1. Go to app.60db.ai
  2. Navigate to Settings โ†’ Developer โ†’ API Keys
  3. Click Create API Key
  4. Copy and store your API key securely

๐ŸŽค STT WebSocket (Speech-to-Text)

What it does: You send audio โ†’ You get text back Use for: Transcribing speech, voice commands, call center analytics, meeting transcription

Quick Start

How STT Works


๐Ÿ”Š TTS WebSocket (Text-to-Speech)

What it does: You send text โ†’ You get audio back Use for: Voice assistants, audiobooks, accessibility, chatbots

Quick Start

How TTS Works


๐Ÿ“‹ STT vs TTS Comparison


๐Ÿงช Test Your Connection

Go to WebSocket Test Page to test your WebSocket connection in the browser!

๐Ÿ“š Full Documentation


๐Ÿ’ก Key Concepts

STT Messages

TTS Messages


๐Ÿ“Š Pricing


๐Ÿ†˜ Support