Skip to content

Exceptional offer: 12-month IPTV subscription + 3 months free!

Get the offer

Xtream Server URL, Username and Password: The Guide

Understand the 3 Xtream Codes login fields, extract your credentials from an M3U link and fix the most common error messages.

5 min read
Xtream Codes login screen with server URL and credentials

“Login with Xtream Codes API”: this button appears in almost every IPTV app, from XCIPTV to TiviMate and IPTV Smarters. It asks for three pieces of information, the server URL, the username and the password, and a single mistake is enough for the login to fail with an often unclear message.

This guide explains what each field corresponds to, how to read an Xtream server URL correctly, how to recover your credentials from an M3U link and how to interpret the most frequent error messages. To understand how the API itself works technically, also see our article how to use the Xtream Codes API.

The 3 details of an Xtream Codes account

FieldExampleRole
Server URLhttp://example-server.com:8080Address of your provider’s platform
UsernameMartin2026Identifies your subscription
Passworda7Kp93xQSecures your access

These three details are sent to you by your provider when you buy. They are personal: sharing them may get your account blocked if several people use it at the same time.

Understanding the Xtream server URL

A server URL breaks down into three parts:

  • The protocol: http:// or https://. Use exactly the one given by your provider.
  • The domain name (or an IP address): example-server.com.
  • The port, preceded by a colon: :8080, :80, :25461… It is not always present, but if it appears in your message, it is essential.

Right and wrong formats

InputResult
http://example-server.com:8080Correct
example-server.com:8080Often rejected: protocol missing
http://example-server.comFails if port 8080 is required
http://example-server.com:8080/Accepted by some apps, rejected by others
http://example-server.com:8080/get.php?…Incorrect: this is an M3U link, not a server URL

Recovering your credentials from an M3U link

You only received a long M3U link? Good news: it usually contains your three Xtream details. An M3U link often looks like this:

http://example-server.com:8080/get.php?username=Martin2026&password=a7Kp93xQ&type=m3u_plus

  • Server URL: everything before /get.php, i.e. http://example-server.com:8080;
  • Username: the value after username=, i.e. Martin2026;
  • Password: the value after password=, i.e. a7Kp93xQ.

With these, you can use the Xtream Codes login, which is more complete: movies and series categorised, TV guide loaded automatically.

Common error messages and fixes

MessageLikely causeWhat to do
Invalid username or password / Authentication failedTypo, capital letter, extra spaceRe-type slowly, without copy-paste
Account expiredSubscription has endedCheck the end date, renew
Server not found / Unable to connectURL mistyped, port forgottenReview the protocol, domain and port
Login spins foreverNetwork blocked, DNS or VPNTest on another network (4G hotspot)
Max connections reachedAccount already in use on another screenClose the app on the other device

The hotspot test

If you cannot tell whether the problem comes from your network, turn on your phone’s hotspot and connect the device to it for a few minutes. If the app connects over 4G but not on your home router, the block comes from your home network (router filtering, DNS, the operator’s parental controls). Restart the router, and check that the operator’s parental control is not active on that device.

Where to enter these details in each app

AppLogin menuOur guide
XCIPTVXtream Codes APIXCIPTV activation
Smarters Player LiteLogin with Xtream Codes APISmarters Player Lite on TV
TiviMateAdd playlist > Xtream CodesTiviMate on Firestick and Android
IPTVXAdd source > Xtream CodesIPTVX on iPhone, iPad and Mac
GSE Smart IPTVXtream Codes APIGSE Smart IPTV on PC

Why avoid “free Xtream codes”

Lists of “free Xtream accounts” circulate on forums and in videos. They cause several problems:

  • Instability: these accounts are shared by hundreds of people and cut off after a few hours.
  • Security: the pages that distribute them are often loaded with misleading ads or dubious files.
  • No support: when something breaks, nobody can help you.

To try a service before committing, choose a supervised trial such as our 24-hour IPTV test, with real personal credentials and reachable support.

Good practices for a stable account

  • Keep your credentials in a secure note, not in a shared screenshot.
  • Do not use more simultaneous screens than your subscription allows.
  • If your provider gives you a new server URL, update it on all your devices.
  • Note the subscription expiry date so you can renew in time.

Conclusion

An Xtream Codes login relies on three simple details that are very sensitive to the slightest mistake: the protocol and port in the URL, the capitals in the username, an invisible space in the password. If you only have an M3U link, you can extract these three elements in seconds. And if an error message persists, the table above tells you whether to look at the input, the network or the subscription. Looking for a service with responsive support? Discover our IPTV subscriptions.

Frequently asked questions

Where can I find my Xtream server URL?

In the message sent by your provider after purchase. If you only have an M3U link, the server URL is the part before /get.php.

Should I use http or https?

The one specified by your provider. They are not interchangeable: a server set up for http:// may refuse an https:// connection.

My credentials work in one app but not another, why?

Your credentials are therefore valid. Check the URL format expected by the second app (with or without a trailing “/”, with the port) and type it in manually.

Can I change my Xtream password myself?

Generally not: the provider manages the credentials. Contact them if you think your account has been shared.

Related articles