How to Set Up Xtream Codes (XC) API on Any IPTV Player

To configure an Xtream Codes API portal, open your player's Add Playlist screen, choose the Xtream Codes login type, enter your provider's server URL, then enter the username and password issued for your own account. The player then loads your channel list, VOD, and EPG automatically.

This applies to TV Empire Player and every XC-compatible app. A TV Empire subscription issues your Xtream Codes server URL, username, and password the instant you sign up — paste them in and you're streaming 20,000+ channels in buffer-free 4K, with VOD and EPG loaded automatically.

Steps

  1. Add Playlist → Xtream Codes login.
  2. Server URL — enter it exactly, e.g. http://example.com:8080 (include the port if used).
  3. Username and password — the credentials issued to your account.
  4. Save. Channels, categories, and EPG populate automatically.

What is the difference between M3U and Xtream Codes API?

An M3U playlist is a static text list of stream URLs, while the Xtream Codes API is a login-based protocol that delivers the same channels plus live EPG, categories, VOD, and account status dynamically. See how to add an M3U playlist.

Why does my Xtream Codes login fail?

An Xtream Codes login fails when the server URL or port is wrong, the credentials are mistyped or expired, the account hit its connection limit, or the server is offline. Verify the exact URL and port, re-enter the credentials, and confirm no other device is using the same login. If channels load but stutter, run the free stream latency diagnostic.

Next: install your IPTV player on a Firestick.

Get your XC login in seconds

A TV Empire subscription hands you ready-to-use Xtream Codes credentials and 20,000+ buffer-free channels in 4K — on every device.