Skip to content
Sapphire IPTV

Learn · Logins

Xtream Codes vs M3U vs portal: which IPTV login should you use?

IPTV apps connect to a subscription in one of three ways. **Xtream Codes** uses a server address, username and password in separate fields and is the easiest for most apps. An **M3U playlist** is one long web link. A **portal** (used by MAG boxes) links the line to the device’s MAC address. Use whichever your app asks for — Xtream Codes when you have the choice.

Reviewed November 24, 2026 · Learn

Most common
Xtream Codes API
One link
M3U playlist URL
MAG boxes
Portal URL + MAC address
Our tip
Choose Xtream Codes when the app offers it

Xtream Codes API

Despite the name, this is simply a login format: a server address (with port), a username and a password. Apps such as TiviMate, IPTV Smarters Pro, UHF and IPTVX call it *Xtream Codes*, *XC* or *Xtream API*.

  • Movies, series and live TV load into separate, tidy sections.
  • The TV guide usually comes along automatically.
  • Three short fields are easier to type with a remote than one long link.

M3U playlist

An M3U playlist is a single web address that lists every stream. You paste it into the app’s *Add playlist / M3U URL* option. It works in almost every player, including basic ones like VLC, but large playlists load more slowly and the guide (EPG) sometimes needs a separate link.

Portal (MAC address)

MAG set-top boxes and apps that imitate them use a portal URL. Instead of a username and password, the line is linked to the device’s MAC address. See the MAG box guide.

Which one should you use?

Your app or deviceUse
TiviMate, IPTV Smarters Pro, UHF, IPTVXXtream Codes
IBO Player Pro and other web-setup appsXtream (XC) or M3U, added on the developer’s website
VLC and simple playersM3U
MAG boxPortal URL

Keep your login private

Whichever format you use, the details work like a password for your subscription. Don’t share them in public groups or screenshots; anyone using them takes up one of your connections.

Try Sapphire IPTV free for 24 hours

Test the channels, films and app you care about on your own TV for 24 hours before you pay. No card details needed.