Skip to content
XCodes IPTV
IPTV Basics & Technology

What Is Xtream Codes? The Xtream Codes API Login Explained

Xtream Codes explained: where the name comes from, how the Xtream Codes API login (server, username, password) works, and which player apps support it.

By XCodes IPTV 4K Editorial TeamUpdated 4 min read

Xtream Codes is the name of an IPTV login format: a server URL, username and password that a player app uses to fetch live channels, films, series and the TV guide from an IPTV server. The name comes from the Xtream Codes server panel software, which was shut down in 2019 after action by Italian authorities. The login method it popularised, usually called the Xtream Codes API, is still supported by other server systems and by most IPTV player apps. That's why apps still offer a "Login with Xtream Codes" option.

People also search for "xstream codes", "xtreme codes" and "XCodes". They all refer to the same login format.

What an Xtream Codes login looks like

You receive three details from your IPTV service (example values only):

Server URL:  http://example-server.com:8080
Username:    jsmith2847
Password:    Kq7xP2mz
  • Server URL: the protocol (http:// or https://), the address, and usually a port such as :8080.
  • Username and password: case-sensitive, unique to your account.

Some apps label the server field "DNS", "host" or "portal URL". It's the same thing. Our XCodes IPTV login guide explains each field and the common typing mistakes.

How the Xtream Codes API works

Instead of downloading one big list, the app asks the server structured questions over HTTP, commonly through an endpoint named player_api.php, and gets back organised answers:

The app asks forWhat it gets
Account infoStatus, expiry date, maximum connections
Live categories and channelsChannel groups, names, logos, stream IDs
Film (VOD) categories and titlesPosters, descriptions, ratings
Series, seasons and episodesStructured series information
TV guide (EPG)Programme data for each channel

This is why Xtream Codes logins feel tidier than a plain playlist: films and series get their own menus, the guide usually loads automatically, and your expiry date appears in the app. For where this fits among other technologies, see IPTV technology explained.

Xtream Codes vs M3U

Xtream CodesM3U playlist
What you enterServer URL, username, passwordOne URL or file
Films and seriesSeparate menus with postersOften one long list
TV guideUsually automaticOften needs a separate EPG link
Account expiry shownUsuallyNo
Works in VLCNoYes

An M3U link from an Xtream Codes server usually contains the same three details, for example http://server:port/get.php?username=…&password=…&type=m3u_plus. That means you can often read your Xtream login from your M3U link. Full comparison in M3U vs Xtream Codes; see also what an M3U playlist is.

Which apps support Xtream Codes logins?

Most popular IPTV players do, including:

VLC doesn't; it needs an M3U link. Compare apps in our IPTV players guide.

The login format is just a technology for delivering playlists. It's neutral, like a file format. What matters legally is whether the service using it is licensed to distribute its content. Some services built on Xtream-style servers are licensed; many sold online are not. See is IPTV legal? and how to choose an IPTV service.

Common Xtream Codes errors

MessageUsual cause
Invalid username or passwordTypo, wrong case, extra space
Can't connect to serverMissing port or wrong http/https
Account expiredPlan ended
Max connections reachedAnother device is already playing

See IPTV error codes explained and IPTV login failed.

Frequently asked questions

Does Xtream Codes still exist?

The original company's panel software was shut down in 2019. The Xtream Codes API login format lives on in other server software and in player apps.

What is an Xtream Codes app?

Usually it means any IPTV player that offers an Xtream Codes login option, such as TiviMate or IPTV Smarters Pro. There isn't one official "Xtream Codes" app.

Is Xtream Codes the same as XCodes?

Yes. "XCodes" is a common shorthand for Xtream Codes. See XCodes IPTV explained.

Is Xtream Codes better than M3U?

For most viewers, yes: it organises films and series and usually loads the guide automatically. M3U is better for simple players like VLC.

Conclusion

Xtream Codes is a login format, not a service: three details that let a player app fetch your channels, films, series and guide in an organised way. Choose it over M3U when your app supports it, keep your login private, and pair it with a service that's licensed in your country.

Need a hand with setup?

Tell us your device and app — we'll walk you through it.