What Is Xtream Codes?

Xtream Codes is a middleware-style API login many IPTV providers use. Instead of pasting a long playlist URL, you enter a server address, username, and password. The player then queries endpoints for live channels, VOD, series, and sometimes EPG.

Xtream Codes Connection Format

Server:   http://example.com:8080
Username: your_username
Password: your_password

M3U URL (generated):
http://example.com:8080/get.php?username=X&password=Y&type=m3u_plus&output=ts

How to Use Xtream Codes in Each Player

Smarters: Add User → Xtream Codes API → enter server URL, username, password → login → refresh channels/EPG.

TiviMate: Add playlist → Xtream Codes → enter credentials → set update intervals → add XMLTV if separate.

XCIPTV: Add user → select Xtream → login → confirm categories populate correctly.

Kodi: Many users generate an M3U and XMLTV URL, then configure a PVR client with those endpoints.

OTTPlayer: Some builds use portal workflows; others accept M3U/XMLTV generated from Xtream.

Xtream Codes vs M3U — Comparison

FeatureXtream CodesM3U URL
Connection typeAPI loginDirect URL
Live TV
VOD movies~
Series/Episodes
EPG integrationOften built-inSeparate URL
Multiple streamsProvider-managedNot managed
Player supportWideUniversal
Advertisement

Xtream Codes API Endpoints

EndpointPurpose
/get.phpM3U playlist generation
/player_api.phpJSON API for apps
/xmltv.phpEPG data
/streaming/Stream delivery

Troubleshooting Xtream Codes

  • Wrong server format: include port if provided (e.g. :8080).
  • Trailing slash issues: some servers break auth when you add or remove /.
  • Connection limit reached: providers cap concurrent streams; close other devices.
  • Subscription expired: regenerate credentials or renew on the official panel.
Advertisement

Frequently Asked Questions

Xtream Codes is a structured IPTV login format (server URL + username + password) used by many players to retrieve live channels, VOD and series data from a provider API.

In Smarters, choose Xtream Codes API when adding a user, then enter server URL (including port if required), username and password.

M3U is a playlist URL. Xtream is an API login that can generate playlists and provide structured VOD/series categories. Both are widely supported depending on the player.

Common causes include wrong server format (missing port), trailing slashes, connection limits reached, or expired subscriptions.

Often, yes: providers expose a generated M3U URL using /get.php with your username and password. The exact endpoint depends on the server implementation.

It depends on the provider’s simultaneous connection rules. Some accounts allow 1 stream, others allow multiple.