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.
Streaming is now available in EU-West via streaming.eu.assemblyai.com
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:
Streaming Speech-to-Text
For streaming transcription, use the EU streaming endpoint streaming.eu.assemblyai.com.
Python SDK (Streaming)
To use the EU streaming endpoint with the Python SDK:
JavaScript SDK (Streaming)
To use the EU streaming endpoint with the JavaScript SDK:
WebSocket (Direct)
When connecting directly via WebSocket, use the EU streaming base URL:
If you encounter any issues or have any questions, reach out to our Support team.