Some Cockpit modules require you to enter Category IDs or Stream IDs for channels, movies, or series.
Here’s how you can find these IDs using the XtreamCodes API.
1. Get Your API URL and Credentials
- Your XtreamCodes panel URL (e.g.
http://yourpanel.com:8080) - Your username and password
2. API Endpoints for Content IDs
- Live Categories:
/player_api.php?username=YOURUSER&password=YOURPASS&action=get_live_categories - Live Streams:
/player_api.php?username=YOURUSER&password=YOURPASS&action=get_live_streams - Movie Categories:
/player_api.php?username=YOURUSER&password=YOURPASS&action=get_vod_categories - Movie Streams:
/player_api.php?username=YOURUSER&password=YOURPASS&action=get_vod_streams - Series Categories:
/player_api.php?username=YOURUSER&password=YOURPASS&action=get_series_categories - Series:
/player_api.php?username=YOURUSER&password=YOURPASS&action=get_series
3. How to Use the API
- Open your browser and enter the full API URL, for example:
http://yourpanel.com:8080/player_api.php?username=YOURUSER&password=YOURPASS&action=get_live_categories - You will see a JSON response.
- For categories, look for
category_idandcategory_name. - For streams, look for
stream_idandname.
- For categories, look for
4. Example: Finding a Live Stream ID
- Go to:
http://yourpanel.com:8080/player_api.php?username=YOURUSER&password=YOURPASS&action=get_live_streams - Search for the channel name you want.
- Note the
stream_idfor that channel.
5. Example: Finding a Category ID
- Go to:
http://yourpanel.com:8080/player_api.php?username=YOURUSER&password=YOURPASS&action=get_live_categories - Find the
category_nameyou want. - Note the
category_id.
6. Tips
- You can use browser extensions like JSON Viewer for easier reading.
- If you have many entries, use your browser’s search (Ctrl+F) to find the channel or category name.
7. Using IDs
Once you have the IDs, enter them in the appropriate fields in the panel (e.g., use a comma-separated list like 324,854,612).
Still need help?
You can always ask your content provider to supply the content ID's for the service you need.