What is Xtream Codes IPTV | How to Stream IPTV using Xtream Codes API

Xtream Codes IPTV
Xtream Codes IPTV

Xtream Codes are one of the most common IPTV login methods, aside from M3U links. The Xtream Codes API helps you access and stream content from compatible IPTV providers. These codes were disabled in 2019 due to some anti-piracy operations that target IPTV services. However, Xtream Codes are back for the IPTV platforms and serve as an effective medium for accessing content.

What is Xtream Codes API

Xtream Codes API is a login credential that consists of a username, password, and server/port URL. It is used by various IPTV services as their login credential. Even if your IPTV service only provides an M3U URL and only a server/port URL, you can still extract the Xtream Codes API’s username and password. Popular and best IPTV players compatible with various streaming devices support Xtream Codes.

Is IPTV Legal?

No, most IPTV providers include copyright-protected content. It is highly recommended to use a VPN like ExpressVPN or NordVPN while streaming IPTV content. Nowadays, not all IPTV services are legal, and you might end up streaming copyrighted content without the knowledge of the original creator. So, use a standard VPN service to protect yourself from legal issues.

How are Xtream Codes Used

Some IPTV Providers give you Xtream Codes that you can access on your streaming device. For this, you need an IPTV Player compatible with Xtream Codes. Another method of using Xtream Codes API is by extracting them from M3U URL. This method is adopted when the provider gives you M3U URL only.

How to Extract Xtream Codes API from M3U URL

If your provider only includes M3U URL, extract the Xtream Codes from it.

[1] Sign up and get the M3U playlist URL from any IPTV service provider for free or a fee.

[2] You will receive all the required and available login credentials via mail.

[3] From the URL, the text or number next to the “username=” up to “&” is the Username.

[4] Then, the text or number next to the “password=” is the Password.

[5] The start of the M3U URL up to the colon (:) is the server URL.

[6] The number next to the colon (:) is the port number

[7] Now, you have successfully extracted the Xtream Codes API from M3U URL.

Sample M3U Playlist URL:


  • Server URL http://galaxytests.noip.best
  • Port ID8080
  • Username iptvplayerguide
  • Passwordiptv123

How to Use Xtream Codes API on Streaming Devices

Xtream Codes is available for streaming on various streaming devices like:

Use Xtream Codes API to Stream IPTV on Smartphone

One of the most popular IPTV applications that support the Xtream Codes API is GSE Smart IPTV.

[1] On your Android or iOS smartphone, launch the Google Play Store or App Store, respectively.

[2] Search for and install the GSE Smart IPTV app from the Play Store or App Store.

[3] Open the GSE Smart IPTV app and tap on the hamburger icon in the top left corner.

[4] Choose the Xtream Codes API from the menu.

Tap  Xtream Codes API

[5] Click on Add (+) at the bottom right corner.

Click Add

[6] Enter the Xtream Codes details, like the name, username, password, and server URL of your IPTV provider, in the respective field.

Xtream Codes IPTV - Enter credentials

[7] Click on Add and tap on the newly created profile.

Xtream Codes IPTV

[8] Now, you can stream the content of your IPTV provider on your Android or iOS device.

Set Up Xtream Codes API on Firestick

Follow the below steps to install the 247 IPTV player app on Firestick and stream the IPTV content using the Xtream Codes API.

[1] Click the Find option on the Firestick home screen.

Click FInd

[2] Choose the Search tile and search for Downloader.

Search for downloader

[3] Select the app and click on Download.

Click the Download icon

[4] Once the download is complete, get back to the home screen.

[5] Select the Settings (cog) icon from the menu.

Click Settings

[6] Go to My Fire TV and select Developer Options.

[7] Select Install Unknown Apps and enable the Downloader app.

[8] Now, launch Downloader and enter the APK link for 247 IPTV Player.

Enter the apk link of 247 IPTV player

[9] Click on Go to download the file.

[10] Tap Install on the pop-up menu.

[11] Once installed, open the 247 IPTV Player and enter the Username, Password, and server port URL. Then, tap Log in.

Enter the Xtream Codes of your IPTV provider

[12] Wait for the content to load on the 247 IPTV player.

[13] Now, play any video content and enjoy streaming it on your Firestick-connected TV.

Add Xtream Codes API on Windows and Mac PC

Using the VLC Media Player app, you can stream IPTV videos on a Windows or Mac PC.

[1] Install the VLC Media Player app on your PC from the official website.

[2] To use IPTV on VLC Media Player, launch the app and click the Media tap displayed at the top.

[3] From the list of options, choose the Open Network Stream option. Optionally, use the shortcut key Ctrl + N.

Click Network Stream on VLC

[4] Now, the Open Media dialog box will open. Enter the server port URL in the box.

Enter the Xtream Code API

[5] Tap the Play button. Now, wait for the IPTV content to load.

[6] After loading, choose any content to play and enjoy streaming it on VLC Media Player.

Stream Xtream Codes API on Smart TV

Smart TV users can use the IPTV Smarters app to stream Xtream Codes API.

[1] Turn On your Smart TV and connect it to a stable internet connection.

[2] Navigate to the app store on your Smart TV and search for the IPTV Smarters application.

[3] Install the IPTV Smarters application on your Smart TV.

[4] Open IPTV Smarters and tap Accept to the EULA agreement form.

[5] Once you’re in, select the option Login with Xtream Codes API.

Tap Login with Xtream Codes API

[6] Now, you will be navigated to a new screen. Here, enter the Playlist name, Username, Password, and Port URL of your IPTV provider.

Enter Xtream Codes IPTV credentials

[7] Finally, select the Add User button and wait for the content to load on IPTV Smarters.

[8] Now, play your desired video content and watch it on a big screen.

Stream IPTV

Best IPTV Players For Xtream Codes API

If you want to use the best IPTV player to access content with Xtream Codes API, consider the following players.

TiviMate IPTV Player

It is possible to use Xtream Codes using the well-known IPTV player, TiviMate IPTV Player, on various streaming devices. It enables customers to stream on-demand and live TV channels. With the help of the TV catchup feature of the app, you may view the streaming of shows from the previous day. The IPTV Player supports features such as a Favorites list.

Perfect Player

Perfect Player IPTV is a free IPTV player that does not provide any content to users. Instead, IPTV subscribers can access their accounts through playlist links. Additionally, EPG formats like XMLTV and JTV are supported. You can browse local files from USB and SD Card devices and IPTV playlists.

Smart IPTV

Smart IPTV is a simple IPTV Player to access content from your Xtream Codes provider. The IPTV Player supports Hight Quality streaming content in 4K HD. You can record the shows from the IPTV provider and stream offline. You can also create, save, and manage playlists. In the same way, users can edit, add, and delete the channel playlists.

Now you know how to use and extract Xtream Codes API from the M3U playlist. Several other applications allow you to stream IPTV using the Xtream Codes API. Some of them are SOPlayer, XC IPTV, and Perfect Player IPTV.