Skip to content
IPTV Subscription 8K - 8K TV Subscription

Streaming technology

IPTV middleware explained: portals, logins and the guide

Behind every IPTV service sits software that isn’t the video itself: it knows who the customers are, which channels and films each one can see, what’s on the guide, and which devices are allowed. That’s middleware. You never see it directly, but it decides how you log in: with an M3U link, an Xtream Codes username and password, or a portal address and your device’s MAC address.

Updated · 2 min read

Also available in Dansk · Norsk · Svenska

What middleware handles

JobWhat it means for you
Accounts and subscriptionsWhether your login is active, when it expires, and whether it’s a trial
Connection limitsHow many streams you can play at once
Channel lists and categoriesWhich channels you see, in which groups and order
The programme guide (EPG)Which listings go with which channel
On-demand catalogueThe films and series lists, with posters and descriptions
Devices and accessWhich apps, boxes or addresses may connect

The streams themselves come from separate streaming servers. See what is an IPTV server.

Three login styles, three kinds of middleware

M3U playlist

The simplest: a single link to a text file listing channels and their stream addresses, sometimes with guide IDs and catch-up details. There’s no account screen in the app; the middleware’s work happens when it builds the file. See what is an M3U playlist.

Xtream Codes API

A username, password and server address. The app asks the server’s API for account information, channel and category lists, the guide and the on-demand catalogue. Open-source documentation of the reply shows account fields such as status, exp_date (expiry), is_trial, max_connections and active_cons, and the output formats the account may use. That’s why Xtream logins can show your expiry date and connection count. See Xtream Codes explained.

Xtream Codes began as a commercial panel. Its servers were taken offline in a September 2019 police operation, but the API format lives on in many players and server products.

MAC portal (Stalker or Ministra)

A portal address entered on the device, with the device recognised by its MAC address. It comes from Infomir’s set-top box middleware, Stalker Middleware, later the Ministra TV platform. MAG boxes and apps that imitate them use it. See Stalker portals explained and MAG box portal setup.

Why it matters when things go wrong

  • “Account expired” or connection limits come from the middleware, not the stream. See account expired and too many connections.
  • Channels or guide missing can be a middleware list problem: refresh the playlist before blaming the streams.
  • Everything fails at once usually means the middleware or server is unreachable. See server unavailable.

FAQ

Middleware questions

What does IPTV middleware do?

It manages the service around the streams: customer accounts and subscriptions, channel lists and categories, the programme guide, the on-demand catalogue, device limits and the login your app uses.

Is Xtream Codes middleware?

Xtream Codes was a panel for running IPTV services, and its login method became a de facto standard. Players still use the Xtream Codes API to fetch the account, channels, guide and on-demand lists, even though the original company’s servers were taken offline in 2019.

What is a Stalker or Ministra portal?

Middleware for set-top boxes from Infomir, the maker of MAG boxes. Stalker Middleware later became the Ministra TV platform. Boxes connect with a portal address and are recognised by their MAC address.

Sources

Facts on this page were checked against these sources. Details were correct when checked; apps and devices change, so we review this page regularly.

  1. py-xtream-codes: authentication response example, GitHub (2026-10-01)

Start watching on your own screen

Plans from £5.83 a month on the 12-month plan, no contract and no auto-renewal. Test it first with a 24-hour free trial.