What is Xtream Codes?
Xtream Codes (also called Xtream API or Xtream UI) is a panel format that exposes channels, movies and series via a structured API. Compared to a flat M3U file, it gives players richer category navigation, EPG, VOD and series sections. See our deeper comparison: M3U vs Xtream Codes.
What credentials your provider sent you
Your provider typically gives you three pieces of information:
- Server URL — e.g.
http://my-iptv-server.com:8080 - Username
- Password
Some providers send a single line like http://server:port/get.php?username=USER&password=PASS&type=m3u_plus — the username and password are the URL parameters.
Setting up Xtream Codes in POWTV (recommended)
- Sign in on powtv.app/login with your Device ID.
- Click Add a Playlist → select Xtream Codes.
- Paste the Server URL (without trailing slash), username and password.
- Optionally set a 4-8 digit PIN to protect the playlist.
- The playlist syncs to your TV / Firestick / mobile instantly.
Common errors & fixes
"Invalid credentials" or HTTP 401
Username or password is wrong, or the subscription expired. Double-check the exact characters (case-sensitive) and contact your provider.
"Connection refused" or timeout
Your ISP is likely blocking the server port. POWTV's built-in anti-block DNS resolves most of these — or read our buffering troubleshooting guide.
Channels load but no EPG
Your provider might not expose the EPG endpoint. Ask them for the XMLTV URL and configure it separately if your player supports it.
Best players that support Xtream Codes
- POWTV — full Xtream support + TMDB enrichment, multi-device sync.
- TiviMate — Android TV only, EPG-heavy.
- IPTV Smarters Pro — legacy choice; see our Smarters alternative.