API overview
All requests are GET calls to the Player API on your streaming server. Authenticate with the account username and password.
http://your.dns:stream_port/
Player API endpoints
Jump to a section from the sidebar, or filter below. Replace X with your actual values (username, password, category id, stream id, etc.).
Authentication 1 endpoint
Authentication
Returns user information and authentication status.
http://your.dns:stream_port/player_api.php?username=X&password=XLive Streams 2 endpoints
Live Stream Categories
Retrieve all available live stream categories.
http://your.dns:stream_port/player_api.php?username=X&password=X&action=get_live_categoriesLive Streams
Retrieve all live streams.
http://your.dns:stream_port/player_api.php?username=X&password=X&action=get_live_streamsRetrieve live streams for a specific category.
http://your.dns:stream_port/player_api.php?username=X&password=X&action=get_live_streams&category_id=XVOD Streams 4 endpoints
VOD Stream Categories
Retrieve all available VOD categories.
http://your.dns:stream_port/player_api.php?username=X&password=X&action=get_vod_categoriesVOD Streams
Retrieve all VOD streams.
http://your.dns:stream_port/player_api.php?username=X&password=X&action=get_vod_streamsRetrieve VOD streams for a specific category.
http://your.dns:stream_port/player_api.php?username=X&password=X&action=get_vod_streams&category_id=XLatest VOD Streams
Retrieve the 100 latest added VODs.
http://your.dns:stream_port/player_api.php?username=X&password=X&action=get_vod_latestVOD Info
Retrieve detailed information for a specific VOD.
http://your.dns:stream_port/player_api.php?username=X&password=X&action=get_vod_info&vod_id=XSeries 4 endpoints
Series Categories
Retrieve all available series categories.
http://your.dns:stream_port/player_api.php?username=X&password=X&action=get_series_categoriesSeries Streams
Retrieve all series.
http://your.dns:stream_port/player_api.php?username=X&password=X&action=get_seriesRetrieve series for a specific category.
http://your.dns:stream_port/player_api.php?username=X&password=X&action=get_series&category_id=XLatest Series Streams
Retrieve the 100 latest added series.
http://your.dns:stream_port/player_api.php?username=X&password=X&action=get_series_latestSeries Info
Retrieve detailed information for a specific series.
http://your.dns:stream_port/player_api.php?username=X&password=X&action=get_series_info&series_id=XSearch 1 endpoint
Search Live / VOD / Series
Search live streams whose name matches the search string.
http://your.dns:stream_port/player_api.php?username=X&password=X&action=search&type=live&context=XSearch VOD / movies whose name matches the search string.
http://your.dns:stream_port/player_api.php?username=X&password=X&action=search&type=movies&context=XSearch series whose name matches the search string. Parameters: type = live / movies / series, context = URL-encoded search string.
http://your.dns:stream_port/player_api.php?username=X&password=X&action=search&type=series&context=XEPG Data 3 endpoints
Short EPG for Live Streams
Retrieve short EPG information for a stream.
http://your.dns:stream_port/player_api.php?username=X&password=X&action=get_short_epg&stream_id=XRetrieve short EPG information with a custom limit.
http://your.dns:stream_port/player_api.php?username=X&password=X&action=get_short_epg&stream_id=X&limit=XAll EPG for Live Streams
Retrieve complete EPG data for a stream.
http://your.dns:stream_port/player_api.php?username=X&password=X&action=get_simple_data_table&stream_id=XFull EPG List for All Streams
Retrieve complete XMLTV EPG data for all streams.
http://your.dns:stream_port/xmltv.php?username=X&password=XUtilities 1 endpoint
ActiveCode Password
Retrieve ActiveCode password.
http://your.dns:stream_port/player_api.php?action=getactivecodepassNo endpoints in this category.
Example request
Authenticate a user and read back their account information.
Authentication request
Send the username and password to the Player API and it returns the account status and server details.
GET /player_api.php?username=your_username&password=your_password HTTP/1.1
Host: your.dns:stream_port
Accept: application/json
Response
{
"user_info": {
"username": "demo_user",
"password": "demo_pass",
"message": "User authenticated successfully",
"auth": 1,
"status": "Active",
"exp_date": "1672531199",
"is_trial": "0",
"active_cons": "1",
"created_at": "1577836800",
"max_connections": "3",
"allowed_output_formats": ["m3u8", "ts", "rtmp"]
},
"server_info": {
"url": "http://your.dns",
"port": "stream_port",
"https_port": "443",
"server_protocol": "http",
"rtmp_port": "1935",
"timezone": "UTC",
"timestamp_now": 1670000000,
"time_now": "2022-12-03 10:00:00"
}
}