TiviMate Xtream Codes Setup: How to Add IPTV via Xtream API

By David Chen · July 6, 2026 · 5 min read

Quick Answer

TiviMate Xtream Codes Setup: Complete Guide Setting up TiviMate with Xtream Codes is the fastest and most reliable way to connect your IPTV subscription. Xtream Codes API automatically organizes channels, loads the EPG, and syncs playlist updates without manual URL management. This guide covers how to add Xtream Codes in TiviMate, how it compares to […]

In This Guide6 sections
  1. 1What Is Xtream Codes?
  2. 2Xtream Codes vs M3U: Key Differences
  3. 3How to Add Xtream Codes in TiviMate
  4. 4Fix: Xtream Codes Not Working in TiviMate
  5. 5How to Convert M3U to Xtream Codes
  6. 6TiviMate Xtream Codes FAQ

TiviMate Xtream Codes Setup: Complete Guide

Setting up TiviMate with Xtream Codes is the fastest and most reliable way to connect your IPTV subscription. Xtream Codes API automatically organizes channels, loads the EPG, and syncs playlist updates without manual URL management. This guide covers how to add Xtream Codes in TiviMate, how it compares to M3U, and how to fix common connection errors.

TiviMate Quick-Reference FrameworkThe “4S” Setup Model
1SourceGet an IPTV subscription with M3U URL or Xtream Codes from a provider.
2SetupInstall TiviMate on Firestick, Android TV, or your preferred device.
3SyncConfigure EPG data, set time zone, and refresh the program guide.
4StreamCustomize channels, set favorites, and start watching live TV.

What Is Xtream Codes?

Xtream Codes is an API standard used by IPTV providers to manage subscriber accounts. Instead of a static M3U file URL, Xtream Codes gives you three credentials: a server URL, username, and password. TiviMate communicates directly with the provider backend to load live channels, VOD movies, series, and EPG data in one step.

Most IPTV providers support Xtream Codes but many only advertise M3U URLs. Always ask your provider for Xtream Codes credentials — the setup is simpler, faster, and delivers a better viewing experience.

Xtream Codes vs M3U: Key Differences

How to Add Xtream Codes in TiviMate

Step 1: Get Your Xtream Codes Credentials

Contact your IPTV provider and request your Xtream Codes login details. You need three things:

Step 2: Open TiviMate and Add Playlist

Open TiviMate on your Firestick, Android TV, or Google TV device. On the welcome screen or navigate to Settings > Playlists and tap Add Playlist. You will see three options: M3U Playlist, Xtream Codes, and Stalker Portal. Select Xtream Codes.

Step 3: Enter Your Credentials

Fill in the three fields exactly as provided by your provider:

A single typo in any field will cause the connection to fail. Use your phone remote app (TiviMate Companion App or Android TV Remote) to copy-paste long credentials instead of typing them manually.

Step 4: Process the Playlist

Tap Next. TiviMate contacts your provider server and downloads the complete channel list, VOD catalog, and EPG data. This process takes 10-45 seconds depending on the number of channels in your subscription. Once complete, name your playlist something recognizable and tap Done.

Step 5: Verify Your Setup

After adding the playlist, browse the channel list to confirm channels load. Check the EPG to see program guide data. If the EPG is blank, go to Settings > EPG > Update EPG Now. With Xtream Codes the EPG should populate automatically within a few minutes.

Fix: Xtream Codes Not Working in TiviMate

Invalid Credentials Error

The most common Xtream Codes issue is a typo in your credentials. Re-enter your server URL, username, and password carefully. Remember that usernames and passwords are case-sensitive. Remove any extra spaces before or after the text. If you copied the credentials from an email, check for hidden spaces.

Server URL Format Wrong

Your server URL must include the protocol (http:// or https://) and the correct port number. A valid URL looks like http://yourprovider.com:8080. If your provider gave you a URL without a port, contact them for the correct port. Common IPTV ports include 8080, 25461, and 8880.

Subscription Expired or Suspended

An expired or suspended subscription will fail to connect via Xtream Codes. Log into your provider portal or contact support to verify your account is active and has not exceeded the simultaneous connection limit.

VPN Blocking Connection

Some IPTV providers block VPN connections. If you use a VPN service, disable it temporarily and try the Xtream Codes setup again. If the connection works without the VPN, your provider may have a VPN policy. Switch to a different VPN server or contact your provider for guidance.

Device Network Issues

Unplug your Firestick or Android TV device for 30 seconds, plug it back in, and retry. This clears cached network settings. Also check that your device has a stable internet connection by testing other apps like YouTube.

How to Convert M3U to Xtream Codes

If your provider only gives an M3U URL, you can often extract Xtream Codes credentials from it. An M3U URL typically looks like:

http://provider.com:8080/get.php?username=USER&password=PASS&type=m3u_plus

Extract the three parts:

Enter these into TiviMate as Xtream Codes login. This technique works with most providers using standard Xtream Codes panels. Not all providers support this conversion, but it is worth trying.

TiviMate Xtream Codes FAQ

Xtream Codes is an API login method. Instead of a playlist file, you enter server address, username, and password. TiviMate connects directly to the provider backend for faster loading and automatic EPG.

Most professional providers support Xtream Codes. If yours only offers M3U, ask them directly. Many support both but only advertise M3U.

Check for typos, case sensitivity, and extra spaces in the server URL, username, or password. Also confirm your subscription is active.

Yes, but your provider limits simultaneous connections (usually 1-3 devices per subscription). Error 458 means you exceeded the limit.

Yes, extract the server URL, username, and password from your M3U URL. The format is typically http://server:port/get.php?username=X&password=Y.

Sources & References

David Chen

Written by

David Chen

IPTV and streaming technology writer. Covering Android TV, Firestick, and cord-cutting since 2020.

f Facebook | All Guides

Frequently Asked Questions

TiviMate is a premium IPTV player for Android TV and Fire TV devices with an intuitive interface, EPG support, and advanced playback features.

TiviMate offers a free trial with limited features. The Premium version unlocks recordings, multiple playlists, and advanced EPG.

You can install TiviMate from the Google Play Store on Android TV devices or sideload the APK on Fire TV and Amazon Fire TV devices.