Twitch Stream Key: Where to Find It and How to Use It
Where the Twitch stream key lives
Twitch's developer documentation says each broadcast uses an RTMP URL with the format rtmp://<ingest-server>/app/<stream-key>[?bandwidthtest=true]. The <stream-key> (also known as the authorization key) uniquely identifies your stream, is assigned by Twitch, and can be retrieved by broadcasters from the broadcaster dashboard on www.twitch.tv or through the Get Stream Key API. Treat it as a password: it authorizes broadcasting to your channel.
Twitch's Help Center page on resetting a stream key could not be loaded by our tools when we prepared this page, so we do not describe the reset steps here. Look for it in your dashboard's stream settings and in Twitch's Help Center.
Choosing an ingest server
The <ingest-server> is a hostname identifying a specific Twitch server that receives your stream; Twitch gives sfo.contribute.live-video.net as an example. Twitch says there are many ingest servers, each in a point of presence (PoP), and publishes a list at ingest.twitch.tv/ingests that includes both rtmp:// and rtmps:// URL templates. At the time of writing, the list begins with a default entry whose template is rtmps://ingest.global-contribute.live-video.net/app/{stream_key}, followed by regional servers. Many encoders can pick a server automatically; otherwise choose one near you.
Twitch also documents an optional ?bandwidthtest=true query-string parameter, which disables live viewing of the stream and is used to verify bandwidth health with Twitch Inspector. Use it for tests rather than a real broadcast.
Encoder settings Twitch publishes
| Setting | Twitch's guidance |
|---|---|
| Rate control | CBR (Twitch suggests all broadcasters use CBR) |
| Keyframe interval | 2 seconds |
| Video bitrate | 1080p60: 6,000 kbps; 1080p30 and 720p60: 4,500 kbps; 720p30: 3,000 kbps |
| Video codec | H.264 (the guidelines give x264 and NVIDIA NVENC settings) |
| Audio | AAC-LC, stereo or mono; 96 kbps recommended, 160 kbps maximum |
Enter it in OBS Studio or another encoder
- Copy your stream key from the broadcaster dashboard. Do not show it on screen.
- In your encoder's stream settings, choose Twitch if listed (many encoders can connect your account) or a custom service.
- Paste the key into the Stream Key field and select an ingest server.
- Apply the settings from the table, then start streaming.
Twitch and multistreaming
Twitch allows simulcasting under its Simulcast Guidelines (Terms of Service, section 11): keep the Twitch experience at least as good as on other platforms, do not direct your community to leave Twitch for your simulcast, and do not use third-party services that combine activity from other platforms on your Twitch stream. Read the details in what is simulcasting. To send one stream to Twitch and other platforms, add Twitch as a destination in a relay: paste the same server and key there instead of in your encoder. See stream to YouTube, Twitch and Facebook at once.
Try it with Multistream Platform. Send one RTMP or SRT stream and relay it to YouTube, Twitch, Facebook, Kick, TikTok and custom endpoints. Start on the free Starter plan (2 channels, 20 streaming hours a month) and see the pricing page for paid plans.
Sources
- Twitch Developers: Video Broadcast (broadcast URLs and stream keys)
- Twitch ingest server list
- Twitch Help: Broadcasting Guidelines
- Twitch Help: Simulcasting Guidelines FAQ
- Twitch Terms of Service, section 11 (Simulcasting)
Platform figures were checked on October 5, 2026. Platforms change their recommendations, so confirm against the current documentation before you go live.
Frequently asked questions
Keep learning
Where each platform keeps its stream key, whether it can be reset or reused, and the protocol it uses.
Read the guideWhat a stream key is, how each platform treats it and how to keep it private.
Read the guideWhere to find each platform's stream key, which settings suit all three and how to manage chat.
Read the guideReady to stream everywhere?
Bring your live, hosted, and pre-recorded streams into one platform.