IPTV codes are the login credentials — Xtream Codes (server URL, username, password) or StbEmu/Stalker portal codes (portal URL + MAC address) — that connect your IPTV player to a streaming server delivering live TV channels, movies, and series. This guide covers how each code type works, where to find working codes updated for 2026, and how to enter them in popular IPTV players like TiviMate, StbEmu, and XCIPTV.
Table of Contents
IPTV codes are the authentication credentials that link your media player to a streaming provider’s server. According to the official Xtream Codes API documentation, there are two primary code formats: Xtream Codes (username/password credentials) and Stalker/StbEmu codes (MAC address + portal URL). Both deliver live TV, VOD movies, and TV series to your device — but they work in fundamentally different ways.
What Are IPTV Codes?
IPTV codes are authentication strings that grant access to an IPTV provider’s content library. Think of them as the username and password for a streaming service — but instead of a web login, they are entered into an IPTV player app. There are two main types:
| Code Type | Format | What It Includes | Best For |
|---|---|---|---|
| Xtream Codes | Server URL + Username + Password | Live TV, VOD, Series, EPG | TiviMate, XCIPTV, IPTV Smarters |
| StbEmu/Stalker Codes | Portal URL + MAC Address | Live TV, VOD, EPG (portal-based) | StbEmu, Ministra, MAG devices |
Both types connect your device to a server that streams thousands of channels. The difference is in the authentication mechanism: Xtream Codes use a REST API with username/password, while Stalker portals use a MAC address to identify your “virtual set-top box.” You can browse IPTV codes on our site for daily-updated examples of both formats.
Xtream Codes Explained
What Is an Xtream Code?
An Xtream Code is a set of three credentials that authenticate your IPTV player against a provider’s server using the Xtream Codes API. The format looks like this:
Server URL: http://example-server.com:8080
Username: yourusername
Password: yourpasswordAccording to the Xtream Codes API v2.9.2 documentation, the player sends HTTP requests to the server with these credentials and receives JSON responses containing live channel streams, VOD movie URLs, series catalogs, and EPG (Electronic Program Guide) data. This makes Xtream Codes ideal for players that display channels in a grid or list format with categories.
How Xtream Codes Work — Step by Step
- Player sends a login request to the server URL with your username and password.
- Server validates credentials and returns a JSON response with available content categories (Live, VOD, Series).
- Player displays the content in organized categories — you browse channels like a TV guide.
- You select a channel — the player requests the stream URL and begins playback.
Xtream Codes are what most modern IPTV players prefer because the API returns structured data (categories, logos, EPG) that makes browsing feel like a premium streaming app. You can find hundreds of Xtream IPTV codes updated daily on our site.
StbEmu & Stalker Portal Codes
What Is a Stalker Portal Code?
A Stalker portal code consists of a portal URL and a MAC address. The portal URL points to the streaming server, while the MAC address (in the format 00:1A:79:XX:XX:XX) identifies your virtual set-top box. The StbEmu app emulates a MAG device on your Android phone, tablet, or TV box, making the server think you are using official hardware.
The Stalker middleware platform (developed by Infomir, the company behind MAG set-top boxes) is the backbone of this system. It uses the MAC address as the primary authentication token — each MAC registered with a portal gets a specific subscription tier and channel package.
StbEmu Code Format
Portal URL: http://portal-name.com/stalker_portal/c/
MAC Address: 00:1A:79:12:34:56Key Characteristics of Stalker Portal Codes
- MAC-based authentication: The server identifies you by your MAC address, not a username/password.
- Portal interface: Content appears in a MAG-style interface with categories like “All Channels,” “Movies,” and “TV Series.”
- VOD and catch-up: Many portals support video-on-demand and time-shifted viewing (catch-up).
- Device-specific: A MAC address can typically only be active on one device at a time.
You can verify whether a Stalker portal and MAC address are working using our free IPTV Stalker Portal Checker tool — it checks MAC status, subscription expiry, and channel count instantly.
How to Enter IPTV Codes in Popular Players
Entering Xtream Codes in TiviMate
- Open TiviMate on your Android device or Firestick.
- Go to Settings → Add Playlist.
- Select Xtream Codes as the playlist type.
- Enter the Server URL, Username, and Password.
- Tap OK — TiviMate connects and loads all channels.
Entering Stalker Portal Codes in StbEmu
- Open StbEmu (also called STBEMU or StbEmu Pro) on your device.
- Go to Settings → Profiles.
- Tap New Profile and name it.
- Enter the Portal URL (the stalker portal address).
- Go to MAC Address settings and enter your MAC.
- Save and return to the main screen — the portal loads channels automatically.
Entering Xtream Codes in IPTV Smarters
- Open IPTV Smarters Pro.
- Select Login with Xtream Codes.
- Enter Server URL, Username, and Password.
- Tap OK to load your playlist.
For more player-specific guides, check our IPTV Players category and our IPTV Tutorial section with step-by-step setup instructions for every major app.
Where to Find Working IPTV Codes
Finding working IPTV codes that stay active is the biggest challenge for cord-cutters. Here are the most reliable sources, ranked by freshness and reliability:
1. Dedicated IPTV Code Sites
Sites like iptv2live.com publish fresh codes daily — both Xtream and StbEmu formats. Our IPTV codes category is updated with new portal URLs and MAC addresses every day, each tested before publishing.
2. Telegram Channels
Telegram has become the primary distribution channel for free IPTV codes. Several channels share daily-updated StbEmu MAC addresses and Xtream logins. However, codes from Telegram tend to expire within hours, so you need to act fast.
3. IPTV M3U Playlists
If you have an M3U playlist, many players can also use M3U links alongside Xtream Codes. Check our comprehensive IPTV M3U playlist guide with 10,000+ links updated daily, or our complete M3U playlist guide for 2026.
| Source | Update Frequency | Code Types | Reliability |
|---|---|---|---|
| iptv2live.com | Daily | Xtream + StbEmu + M3U | ⭐⭐⭐⭐⭐ |
| Telegram channels | Multiple per day | StbEmu + Xtream | ⭐⭐⭐ (fast expiry) |
| GitHub repos | Weekly | M3U mostly | ⭐⭐⭐⭐ |
| Forums/Reddit | Irregular | Mixed | ⭐⭐ (often outdated) |
IPTV Code Troubleshooting
Code Not Loading Channels?
If your IPTV code is not loading channels, check these common issues:
- Expired code: Free codes expire frequently. Check the publication date and find a fresh one from our daily-updated IPTV codes category.
- Wrong portal URL: StbEmu portal URLs must end with
/stalker_portal/c/— missing the trailing slash causes connection failures. - MAC address already in use: If someone else is using the same MAC on another device, the portal may reject your connection. Try a different MAC from the same provider.
- Server offline: IPTV servers go down for maintenance. Use our Stalker Portal Checker to test if the server is responding.
- ISP blocking: Some ISPs block IPTV traffic. Try a VPN or use a different DNS server (1.1.1.1 or 8.8.8.8).
Buffering or Freezing Issues?
- Ensure you have at least 10 Mbps download speed for SD and 25 Mbps for HD/4K streams.
- Switch from Wi-Fi to Ethernet for stable connections on Firestick and Android TV boxes.
- Clear the player app cache and restart your device.
- Try a different server URL from the same provider — some servers have lower load.
FAQ
What Are IPTV Codes?
IPTV codes are authentication credentials that connect your IPTV player to a streaming server. The two main formats are Xtream Codes (server URL + username + password) and StbEmu/Stalker codes (portal URL + MAC address). Both provide access to live TV channels, movies, and series.
Are Free IPTV Codes Safe to Use?
Free IPTV codes are generally safe to enter into player apps, but the streams they unlock may be copyrighted. Always use a VPN when streaming IPTV, and avoid entering codes from unverified sources. Codes from reputable sites like iptv2live.com are tested before publishing.
How Long Do Free IPTV Codes Last?
Free IPTV codes typically last anywhere from a few hours to several days, depending on the provider and server load. Xtream Codes tend to last longer than Stalker portal MAC addresses. That is why we update our IPTV codes section daily — to always have fresh, working codes available.
What Is the Difference Between Xtream Codes and StbEmu Codes?
Xtream Codes use a username/password authentication via a REST API, making them ideal for list-style players like TiviMate and IPTV Smarters. StbEmu codes use a portal URL + MAC address, emulating a MAG set-top box. StbEmu works best with the StbEmu app and provides a TV-guide style interface.
Can I Use IPTV Codes on Firestick?
Yes. Both Xtream Codes and StbEmu codes work on Amazon Firestick and Fire TV. You need to sideload an IPTV player app (TiviMate, StbEmu, IPTV Smarters) using the Downloader app, then enter your code credentials. See our setup tutorials for step-by-step Firestick guides.
Why Does My IPTV Code Say “Portal Not Found”?
“Portal not found” or “STB blocked” errors mean the server rejected your MAC address — usually because the code expired, the MAC is in use elsewhere, or the server URL changed. Verify the portal is still active using our free Stalker Portal Checker, then find a fresh code if needed.
Conclusion
IPTV codes — whether Xtream (server URL + username + password) or StbEmu/Stalker (portal URL + MAC address) — are the gateway to thousands of live TV channels, movies, and series on any device. The key to a reliable experience is using fresh, tested codes from a source that updates daily. On iptv2live.com, our IPTV codes and Xtream IPTV categories are refreshed every single day with verified codes, and our Stalker Portal Checker lets you test any code before entering it into your player.
Bookmark this page and check back daily for the latest working IPTV codes — we update this guide and our code listings every 24 hours to keep you streaming without interruptions.
Last Updated: August 1, 2026 — All code formats, troubleshooting steps, and player instructions reviewed and verified on the date shown.




