Xtream API Reference¶
This page summarizes common Xtream-compatible request patterns supported by tunlx.
Every proxy also publishes this API as a live Swagger UI from its own card (OpenAPI), pre-filled with that proxy's real base URL.

Parameters¶
username: account username (example:Mike)password: account password (example:1234)base_url: your tunlx proxy/service URL (example:http://proxy.example:8080)
Playlist (get.php)¶
Request:
Example:
Live (player_api.php)¶
Get all live streams¶
Get live categories¶
Get live streams for one category¶
<base_url>/player_api.php?username=<username>&password=<password>&action=get_live_streams&category_id=<id>
Movies / VOD (player_api.php)¶
Get all VOD streams¶
Get VOD categories¶
Get VOD streams for one category¶
<base_url>/player_api.php?username=<username>&password=<password>&action=get_vod_streams&category_id=<id>
Get VOD details¶
Series (player_api.php)¶
Get all series¶
Get series categories¶
Get series for one category¶
<base_url>/player_api.php?username=<username>&password=<password>&action=get_series&category_id=<id>
Get series details¶
<base_url>/player_api.php?username=<username>&password=<password>&action=get_series_info&series_id=<id>
EPG (xmltv.php and player_api.php)¶
Get full XMLTV EPG¶
Get short EPG for a stream¶
<base_url>/player_api.php?username=<username>&password=<password>&action=get_short_epg&stream_id=<id>&limit=<n>
limit is optional (default: 4).
Get detailed EPG table for a stream¶
<base_url>/player_api.php?username=<username>&password=<password>&action=get_simple_data_table&stream_id=<id>
Compatibility note: tunlx also accepts the legacy action alias get_simple_date_table and normalizes it internally.