How to find Content IDs using the XtreamCodes API Print

  • 1

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

  1. 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
  2. You will see a JSON response.
    • For categories, look for category_id and category_name.
    • For streams, look for stream_id and name.

4. Example: Finding a Live Stream ID

  1. Go to:
    http://yourpanel.com:8080/player_api.php?username=YOURUSER&password=YOURPASS&action=get_live_streams
  2. Search for the channel name you want.
  3. Note the stream_id for that channel.

5. Example: Finding a Category ID

  1. Go to:
    http://yourpanel.com:8080/player_api.php?username=YOURUSER&password=YOURPASS&action=get_live_categories
  2. Find the category_name you want.
  3. 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.


Was this answer helpful?

« Back