Twitch Stream Key: Where to Find It and How to Use It

Find your Twitch stream key, understand the RTMP URL format and ingest servers, and apply Twitch's published encoder settings. Sourced from Twitch's own docs.

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

Twitch Broadcasting Guidelines, checked October 5, 2026. See the bitrate recommender for all options.
SettingTwitch's guidance
Rate controlCBR (Twitch suggests all broadcasters use CBR)
Keyframe interval2 seconds
Video bitrate1080p60: 6,000 kbps; 1080p30 and 720p60: 4,500 kbps; 720p30: 3,000 kbps
Video codecH.264 (the guidelines give x264 and NVIDIA NVENC settings)
AudioAAC-LC, stereo or mono; 96 kbps recommended, 160 kbps maximum

Enter it in OBS Studio or another encoder

  1. Copy your stream key from the broadcaster dashboard. Do not show it on screen.
  2. In your encoder's stream settings, choose Twitch if listed (many encoders can connect your account) or a custom service.
  3. Paste the key into the Stream Key field and select an ingest server.
  4. 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

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

Where do I find my Twitch stream key?
Twitch's developer documentation says broadcasters can retrieve it from the broadcaster dashboard on www.twitch.tv or through the Get Stream Key API.
rtmp:///app/, where the ingest server is a Twitch server hostname such as sfo.contribute.live-video.net. Twitch's ingest list also gives rtmps:// templates.
Twitch's ingest list publishes both an rtmp:// and an rtmps:// template for each server. RTMPS encrypts the connection.
From its Broadcasting Guidelines: 6,000 kbps for 1080p60, 4,500 kbps for 1080p30 and 720p60, and 3,000 kbps for 720p30, with CBR and a 2-second keyframe interval.
It is an optional parameter that disables live viewing of the stream and is used to verify bandwidth health on Twitch Inspector.
Twitch allows simulcasting if you follow its Simulcast Guidelines. Check the current text before you start.
Reset it from Twitch and update your streaming software. We do not describe Twitch's reset steps because its Help Center page could not be loaded for this guide.
Have questions that aren't listed here? Talk to the team
Go Live Today

Ready to stream everywhere?

Bring your live, hosted, and pre-recorded streams into one platform.

One platform. Limitless audiences. Stream. Grow. Everywhere.