How to Find Your X (Twitter) Stream Key and Go Live

X moved stream keys from Media Studio to Live Studio. Where to find your RTMP URL and key, who can use it, and the limits to plan around.

How to Get (X) Twitter Stream Key?
How to Get (X) Twitter Stream Key?

To go live on X from OBS, LiveReacting or any other encoder, you need an RTMP URL and a stream key from X Live Studio, which replaced Media Studio Producer. Open x.com/i/live-studio, create a livestream, select or create a source, and paste the URL and key into your encoder. Start the encoder, click Go Live, then post the livestream on X.

Want to stream a recorded video instead of a camera? Read how to go live on X with a pre-recorded video. This guide is current as of October 27, 2026.

Who Can Go Live on X with a Stream Key?

You need a paid X plan. Live Studio is on every paid X plan and not on a free account. X's launch post for Live Studio says "Premium users can get started today" in Creator Studio.

X now sells Premium benefits as part of The X Subscription. See X's Premium help page for the current plans.

Two more rules from X's help center:

  • Your account must be public. X says "You cannot go live from X if you have protected posts."
  • Going live from the X phone app needs no stream key (see below). X's help page for it does not say whether you need Premium, so we are not sure.

How to Go Live on X with a Stream Key

  1. Open Live Studio at x.com/i/live-studio, or open Creator Studio and pick Live Studio under Tools.
  2. Click New Livestream and enter a title. On a public livestream, X shows this title.
  3. Select a source, or create one: enter a name and pick the region closest to your encoder. You can also create sources under Manage Sources.
  4. Copy the RTMP URL and Stream Key into your encoder. X also offers an RTMPS URL if you want an encrypted connection.
  5. Start your encoder now if you go live now, or a few minutes before the start time if you schedule. Live Studio shows "Waiting for stream" until your video arrives.
  6. Upload a thumbnail (16:9, 1280x720 or 1920x1080) and set the audience: Public or Private, who can chat, and any country limits.
  7. Click Go Live to start now, or Later to schedule the livestream.
  8. Click Post livestream on X, write your post and click Post. Creating a livestream does not post it to your timeline by itself.

Test with a Private livestream first. X shows a Private livestream only inside Live Studio, so nobody else sees your tests.

Treat the stream key like a password. Anyone who has it can send video to your source, and X says "RTMP authentication is not currently supported."

If You Used Media Studio Before

Older guides send you to Media Studio, then Producer, then Sources. X's help page for Media Studio Producer now points to Live Studio. On our account, sources made earlier in Media Studio also show up in Live Studio. For a scheduled livestream, X needs a source created in Live Studio, so create a new one there.

Live Studio Limits to Know

These come from X's Live Studio help page.

LimitWhat X says
Longest livestream24 hours
Livestreams per sourceOne at a time. Use separate sources and encoders for streams that run together.
Sources per account100
How far ahead you can scheduleUp to one year
Scheduled livestream with no video at the start timeIt ends as TIMED OUT and cannot be restarted
Settings you cannot change after the startVisibility, country limits and the source
Source regionCannot be changed. Create a new source instead.
Reusing a stream you send to another platformNot directly. A multistreaming tool must split it.

These are X's numbers for encoders where you set the output yourself, such as OBS. In LiveReacting, the output resolution and frame rate depend on your plan.

SettingRecommendedMaximum
Video codecH.264H.264
Video bitrate12 Mbps40 Mbps
Resolution and frame rate1920x1080 at 60 fps3840x2160 at 60 fps
AudioAAC, 128 kbpsAAC, 128 kbps
Keyframe intervalEvery 3 seconds
Encoder profileMain or High

Go Live from the X App (No Stream Key)

To go live from your phone, you can skip Live Studio (X's instructions):

  1. Tap the camera icon in the post composer.
  2. Tap Live at the bottom.
  3. Add an optional description and location.
  4. Tap Go live.
  5. To end, tap Stop at the top left and confirm.

To play a recorded video, overlays or a playlist, use an encoder and a stream key.

Stream a Pre-recorded Video or Several Platforms at Once

Your encoder does not have to run on your computer. LiveReacting streams from the cloud. You add X as an X (RTMP) destination with the URL and key from Live Studio, upload or import your video, and go live or schedule the start.

The same stream can go to YouTube, Facebook or Twitch at the same time (multistreaming). Every paid plan can stream to an RTMP destination such as X (pricing). The pre-recorded guide linked at the top has the full walkthrough with screenshots.

FAQ

Where do I find my X stream key now?

In X Live Studio. Open x.com/i/live-studio, select or create a source, and X shows the RTMP URL and stream key. Media Studio Producer was the old place.

Do I need X Premium to get a stream key?

You need a paid X plan. Live Studio is on every paid X plan and not on a free account. Protected accounts cannot go live.

Does my X stream key change for every stream?

No. A source keeps its RTMP URL and stream key, and you can reuse it for many livestreams. Each source runs one livestream at a time.

How long can a livestream on X run?

Up to 24 hours. X's help center adds that very long livestreams may load more slowly or have replay issues.

Can an app go live on X for me through an API?

X has a Livestream API, but only apps that X approves after a review can use it. Tools like LiveReacting use your RTMP URL and stream key instead, so you need no API access.

Transform Your Live Streams with LiveReacting

Join 10,000+ streamers who are boosting engagement and viewership by adding pre-recorded videos, games, polls, and countdowns to their streams.

Try LiveReacting for free today and take your streams to the next level!

Create a Free account →