Select The EU Region for EU Data Residency
In this guide, we’ll show you how to configure your code to utilise the EU endpoint when interacting directly with the API, as well as across our SDKs.
The EU endpoint is only available for Async STT. Streaming STT and LeMUR are not currently supported.
Get Started
Before we begin, make sure you have an AssemblyAI account and an API key. You can sign up for a free account and get your API key from your dashboard.
Python (Requests)
The only difference here is adding the eu.
subdomain to the base URL. Everything else in your request code stays the same:
Python SDK
To set the EU endpoint as the base URL when using the Python SDK, add the following line of code before setting the Transcriber
object:
Javascript (Axios)
Similar to the requests library for Python, the only difference here is adding the eu.
subdomain to the base URL as follows:
Javascript SDK
To set the EU endpoint as the base URL when using the Javascript SDK, set the baseUrl
parameter in your AssemblyAI client as follows:
Java SDK
To set the EU endpoint as the base URL when using the Java SDK, use the custom
method from the Environment
class in your builder pattern as follows:
C# SDK
To set the EU endpoint as the base URL when using the C# SDK, set the BaseUrl
parameter in the ClientOptions
object before initializing the client as follows:
Go SDK
To set the EU endpoint as the base URL when using the Go SDK, specifically use the constructor NewClientWithOptions
and use the WithBaseURL
function to set the base URL as follows:
If you encounter any issues or have any questions, reach out to our Support team.