Back to blog
Guide·9 min read·

Xtream Codes Login Explained: Server URL, Username and Password

Xtream Codes login explained: what goes in the server URL, username and password fields, the http and port details that trip people up, and MAG boxes.

An Xtream Codes login is the set of three details an IPTV player app needs to connect to your subscription: a server URL (often with a port number), a username and a password. Type all three exactly as your provider sent them and the app loads your channels, TV guide and on-demand library.

That sounds simple, and it usually is. When it fails, the cause is almost always one character: an s added to http, a missing port, a capital letter the keyboard slipped in, or a space that came along with a copy and paste. This guide goes through each field, shows where the three most common player apps ask for it, and covers the one device that logs in differently.

What an Xtream Codes login means today

The name started out as the name of server software. Today it simply describes a login format that most IPTV player apps recognise, labelled "Xtream Codes", "Xtream Codes API" or just "Xtream" depending on the app. Whatever the label, the app wants the same three things.

With IPTVin, your Xtream Codes login arrives by email as soon as your payment is confirmed, and it is also on the subscription page of your account. That page has a block called Xtream Codes Login, marked as recommended, with three fields: URL / Host / Server, Username and Password. Each one has a Copy button. Further down you will find the M3U file URL and the EPG URL, which some apps ask for instead.

The subscription page in the customer account: the Xtream Codes login sits at the top, with the M3U and EPG links below it.

Xtream login vs an M3U playlist link

Both give the app the same channels. An M3U playlist is one long web address that points to a text file listing every channel, which the app downloads in one go. An Xtream login lets the app ask the server for what it needs, piece by piece: channel groups, the guide, films and series. That is why most player apps load faster and more completely with the Xtream login, and why it is far easier to type with a TV remote. Use the M3U link only when an app does not offer an Xtream option.

The three login fields, one by one

Server URL: http vs https, port and trailing slash

The server URL tells the app which server to talk to. It has up to three parts, and each one matters:

  • The protocol, http:// or https://. They are not interchangeable. A server set up for one will not answer the other on the same port, so use exactly what your email shows.
  • The host, the address itself, like example.com in the samples below.
  • The port, the number after the colon, like :8080. It tells the app which entry point on the server to use. If your details include a port, it must be there. If they do not, do not add one: apps then use the standard port (80 for http, 443 for https).

Here is how small differences play out. The samples use the placeholder example.com, not a real server.

What is in the server fieldLikely resultWhy
http://example.com:8080Works, if this is what your email showsProtocol, host and port all match
example.com:8080Depends on the appSome apps add http:// for you, others refuse the address
https://example.com:8080Fails when your email says httpWrong protocol for that port
http://example.comFails when your email has a portThe app knocks on port 80 instead of 8080
http://example.com:8080/Fails in some appsSome apps add their own path after the address, and the extra slash breaks it
The full M3U linkFailsThe server field wants the address only, not a playlist link with your details inside it

The safest habit: copy the server URL from your email or account, paste it, and look at both ends of the field before you press anything.

Username

The username is case sensitive, so User123 and user123 are two different accounts as far as the server is concerned. Usernames are often a mix of letters and numbers, which makes look-alike characters a trap: a lowercase l and the number 1, or a capital O and a zero, can be hard to tell apart on a TV screen. Copying beats retyping whenever you can.

Password

Same rules as the username: case sensitive, no spaces at either end. Many apps hide the password as you type it, so a wrong character goes unnoticed. If an app has a small eye icon next to the field, use it to check what you entered before you sign in.

Where TiviMate, Smarters and HotPlayer ask for it

Each app puts the login in a slightly different place. The steps below match the official setup guides on this site.

TiviMate

Open TiviMate and choose Add playlist on the opening screen. Set the playlist type to Xtream Codes rather than M3U, then fill in the server URL, username and password. TiviMate then loads the channel list, films and series.

TiviMate asks for the three details on one screen once you pick the Xtream Codes type.

IPTV Smarters Pro and Smarters Player Lite

The welcome screen offers two methods. Choose Login with Xtream Codes API and ignore the M3U one. Smarters also asks for a name: that is only a label for your own reference, so anything works there. On Apple devices the app is called Smarters Player Lite, and if your version opens straight onto a playlist screen, choose the M3U URL option and paste the M3U link from the same email instead.

HotPlayer

HotPlayer works the other way around. On first launch it shows a device ID and the address hotplayer.app/upload. Leave that screen open, go to that page on a phone, tablet or computer, set the source to Xtream Codes, enter the server URL, username and password, and save. Back on the TV, choose Refresh. The upside is that you paste the details on a real keyboard instead of typing them with a remote.

Why the app says your details are wrong

Messages like "invalid username or password" or "authorization failed" look alarming, but most have a small cause.

Typos and auto-capitalisation on TV keyboards

Typing a long password with a TV remote invites mistakes. Phone keyboards add another one: some capitalise the first letter automatically, so user123 becomes User123. If you are on a Fire TV device, the Amazon Fire TV app on your phone includes a keyboard, which is much quicker than the on-screen one.

Hidden spaces from copy and paste

Copying from an email often grabs a space before or after the text. You cannot see it, but the server can. Paste into the field, move the cursor to the very end and the very start, and delete anything that is not part of the login.

Expired subscription

When a subscription ends, many apps show the same "invalid" error as a typo would, or a short "expired" message. IPTVin plans do not renew automatically, and reminder emails go out before the end date, so check your inbox and the status shown in your account before you reinstall anything. If none of this fixes it, our guide to login error fixes goes through the rarer causes app by app.

MAG boxes: portal URL and MAC address instead

MAG boxes do not use a username and password at all. The subscription is tied to the box's MAC address, the hardware ID printed on the label at the back. You send that MAC address during checkout, and you receive a portal URL by email in return.

On the box, go to Settings, then System settings, Servers and Portals. Give Portal 1 any name you like, paste the portal URL into Portal 1 URL, save, then restart the portal from Settings, System, Reboot Portal. Channels load when it restarts.

If the portal refuses to connect, the MAC address on file is the first thing to check: one wrong character and the server will not recognise the box. The MAG portal setup guide has the full steps.

Keep your login private

Why sharing a login causes disconnections

An IPTV subscription works like a key to one screen. With IPTVin, one subscription plays on one screen at a time. You can install the app on as many devices as you like, but if two of them play at once, one stream gets cut off. A friend or relative using your login is the most common reason for streams that stop for no obvious reason. If your household needs several screens at the same time, ask support about the multi-screen discount instead.

Only enter your login in trusted apps

Your login is a payment you made, sitting in three text fields. Enter it only in player apps installed from your device's official store or from the app maker's own site, and on HotPlayer's own upload page. Be wary of websites that offer to "test" or "check" a login for you, and of anyone in a group chat who asks for it to help you troubleshoot. If you think your details have ended up with someone else, contact support through live chat.

Open the setup guides

Step-by-step instructions for every device and player app

Open the setup guides

Frequently asked questions

What is an Xtream Codes login?

It is a login format used by most IPTV player apps, made of three details: a server URL, a username and a password. The app uses them to fetch your channels, the TV guide and the on-demand library directly from the provider's server.

What goes in the server URL field?

Only the server address your provider gave you, starting with http:// or https:// and ending with the port number if there is one, for example http://example.com:8080. Do not paste the full M3U link in this field.

Do I need http:// and a port number in the server URL?

Use exactly what your email shows. If it includes http:// and a port, both must be there, and https will not work in place of http. If no port is listed, do not invent one.

Is an Xtream Codes login the same as an M3U playlist?

They give you the same channels, but they work differently. An M3U playlist is one long link to a file that lists every channel, while an Xtream login lets the app request groups, guide data and on-demand content separately, which is usually faster and more reliable.

Why does my app say invalid username or password?

The usual causes are a typo, an automatic capital letter, or a hidden space copied with the text. If the details are definitely correct, check that your subscription is still active, since many apps show the same error when it has ended.

How does a MAG box log in without a username?

A MAG box is identified by its MAC address, which you send during checkout. You then enter the portal URL from your email under Settings, System settings, Servers, Portals, and the server recognises the box by its MAC.

Published

#xtream codes login#iptv login#server url iptv#xtream codes api#iptv username and password

Related reads