When setting up your IPTV app, you will usually see two options: "Xtream Codes API" and "M3U URL". Both will get your channels working, but they work differently. Here is what you need to know.
What Is Xtream Codes API?
Xtream Codes API is a login method that uses three pieces of information: your username, password, and server URL. The app communicates directly with the server to fetch your channel list, EPG data, VOD library, and series — all organized into categories.
What Is an M3U URL?
An M3U URL is a single web link that contains your entire channel playlist. Your IPTV app downloads this file and uses it to load channels. It is a simpler format but has some limitations compared to Xtream Codes.
Key Differences
- EPG (Program Guide): Xtream Codes loads EPG automatically. M3U requires you to add the EPG URL separately.
- VOD and Series: Xtream Codes shows Movies and TV Series in organized sections. M3U only shows live channels (no VOD in most apps).
- Channel organization: Xtream Codes displays channels in the server's category structure. M3U may show a flat list depending on the app.
- Catch-up/Timeshift: Xtream Codes supports catch-up on compatible channels. M3U does not.
- Compatibility: Most modern IPTV apps support both. Some older apps only support M3U.
Which Should You Use?
Use Xtream Codes API whenever possible. It gives you the best experience with automatic EPG, VOD, series, and catch-up support. Only use M3U URL if your app does not support Xtream Codes API.
How to Find Your Credentials
Both your Xtream Codes login (username, password, server URL) and M3U URLs are available on your service details page at optimedia.top. See our guide: How to Find Your IPTV Login Details.
M3U Format Options
If you use M3U, you will see several format options on your service page:
- M3U Plus: Best M3U format. Includes channel logos and EPG IDs. Use this as default.
- M3U: Standard format without extras.
- M3U Basic: Simplified format using MPEG-TS output. Use this for devices that have issues with the Plus format.