Eedesy
Book Demo
HomeProductsContact
Documentation

Speech-to-Text API Documentation

Everything you need to integrate speech recognition. REST API for batch transcription, WebSocket for real-time streaming, and guides for each STT provider.

Quick Start
Get transcribing in 5 minutes
REST API
Batch transcription endpoints
WebSocket Streaming
Real-time transcription
Providers
Compare STT providers
Quick Start

Get Started in 5 Minutes

1
Get Your API Key

Sign up for an account and get your API key from the dashboard.

export EDESY_API_KEY="your_api_key_here"
2
Make Your First Request

Transcribe an audio file with a simple API call:

curl -X POST https://api.edesy.in/v1/speech-to-text \
  -H "Authorization: Bearer $EDESY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "audio_url": "https://example.com/audio.mp3",
    "provider": "deepgram",
    "language": "en"
  }'
3
Get Your Transcription

Response includes the transcribed text and metadata:

{
  "id": "txn_abc123",
  "status": "completed",
  "text": "Hello, this is a sample transcription.",
  "confidence": 0.95,
  "duration_seconds": 5.2,
  "words": [
    { "word": "Hello", "start": 0.0, "end": 0.5, "confidence": 0.98 },
    ...
  ]
}
REST API

Batch Transcription API

Use the REST API for transcribing pre-recorded audio files. Supports URLs or base64-encoded audio.

POST
/v1/speech-to-text

Request Body

{
  "audio_url": "string",        // URL to audio file
  "audio_base64": "string",     // OR base64-encoded audio
  "provider": "deepgram",       // STT provider
  "language": "en",             // Language code
  "options": {
    "punctuate": true,          // Add punctuation
    "diarize": false,           // Speaker diarization
    "timestamps": "word"        // word | sentence | none
  }
}
Real-Time Streaming

WebSocket Streaming API

Use WebSocket for real-time transcription. Ideal for voice assistants, live calls, and interactive applications.

WebSocket Connection
const ws = new WebSocket(
  'wss://api.edesy.in/v1/speech-to-text/stream?provider=deepgram&language=en',
  { headers: { 'Authorization': 'Bearer YOUR_API_KEY' } }
);

ws.onopen = () => {
  console.log('Connected');
  // Start sending audio chunks
};

ws.onmessage = (event) => {
  const result = JSON.parse(event.data);
  console.log('Transcript:', result.text);
  console.log('Is Final:', result.is_final);
};

// Send audio data (16kHz, 16-bit PCM)
ws.send(audioChunk);
Supports interim results for real-time feedback
Provider Comparison

Choose the Right Provider

Compare STT providers based on accuracy, latency, language support, and pricing.

ProviderAccuracyLatencyLanguagesPrice
Deepgram95%<100ms30+$0.0042/min
Google Chirp90%~200ms100+$0.016/min
Azure Speech92%~150ms85+$0.012/min
ElevenLabs Scribe88%~300ms20+$0.0067/min
AssemblyAI91%~200ms15+$0.0075/min
OpenAI Whisper85%~500ms50+$0.006/min

Low Latency

Use Deepgram for voice assistants and real-time applications.

Indian Languages

Use ElevenLabs Scribe or Google Chirp for Hindi, Tamil, etc.

Cost-Effective

Use OpenAI Whisper for high-volume batch transcription.

Ready to Start Transcribing?

Get your API key and start integrating speech-to-text in minutes.

View Pricing

Stay Updated

Get the latest updates on AI voice technology, product releases, and exclusive resources.

Get Started

Try our products for free
AI Voice Agent
Build voice AI for calls
WhatsApp AI Bot
Automate WhatsApp chats
Website Chatbot
AI chat for websites
Edesy CRM
Manage leads & customers
Book a DemoCall UsEmail Us
Eedesy

Your all-in-one platform for digital innovation. We build AI-powered solutions that transform how businesses operate.

[email protected]+91 95475 31359

Products

  • AI Voice Assistant
  • WhatsApp Voice AI
  • WhatsApp Bot Builder
  • AI Website Chatbot
  • AI-SDR
  • Number Masking
  • Shopify Apps
  • View All Products

Solutions

  • For E-commerce
  • For Healthcare
  • For Real Estate
  • For Restaurants
  • For Appointments
  • View All Use Cases

Services

  • AI Chatbot Development
  • Voice AI Development
  • Shopify Development
  • SaaS Development
  • WhatsApp API Integration
  • View All Services

Resources

  • Documentation
  • Voice Agent Docs
  • API Reference
  • Number Masking API Docs
  • Blog
  • Changelog
  • Book a Demo

Company

  • About Us
  • Contact
  • Careers
  • Privacy Policy
  • Terms of Service

Products

  • AI Voice Assistant
  • WhatsApp Voice AI
  • WhatsApp Bot Builder
  • AI Website Chatbot
  • AI-SDR
  • Number Masking
  • Shopify Apps
  • View All Products

Solutions

  • For E-commerce
  • For Healthcare
  • For Real Estate
  • For Restaurants
  • For Appointments
  • View All Use Cases

Services

  • AI Chatbot Development
  • Voice AI Development
  • Shopify Development
  • SaaS Development
  • WhatsApp API Integration
  • View All Services

Resources

  • Documentation
  • Voice Agent Docs
  • API Reference
  • Number Masking API Docs
  • Blog
  • Changelog
  • Book a Demo

Company

  • About Us
  • Contact
  • Careers
  • Privacy Policy
  • Terms of Service
  • AI Voice Assistant
  • WhatsApp Voice AI
  • WhatsApp Bot Builder
  • AI Website Chatbot
  • AI-SDR
  • Number Masking
  • Shopify Apps
  • View All Products
  • For E-commerce
  • For Healthcare
  • For Real Estate
  • For Restaurants
  • For Appointments
  • View All Use Cases
  • AI Chatbot Development
  • Voice AI Development
  • Shopify Development
  • SaaS Development
  • WhatsApp API Integration
  • View All Services
  • Documentation
  • Voice Agent Docs
  • API Reference
  • Number Masking API Docs
  • Blog
  • Changelog
  • Book a Demo
  • About Us
  • Contact
  • Careers
  • Privacy Policy
  • Terms of Service

Popular Free Tools

Compress PDFMerge PDFPDF to WordGST CalculatorEMI CalculatorSIP CalculatorJSON FormatterBase64 EncoderImage CompressorQR Code GeneratorVoice AI ROI CalculatorAmazon FBA CalculatorAI Email WriterVideo to GIFPrivacy Policy GeneratorCRM ROI CalculatorMeeting Cost Calculator
Categories:PDF ToolsDeveloper ToolsFinance CalculatorsImage ToolsVideo ToolsAI Writing ToolsAudio ToolsWhatsApp ToolsDocument GeneratorsVoice AI ToolsE-commerce ToolsView All Tools

© 2026 Edesy Technology Labs Pvt Ltd

SSL Secured
99.9% Uptime