Skip to content
Diamond IPTV

Guide

Xtream Codes vs M3U: which login should you use?

By the Diamond IPTV support team · Updated · 4 min read

Short answer

Use the Xtream Codes API login (server URL, username and password) whenever your player supports it: the app loads categories, the TV guide and the on-demand library separately, so it's usually faster and better organised. Use the M3U link for simple players like VLC, or if an app only accepts a playlist URL. MAG-type boxes use a portal URL instead.

Two cables plugged into a hub, one neatly labelled and one tangled, on a white desk

Xtream Codes API

Three fields: server URL (with port), username and password. The app asks the server for each part — live categories, guide data, films, series — separately. “Xtream Codes” began as the name of a specific product; today the login format is simply a widely used standard.

M3U playlist link

One long address that returns a text list of every stream. The guide often comes as a separate XMLTV link. Universal, but large lists load slowly on small devices. If an M3U login fails, try the Xtream fields instead.

Portal URL (MAG and similar boxes)

MAG boxes and some Formuler setups authorise the box by its MAC address and connect to a portal URL. See MAG & Formuler setup.

A security note

Treat all three like passwords. Don't share them in public groups, and only enter them into apps from official stores or the developer's own website.

Test it on your own TV first

Request a 24-hour free trial — no card needed. Our team sets it up and sends your details on WhatsApp.

Talk to a person

Pick either WhatsApp line. Replies are in English.