guides · · Updated July 3, 2026

How to Use Xtream Codes API to Set Up IPTV

Step-by-step Xtream Codes API login setup. Server URL, username, password explained. Which apps support Xtream Codes: TiviMate, IPTV Smarters, IBO Player, and more.

Xtream Codes is the most widely used IPTV login system, and for good reason. It is more capable than a simple M3U URL, supports on-demand content natively, and gives providers more control over security and stream delivery. This guide walks through setting it up in the major IPTV apps.

What you get from your IPTV provider

When you subscribe to IPTVBROS, your welcome email includes three pieces of information:

  1. Server URL — the address of the IPTV server (example format: http://server.iptvbros.com:8080)
  2. Username — your unique account identifier
  3. Password — your account password

These three items are everything you need to log into any Xtream Codes-compatible app. Keep them somewhere safe — you will need them each time you set up a new device.

Setting up Xtream Codes in TiviMate

TiviMate is the best IPTV app for Fire TV and Android TV. Here is the Xtream Codes setup:

  1. Open TiviMate → tap Add Playlist
  2. Select Xtream Codes
  3. Enter your Server URL — paste it exactly as provided, including the port number (e.g., :8080)
  4. Enter your Username
  5. Enter your Password
  6. Tap Next
  7. TiviMate connects to the server and loads your channel list

On the following screen, TiviMate asks whether to load VOD (movies) and series. Enable these if you want access to the on-demand content library. Loading full VOD content takes a few minutes on first setup.

TiviMate will also offer to use the server’s built-in EPG — enable this option. It means your programme guide loads automatically without a separate EPG URL.

Setting up Xtream Codes in IPTV Smarters Pro

IPTV Smarters is available on iOS, Android, Android TV, and some smart TV platforms:

  1. Open IPTV Smarters → tap Add User
  2. Select Login with Xtream Code
  3. Enter a Name for this account (e.g., “IPTVBROS”)
  4. Enter the Username, Password, and URL from your welcome email
  5. Tap Add User

Smarters loads your Live TV, Movies, and Series sections — all populated from the server automatically. The interface organizes content into three tabs: Live TV, Movies (VOD), and Series.

Setting up Xtream Codes in IBO Player

IBO Player is popular on Fire TV and Android TV boxes:

  1. Open IBO Player → go to AccountsAdd Account
  2. Select Xtream Codes
  3. Enter your URL, Username, and Password
  4. Save the account

IBO Player loads your live channels and VOD content from the server. It has a clean interface that some users prefer over TiviMate’s more complex layout.

Setting up in other apps (OTT Navigator, GSE Smart IPTV, Perfect Player)

Most modern IPTV apps follow the same three-field pattern:

  • Look for Add Account, Add Playlist, or Add Provider
  • Select Xtream Codes, Xtream API, or API Login
  • Enter URL, Username, Password

If an app does not have an explicit Xtream Codes option, use the M3U URL option instead. You can generate an M3U URL from your Xtream Codes credentials using this format:

http://YOUR-SERVER:PORT/get.php?username=YOUR-USERNAME&password=YOUR-PASSWORD&type=m3u_plus

Replace the placeholders with your actual credentials.

Xtream Codes features beyond live TV

One of the main advantages of Xtream Codes over a plain M3U URL is access to additional content:

Video on Demand (VOD): A library of movies that you can browse and watch anytime, not tied to a live schedule.

Series: TV series organized by show and season, similar to a streaming service’s series library.

Catch-up TV: Some providers offer catch-up — the ability to watch programmes that aired in the past 7 days. This is only available through Xtream Codes, not M3U.

These features depend on your provider including them. IPTVBROS includes 148,000+ VOD titles and series content accessible via Xtream Codes login.

Troubleshooting Xtream Codes login failures

“Invalid credentials” error: Copy-paste your credentials directly from the welcome email rather than typing them manually — even a single character difference causes login failure. Check for spaces at the start or end of each field.

“Server not reachable” or connection timeout: Verify the server URL is correct, including the port number. Try the URL in a web browser — if it shows an IPTV portal page, the server is up and the issue is in the app.

Login works but channel list is empty: This is rare. Try refreshing the playlist or logging out and back in. If it persists, contact support — the account may not have been fully activated yet.

Too many connections error: You have reached your plan’s simultaneous connection limit. Stop playback on another device first, or upgrade your plan.

See also: M3U Playlist Guide · Setup Guides · Free Trial

See also: Best IPTV Service · Free Trial · Pricing

Frequently Asked Questions

What is Xtream Codes?

Xtream Codes is an IPTV server management system and API. When you log into an IPTV app using Xtream Codes, you enter a server URL, username, and password. The server authenticates you and delivers your channel list, live TV streams, and on-demand content dynamically.

Where do I find my Xtream Codes credentials?

Your IPTV provider sends your Xtream Codes credentials in the welcome email when you subscribe. They consist of three pieces of information: the server URL (e.g., http://server.provider.com:8080), a username, and a password.

Which apps support Xtream Codes login?

The most popular apps that support Xtream Codes: TiviMate (Android/Fire TV), IPTV Smarters Pro (iOS, Android, Smart TV), IBO Player (Android, Fire TV), OTT Navigator (Android), and Tivimate companion apps. Most modern IPTV apps support Xtream Codes alongside M3U.

Related Articles

Ready to Start Watching?

Try IPTVBROS free for 24 hours. No commitment, cancel anytime.

No credit card required · Cancel anytime

Browse Plans WhatsApp