Xtream Codes IPTV – How to Stream IPTV using Xtream Codes API

Xtream Codes IPTV
Xtream Codes IPTV

When it comes to streaming movies, TV shows, series, and live TV, IPTVs are the simple, easier, and fastest way of accessing content anytime and anywhere around the world. There are multiple streaming services available on the internet like Netflix, Disney+, Prime Video, HBO Max, etc. But these services are costly and include less content compared to IPTV services. In order to simplify the process, IPTV offers all of it under a single subscription and single login. The cost of IPTV services is extremely low compared to the streaming services discussed above. Generally, there are two types of login available in IPTV: Xtream Codes API and M3U URL. You can either use the M3U URL or Xtream Codes API to stream the content of your IPTV provider. In this article, we’ve included a complete guide on Xtream Codes API.

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 provides M3U URL and only a server/port URL, you can still extract the Xtream Codes API’s username and password. Xtream Codes is supported on popular IPTV player apps such as IPTV Smarters, GSE Smart IPTV, 247 IPTV player, and more.

How to Extract Xtream Codes API from M3U URL

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

[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 to Stream IPTV on Smartphone

One of the most popular IPTV applications that support Xtream Codes API is GSE Smart IPTV. Follow the below steps to set up Xtream Codes on GSE Smart IPTV.

[1] Install GSE Smart IPTV on your Android or iOS device.

[2] Tap on the hamburger icon at the top left corner.

[3] Choose Xtream Codes API from the menu.

Tap  Xtream Codes API

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

Click Add

[5] 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

[6] Click on Add and tap on the created profile.

Xtream Codes IPTV

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

How to 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 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 downloaded and installed, get back to the home screen.

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

Click Settings

[6] Go to My Fire TV >> Developer Options >> Install Unknown Apps >> Enable Downloader.

[7] Now, launch Downloader and enter the apk link of 247 IPTV Player.

Enter the apk link of 247 IPTV player

[8] Click on Go to download the file.

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

[10] 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

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

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

How to Add Xtream Codes API to Stream IPTV on PC (Windows and Mac)

By using the VLC Media Player app, you can stream IPTV videos on Windows or Mac PC. Before moving into the steps, make sure to get the Xtream Codes API from your desired IPTV provider.

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

[2] Launch the VLC Media Player app and click the Media tap displayed at the top.

[3] From the list of options, choose the Open Network Stream option. You can also 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.

How to Add and Stream IPTV on Smart TV using Xtream Codes API

Follow the below steps to install IPTV Smarters on Smart TV and watch IPTV content by adding Xtream Codes API to the IPTV Smarters app.

[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 it 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

With this, you came to know, how to use and extract Xtream Codes API from the M3U playlist. There are several other application that allows you to stream IPTV using Xtream Codes API. Some of them are SOPlayer, XC IPTV, and Perfect Player. It is highly recommended to use a VPN while streaming IPTV content. Nowadays, most IPTV services are illegal and stream copyrighted content without the knowledge of the original creator. So, use a standard VPN service to protect yourself from legal issues.