Back to Knowledge Base
Setup
5 min read
Updated July 23, 2026

How to Set Up Xtream Codes in IPTV Smarters Pro

The fastest way to log in. Follow our step-by-step tutorial to enter your Xtream Codes API details without syntax errors.

Reviewed by the IPTV Smarters Pro Team Fact-checked and verified
IPTV Smarters Pro guide visual banner for Xtream Codes API Setup
Contents
Tap to expand

The Xtream Codes API is the gold-standard protocol for connecting IPTV Smarters Pro to your service provider's media servers. Unlike static M3U playlist links, the Xtream Codes API establishes a dynamic database connection that categorizes Live TV, Movies, and TV Series while maintaining automated Electronic Program Guide (EPG) synchronization.

Xtream Codes API vs. Raw M3U Link

Understanding why Xtream Codes is superior to traditional playlist links prevents unnecessary playback errors and slow loading times:

Operational Metric Xtream Codes API Login Raw M3U Playlist Link
Data Parsing Speed Ultra-fast (Fetches categories on demand) Slow (Must parse multi-megabyte text files into RAM)
EPG Synchronization Automatic (Syncs program schedules instantly) Manual (Requires configuring external XMLTV links)
VOD Metadata Rich (Fetches posters, IMDB ratings, plot summaries) Basic (Displays plain text stream names only)
Account Management Displays account status, active connections, expiration date No account status visibility inside the app interface

Step 1: Locate Your Credentials or Extract Them from M3U

Your IPTV provider will typically supply three distinct pieces of information upon subscription setup:

  • Server URL: The base domain and port (e.g. http://tv.provider-domain.com:8080)
  • Username: Your account identifier (e.g. user_8932)
  • Password: Your unique access token (e.g. pass_4481)

If your provider only sent a long M3U URL, you can extract the Xtream Codes details yourself. Examine the structure of a standard M3U link:

http://tv.provider-domain.com:8080/get.php?username=user_8932&password=pass_4481&type=m3u_plus

Extraction Rule: Everything before /get.php is your Server URL. The string after username= and before &password= is your Username. The string after password= and before &type= is your Password.

Step 2: Enter Details Into IPTV Smarters Pro

  1. Launch IPTV Smarters Pro and select Login with Xtream Codes API on the main screen.
  2. In the Any Name field, type a clear label (e.g., "Primary Sports Sub"). This field is purely for your own reference.
  3. In the Username field, enter your assigned username exactly as provided, respecting capital letters.
  4. In the Password field, enter your password. Ensure no spaces are added at the end.
  5. In the URL field, enter your server URL including http:// and port number (e.g., http://tv.provider-domain.com:8080).
  6. Click Add User and allow 15–30 seconds for the initial database build.
How to fix URL syntax errors: Do not add a trailing slash (/) at the end of the port number in the URL field. Entering http://tv.provider-domain.com:8080/ will cause a //player_api.php concatenation error and trigger a "Failed to Authorize" refusal.

Step 3: Managing Profiles and Connection Limits

If you maintain multiple IPTV services (for instance, a primary sports subscription and a secondary backup provider), IPTV Smarters Pro isolates each profile into a separate sandboxed container.

To switch between providers, click the profile icon in the top-right corner of the dashboard, select **List Users**, and choose your secondary profile. Each profile retains its own favorited channels, watch history, and EPG cache without cross-contaminating data.

Frequently Asked Questions

What should I type in the 'Any Name' field?

The 'Any Name' field is purely a personal label for your own reference (e.g., 'Home Sub'). The server does not validate this field; you can enter anything you like.

Why is Xtream Codes API better than loading an M3U URL?

Xtream Codes API loads channel categories dynamically on demand rather than loading massive text files into memory, resulting in much faster load times and rich VOD poster art.

Recommended

Tired of Buffering?

Upgrade to a premium subscription for 4K channels, a vast on-demand library, and zero freezing.

View Pricing