Quick answer: Xtream Codes (also called the Xtream Codes API or Xtream login) is a way of logging into an IPTV service. Instead of loading one big playlist file, you enter three things in your player app: a server URL (with the port), a username and a password. The app then asks the server for live channels, movies, series and the TV guide.
What is Xtream Codes?
The name comes from panel software that many IPTV providers used to manage accounts and deliver streams. The original Xtream Codes company stopped operating in 2019, but its API format became a standard, and many compatible panels still copy it. That is why IPTV apps still list "Xtream Codes API" as a login option.
It is only a login and delivery method. It does not decide what content you can watch. That depends on your provider and on whether it has the rights to its content. See is IPTV legal.
The three details you need
| Detail | What it looks like |
|---|---|
| Server URL | An address such as http://example.com:8080, including the port if there is one |
| Username | The account name from your provider |
| Password | The account password. It is usually case-sensitive |
Your provider normally sends these by email or shows them in your account page. The server URL in the example is made up. Always use the exact address you were given.
How Xtream Codes works
- You enter the server URL, username and password in your player
- The app sends them to the server to check your account
- The server returns your categories, channels, movies and series
- The app loads each category when you open it
- If your provider supplies a guide, the app also fetches the TV guide (EPG)
Because the app loads content by category, large libraries usually open faster than a huge M3U file.
Xtream Codes vs M3U
| Xtream Codes | M3U | |
|---|---|---|
| What you enter | URL, username, password | One link or file |
| Loading | By category, on demand | Whole list at once |
| TV guide | Usually included | Separate XMLTV link |
| Editing the list | No | Yes |
| App support | Apps with Xtream login | Very wide |
For the full comparison, read IPTV M3U vs Xtream Codes and what is an M3U playlist.
Apps that support Xtream Codes
- IPTV Smarters Pro: see our IPTV Smarters Pro guide
- TiviMate: see the TiviMate setup guide
- Other players: see the best IPTV player apps
Players such as VLC use M3U links rather than the Xtream login.
How to add Xtream Codes in a player
- Open the app and choose Login with Xtream Codes API (the label may differ slightly)
- Enter any name for the profile
- Enter the username and password
- Enter the server URL exactly as given, with
http://orhttps://and the port - Confirm and wait for the content to load
Common Xtream Codes problems
- Invalid login or authentication failed: re-copy the details. A space, a missing port or a capital letter is the usual cause
- Blank list: check that the subscription is active and not expired
- Server unreachable: check your internet, then ask your provider whether the server address has changed
- Max connections reached: another device is streaming. See how many IPTV connections you need
- No TV guide: see IPTV EPG and XMLTV explained
- Buffering: follow our IPTV buffering guide
Keep your Xtream login safe
- Do not post the details in public groups, screenshots or chats
- Use a different password from your other accounts
- If you think the details leaked, ask your provider to reset them
Frequently asked questions
What does Xtream Codes mean?
It is the name of a login and delivery format for IPTV. You enter a server URL, username and password and the app loads your content from the server.
Is Xtream Codes the same as M3U?
No. Both give you access to the same account, but Xtream Codes loads by category and M3U loads a playlist file.
Is Xtream Codes legal?
It is only a protocol, so it is not illegal in itself. What matters is whether the service has rights to the content it provides.
Can I use Xtream Codes on a Firestick?
Yes, in apps that support it, such as IPTV Smarters Pro or TiviMate. See how to set up IPTV on a Firestick.
Why is my Xtream login not working?
Check the URL, port, username and password character by character, and make sure your subscription has not expired.
Next steps
Add your details to a player and test one channel. If you still need a provider, compare the available subscription plans and ask support which login types are included.