Deepgram REST API
AI-powered speech recognition and voice synthesis API
Deepgram provides cutting-edge speech-to-text and text-to-speech APIs powered by deep learning models. Developers use Deepgram for real-time transcription, audio intelligence, voice synthesis, and conversational AI applications with superior accuracy and low latency. The API supports multiple languages, custom vocabulary, diarization, and advanced audio analysis features.
https://api.deepgram.com/v1
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /listen | Transcribe pre-recorded audio files with advanced speech recognition |
| POST | /listen/streaming | Establish WebSocket connection for real-time audio transcription |
| POST | /speak | Generate natural-sounding speech from text using text-to-speech synthesis |
| GET | /projects/{projectId}/keys | List all API keys for a specific project |
| POST | /projects/{projectId}/keys | Create a new API key with specific scopes and permissions |
| DELETE | /projects/{projectId}/keys/{keyId} | Delete an existing API key from a project |
| GET | /projects/{projectId}/requests/{requestId} | Retrieve details and results of a specific transcription request |
| GET | /projects/{projectId}/usage | Get usage statistics and billing information for a project |
| GET | /projects/{projectId}/balances | Check remaining balance and credit information |
| POST | /projects/{projectId}/onprem/distribution/credentials | Generate credentials for on-premise deployments |
| GET | /models | List available speech recognition and synthesis models |
| POST | /analyze | Analyze audio for sentiment, topics, and other intelligence features |
| GET | /projects | List all projects associated with the authenticated account |
| POST | /projects/{projectId}/invitations | Invite team members to collaborate on a project |
| GET | /projects/{projectId}/members | List all members with access to a specific project |
Sponsor this page
AvailableReach developers actively building with Deepgram. See live pageview data and self-serve checkout — your slot goes live in minutes.
View inventory & pricing →Code Examples
curl -X POST 'https://api.deepgram.com/v1/listen' \
-H 'Authorization: Token YOUR_DEEPGRAM_API_KEY' \
-H 'Content-Type: application/json' \
-d '{
"url": "https://example.com/audio.mp3",
"model": "nova-2",
"smart_format": true,
"diarize": true,
"punctuate": true,
"language": "en-US"
}'
Use Deepgram from Claude / Cursor / ChatGPT
Get a hosted MCP endpoint for Deepgram. Paste your Deepgram API key, copy back one URL, drop it into Claude Desktop, Cursor, or any AI client that supports remote MCP. Your AI calls Deepgram directly with your credentials — no local install, works on mobile.
transcribe_audio
Transcribe audio files or URLs to text with speaker diarization and smart formatting
generate_speech
Convert text to natural-sounding speech with customizable voice parameters
analyze_conversation
Extract sentiment, topics, and key insights from audio conversations
stream_transcription
Enable real-time audio transcription for live conversations or streaming media
manage_usage_stats
Retrieve usage metrics, billing information, and API consumption data
Connect in 60 seconds
Paste your Deepgram key → get an MCP URL → paste into Claude/Cursor. Hosted by IOX, encrypted at rest.
Connect Deepgram to your AI →