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.
 Sign up and get the M3U playlist URL from any IPTV service provider for free or a fee.
 You will receive all the required and available login credentials via mail.
 From the URL, the text or number next to the “username=” up to “&” is the Username.
 Then, the text or number next to the “password=” is the Password.
 The start of the M3U URL up to the colon (:) is the server URL.
 The number next to the colon (:) is the port number
 Now, you have successfully extracted the Xtream Codes API from M3U URL.
Sample M3U Playlist URL:
- Server URL – http://galaxytests.noip.best
- Port ID – 8080
- Username – iptvplayerguide
- Password – iptv123
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.
 On your Android or iOS smartphone, launch the Google Play Store or App Store, respectively.
 Search for and install the GSE Smart IPTV app from the Play Store or App Store.
 Open the GSE Smart IPTV app and tap on the hamburger icon in the top left corner.
 Choose the Xtream Codes API from the menu.
 Click on Add (+) at the bottom right corner.
 Enter the Xtream Codes details, like the name, username, password, and server URL of your IPTV provider, in the respective field.
 Click on Add and tap on the newly created profile.
 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.
 Click the Find option on the Firestick home screen.
 Choose the Search tile and search for Downloader.
 Select the app and click on Download.
 Once the download is complete, get back to the home screen.
 Select the Settings (cog) icon from the menu.
 Go to My Fire TV and select Developer Options.
 Select Install Unknown Apps and enable the Downloader app.
 Now, launch Downloader and enter the APK link for 247 IPTV Player.
 Click on Go to download the file.
 Tap Install on the pop-up menu.
 Once installed, open the 247 IPTV Player and enter the Username, Password, and server port URL. Then, tap Log in.
 Wait for the content to load on the 247 IPTV player.
 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.
 Install the VLC Media Player app on your PC from the official website.
 To use IPTV on VLC Media Player, launch the app and click the Media tap displayed at the top.
 From the list of options, choose the Open Network Stream option. Optionally, use the shortcut key Ctrl + N.
 Now, the Open Media dialog box will open. Enter the server port URL in the box.
 Tap the Play button. Now, wait for the IPTV content to load.
 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.
 Turn On your Smart TV and connect it to a stable internet connection.
 Navigate to the app store on your Smart TV and search for the IPTV Smarters application.
 Install the IPTV Smarters application on your Smart TV.
 Open IPTV Smarters and tap Accept to the EULA agreement form.
 Once you’re in, select the option Login with Xtream Codes API.
 Now, you will be navigated to a new screen. Here, enter the Playlist name, Username, Password, and Port URL of your IPTV provider.
 Finally, select the Add User button and wait for the content to load on IPTV Smarters.
 Now, play your desired video content and watch it on a big screen.
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 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 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.