Skip to content
Moly IPTV
← Back to the blog

Moly IPTV Xtream Codes: How the Xtream Code Login Works

By Moly IPTV TeamSetup Guides
A hand holding a TV remote on a couch, ready to enter Moly IPTV Xtream Codes login details in an IPTV app

If you've ordered an IPTV subscription recently, you've probably seen the phrase "Xtream Codes". Moly IPTV sends your login details in exactly that format: a username, a password and a portal URL that you enter in an IPTV app. This guide explains what Xtream codes are, what each field does, which apps accept an Xtream code login, and how it differs from the older M3U playlist method, so the setup screen makes sense before you start.

What are Xtream Codes?

Xtream Codes began as software that IPTV providers used to run their services: managing accounts, channel lists, on-demand libraries and TV guides. The original project shut down in 2019, but the way it let apps talk to a server, the Xtream Codes API, stayed in use. Today "Xtream Codes" mostly describes a login type that many IPTV apps support, not one particular product.

When an app asks you to "Login with Xtream Codes API", it means: give me the server address and your account details, and I'll fetch everything else myself. That includes live channels sorted into categories, movies, series and the EPG (TV guide).

The Moly IPTV Xtream code login: three fields

After you order, Moly IPTV emails your login details, usually within 10 to 45 minutes. Check your spam or junk folder if you don't see the message. Your Xtream code login has three parts:

FieldWhat it isTips
UsernameYour account name on the serverCase-sensitive; copy it exactly
PasswordThe password for that accountAlso case-sensitive; watch for spaces
Portal URLThe server address the app connects toOften looks like http://server-address:port; keep the port number

Some apps label the portal URL differently, for example "Server URL", "Host" or "URL". It's the same field. You'll sometimes see this described as the "Xtream format": username, password, host.

The most common setup mistakes are small ones: a missing http://, a dropped port number, an extra space at the end of a pasted password, or a capital letter typed in lowercase. If an app says the login failed, compare each field with your email character by character.

Xtream codes vs. M3U playlist

There are two common ways to load an IPTV service into an app. In general terms:

  • Xtream Codes API login. You enter a username, password and portal URL. The app talks to the server directly, pulls live TV, movies and series into separate sections, and usually loads the TV guide automatically.
  • M3U playlist. You load a single playlist link (or file). An M3U list is basically a long text list of stream addresses with channel names and groups. It's widely supported, including by general media players, but movies and series often appear as one long list, and the TV guide usually needs a separate EPG link.

An M3U link from an Xtream-based service often carries the same username and password inside the address, along the lines of get.php?username=…&password=…. That's why it's worth treating a playlist link as carefully as a password.

For most people on a TV, an Xtream Codes login is the easier option: fewer links to manage, cleaner menus and the TV guide in one go. Moly IPTV login details are provided for the Xtream Codes API.

Xtream codes apps and players by device

Plenty of apps support an Xtream Codes login, and Moly IPTV works with most popular IPTV apps, such as IPTV Smarters and TiviMate. These are the apps named in the Moly IPTV setup guide for each device type:

DeviceApps
Firestick / Android TVIPTV Smarters Pro, TiviMate
iPhone / iPadIPTVX, Smarters Player Lite
PC / MacVLC, MyIPTV Player

These are third-party apps. Their features, prices and menus are set by their developers and can change between versions, so check the app's own store page for current details. Our posts on IPTV on Firestick, IPTV Smarters Pro and TiviMate go into each in more depth.

General media players such as VLC don't have an Xtream Codes login screen; they open playlist links instead. If you'd like to use one, message support on WhatsApp and ask for the right details for that player.

MAG boxes work differently again: they use a portal address set in the box's settings rather than an app login. Moly IPTV supports MAG boxes, and support sends the portal details you need.

How to log in with the Xtream Codes API

The exact wording varies by app and version, but the steps are typically the same:

  1. Install an IPTV app on your device (see the table above).
  2. Open it and choose the option usually called "Login with Xtream Codes API". Some apps call it "Xtream Codes", "Xtream API" or "Add playlist → Xtream".
  3. Give the playlist any name you like, for example "Moly IPTV".
  4. Enter the username, password and portal URL from your email.
  5. Save or tap Add user. The app loads your channels, movies and series; the first load can take a minute.

Once it's done, you'll have access to the full Moly IPTV catalogue: 33,000+ live channels from the US, the UK, Canada, Europe and the Middle East, 500,000+ movies and series updated daily, streams up to 4K and a full EPG. The IPTV setup guide has device-by-device steps if you get stuck.

If the Xtream codes login fails

Most login errors come down to the details, not the service. Work through these checks before anything else:

  • Retype instead of pasting. Pasted text sometimes carries a hidden space or line break.
  • Check the portal URL format. Include http:// at the start and the port number at the end if your email shows one. Don't add extra slashes or paths.
  • Confirm you picked the Xtream option. Entering Xtream details into an M3U field (or the other way round) won't work.
  • Test your connection. Open another app that uses the internet. A connection of 10 Mbps or more is recommended for smooth streaming.
  • Restart the app or device and try once more.

Still no luck? Send Moly IPTV support a WhatsApp message with the app name and the exact error text; the team is available 24/7.

Keep your Xtream code login private

Your Xtream code login works like a key to your account, so treat it like a password:

  • Don't post it in forums, group chats or screenshots.
  • Be wary of "free public Xtream code" lists. Logins shared online are typically other people's accounts or leaked details. They stop working without warning, may be unauthorized, and come with no support.
  • Keep the email. It's the easiest place to find your details if you set up a new device later.

If you think your details have been exposed, contact Moly IPTV support on WhatsApp.

Conclusion: Moly IPTV and Xtream Codes

Xtream codes are simply a login format: a username, a password and a portal URL that let an IPTV app load live TV, movies, series and the TV guide in one step. Compared with an M3U playlist, the Xtream Codes API is usually tidier on a TV, which is why Moly IPTV sends your details that way, by email within 10 to 45 minutes of ordering.

To get your own login, compare the plans on the Moly IPTV subscription page, from $19.99 for one month. Or visit the free trial page and ask whether a free trial is available right now.

FAQ

What is Xtream Codes API?

It's a way for IPTV apps to connect to a provider's server. You enter a username, password and portal URL, and the app downloads the channel list, movies, series and TV guide itself.

How do I get Xtream codes?

Your provider supplies them when you subscribe. With Moly IPTV, the username, password and portal URL arrive by email within 10 to 45 minutes of your order.

How do I use Xtream codes on a Firestick?

Install an IPTV app such as IPTV Smarters Pro or TiviMate, choose "Login with Xtream Codes API", enter your three details and save. The app then loads your content.

What is the best app for Xtream codes?

There's no single best app. On Firestick and Android TV, IPTV Smarters Pro and TiviMate are popular; on iPhone and iPad, IPTVX and Smarters Player Lite are common choices.

Is an Xtream codes login better than an M3U playlist?

On a TV it's usually easier: one login loads live TV, movies, series and the EPG into separate sections. M3U playlists are more universal but often need a separate EPG link.

Are free Xtream codes safe to use?

Free public codes are usually shared or leaked accounts. They tend to stop working without warning, may be unauthorized and come with no support, so a paid account of your own is the safer route.

Ready to try Moly IPTV?

Ask on WhatsApp whether a free trial is available right now, or start with the 1-month plan for $19.99.