Skip to content
Free tool · Stream key

How to find your X stream key

Where X keeps the stream key and the RTMP server URL, what the key looks like, and the settings X wants from your encoder — so the first stream connects.

Written against X's current dashboard. If a menu has moved, the section names are still the ones to look for.

Runs in your browser — nothing is uploaded

Server URL (RTMP)
rtmps://<region>.pscp.tv:443/x

X issues a different server URL per account or region. The value above is only a typical example — copy the exact URL your X dashboard shows.

What the key looks like

An alphanumeric token shown with your Live Studio source

Things that trip people up on X

  • The URL depends on the region chosen for the source — there is no universal X ingest URL.
  • A source can be reused for later livestreams, but it carries one livestream at a time.
  • If the source stops receiving video, X ends the livestream as timed out. It cannot be restarted — create a new livestream on the same source.
  • Set visibility to Private for a test run: a private livestream stays inside Live Studio and is not shown on X.
  • X has no public live API, so no tool can fetch this key automatically.

Paste it once, stream everywhere

Add X as a destination in StreamRove and the key stays there, encrypted, for every future broadcast — next to YouTube, Twitch, Kick and the rest.

Set up multistreaming

Want to send one encoder feed to several platforms? Create a stream, then connect your channels with their own keys or account connections.

Set up multistreaming

Where to find the X stream key

  1. 01

    Have X Premium

    X offers Live Studio, and with it going live from an encoder, to X Premium and Premium+ subscribers.

  2. 02

    Open Live Studio

    Go to x.com/i/live-studio, or open Creator Studio and choose Live Studio under Tools. It replaced Media Studio Producer in July 2026.

  3. 03

    Create a livestream and a source

    Click New Livestream and enter a title. Pick an existing source or create one: name it and choose the region closest to you.

  4. 04

    Copy the URL and key

    Live Studio shows the source's RTMP URL and Stream Key, with an RTMPS URL for a secure connection. They are region-specific — copy exactly what is shown.

  5. 05

    Send video, then go live

    Start your encoder so the source receives video, then choose Go Live — or Later to schedule the livestream.

X stream key not working?

Copy it again

A trailing space or a key reset since you last copied it are the usual causes of "invalid stream key". Copy straight from the X dashboard into the key field.

Check the URL field

The server URL and the key go in two separate fields. A key pasted after the URL, or a URL from an old tutorial, both fail to connect.

Look for a Go live button

If the encoder says connected but nothing appears on X, the broadcast may be waiting in a preview state for you to publish it from the dashboard.

Reset it if in doubt

If the key was ever visible on screen or shared, reset it on X and update your encoder. Anyone holding the old key could stream as you.

Why paste it into StreamRove instead of straight into OBS

One feed, every platform

OBS sends a separate copy of your stream to each destination. StreamRove receives one copy and forwards it to X and everywhere else — your upload does not grow.

Stored once, encrypted

The key is saved as a destination, encrypted at rest, and reused for every broadcast. No hunting through X's menus before each show.

Something watching

A live 0–100 health score and per-destination diagnostics tell you when X stops receiving — and why — instead of a viewer telling you in chat.

This page is documentation

Your X stream key is never entered on this page. Paste it only into your encoder, or into StreamRove as a destination, where it is stored encrypted.

X plus everywhere else, from one stream

Add X as a destination in StreamRove and put YouTube, Twitch, Kick and the rest next to it. One encoder, one bitrate, every platform live at the same moment.

Good habits with a X stream key

  • Never show your X settings page on stream — the key is usually visible on it.
  • Reset the key on X if you ever share a screenshot of your encoder.
  • Use a private or unlisted test broadcast the first time a new key is used.
  • Keep the encoder's keyframe interval at 2 seconds — it is what X and every other platform expect.

Frequently asked questions

Where is my X stream key?

In X's own dashboard, never in your encoder — follow the steps above to reach it. Copy it from there into OBS, or into StreamRove once.

Is my X stream key secret?

Yes. Anyone with the server URL and the key can broadcast on your X channel. Never show it on stream and reset it if it leaks.

What is the difference between the stream URL and the stream key?

The URL is the X server address that every streamer sends to; the key is the part that says which channel the video belongs to. Encoders ask for them separately.

Can I stream to X and other platforms at the same time?

Yes. Add X as a destination in StreamRove and add the others beside it — one encoder feed, every platform live at once, without multiplying your upload.

More free tools