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.
“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
| Field | Example | Role |
|---|---|---|
| Server URL | http://example-server.com:8080 | Address of your provider’s platform |
| Username | Martin2026 | Identifies your subscription |
| Password | a7Kp93xQ | Secures 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://orhttps://. 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
| Input | Result |
|---|---|
http://example-server.com:8080 | Correct |
example-server.com:8080 | Often rejected: protocol missing |
http://example-server.com | Fails 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
| Message | Likely cause | What to do |
|---|---|---|
| Invalid username or password / Authentication failed | Typo, capital letter, extra space | Re-type slowly, without copy-paste |
| Account expired | Subscription has ended | Check the end date, renew |
| Server not found / Unable to connect | URL mistyped, port forgotten | Review the protocol, domain and port |
| Login spins forever | Network blocked, DNS or VPN | Test on another network (4G hotspot) |
| Max connections reached | Account already in use on another screen | Close 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
| App | Login menu | Our guide |
|---|---|---|
| XCIPTV | Xtream Codes API | XCIPTV activation |
| Smarters Player Lite | Login with Xtream Codes API | Smarters Player Lite on TV |
| TiviMate | Add playlist > Xtream Codes | TiviMate on Firestick and Android |
| IPTVX | Add source > Xtream Codes | IPTVX on iPhone, iPad and Mac |
| GSE Smart IPTV | Xtream Codes API | GSE 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.