Practical Guide

Guide for connecting Xtream Codes API in Android players

March 15, 2026 3 min read

If you've decided to make the leap from old M3U files to the speed and organization of Xtream Codes API, you've probably noticed that the login screen of modern players is different. Instead of asking for a single long link, it asks for three fields: URL (Host), Username, and Password.

In this tutorial, we show you how to extract those three pieces of data from any link your provider has sent you.

Anatomy of an IPTV link

Let's assume your TV provider has sent you the following link via WhatsApp or email (this is a made-up example):

http://my-premium-server.com:8080/get.php?username=JohnDoe22&password=Secure99&type=m3u_plus&output=ts

At first glance, it looks like a jumble of letters, but it actually contains exactly the three pieces of the puzzle you need to log in via API.

How to extract the 3 key data points

Let's break down the previous link step-by-step:

1. Host URL (Server)

It's the first part of the link, right before the words /get.php? appear. It includes the protocol (http or https), the domain, and the port (the numbers after the colon).

  • In our example: http://my-premium-server.com:8080

2. Username

Look for the word username= in the link. Everything written right after the equal sign (=) and before the & symbol is your username.

  • In our example: JohnDoe22

3. Password

Look for the word password= in the link. Just like before, copy the text that goes after the equal sign and before the next &.

  • In our example: Secure99

Where do I enter this data?

Open your favorite player (like AutoIPTV on your car screen). On the home screen, select "Add account via Xtream Codes API" or "Login with Xtream Codes".

You'll see a form. Simply fill in each field with the data we've extracted:

  • List Name: (Put whatever you want, e.g., "My Car TV")
  • URL / Host: http://my-premium-server.com:8080
  • Username: JohnDoe22
  • Password: Secure99

Instant Speed

By logging in this way, the application will instantly download movie covers, the EPG guide, and automatically separate sports channels by country.

Download Compatible Player