Configuring Custom Endpoints
This guide provides instructions for configuring your applications to use Deepgram’s dedicated or EU-specific endpoints.
Deepgram Dedicated Endpoints
If you have a Deepgram Dedicated (DGD) endpoint, you’ll receive endpoint details similar to:
Endpoint URL: {SHORT_UID}.{REGION_SUBDOMAIN}.api.deepgram.com
How to Configure
- Replace the base URL: In any SDK or API request, replace
api.deepgram.com
with your dedicated endpoint URL. - Use your existing credentials: You can use your existing API keys and tokens.
Feature Compatibility
All Deepgram API features are available on self-hosted deployments. See our API Documentation for more information.
EU Endpoints
For customers requiring data processing within the European Union, Deepgram provides EU-specific endpoints.
Endpoint URL: api.eu.deepgram.com
How to Configure
- Replace the base URL: In any SDK or API request, replace
api.deepgram.com
withapi.eu.deepgram.com
- Use your existing credentials: You can use your existing API keys and tokens.
Feature Compatibility
All Deepgram API features are available on EU-specific endpoints. See our API Documentation for more information.
Self-Hosted Endpoints
For self-hosted Deepgram deployments, you’ll use your own custom domain and infrastructure.
Common Endpoint Patterns:
- HTTPS:
https://your-deepgram-instance.com
- HTTP with alternate port 8080:
http://your-deepgram-instance.com:8080
- Internal network:
http://10.0.1.100:8080
How to configure
For more information about self-hosted deployments, see our Self-Hosted Documentation.
- Replace the base URL: In any SDK or API request, replace
api.deepgram.com
with your self-hosted endpoint - Use your distribution credentials: Self-hosted deployments require specific credentials provided during setup.
- Configure protocol and port: Specify HTTP/HTTPS and custom ports as needed for your deployment.
Feature Compatibility
All Deepgram API features are available on self-hosted deployments. See our API Documentation for more information.
WebSocket Connections
For streaming features, update WebSocket connection URLs accordingly:
- Standard:
wss://api.deepgram.com/v1/listen
- Dedicated:
wss://{YOUR_DEDICATED_ENDPOINT}/v1/listen
- EU:
wss://api.eu.deepgram.com/v1/listen
- Self-hosted (HTTPS):
wss://your-deepgram-instance.com/v1/listen
- Self-hosted (HTTP with custom port):
ws://your-deepgram-instance.com:8080/v1/listen
SDK Configuration Examples
Python SDK
JavaScript SDK
.NET SDK
Go SDK
Direct API Calls
cURL Examples
Standard endpoint:
Dedicated endpoint:
EU endpoint:
Self-hosted endpoint (HTTPS):
Self-hosted endpoint (HTTP with custom port):