api
TV Stream

Documentation

Endpoint List

GET https://api.i-as.dev/api/tv/list

Parameters

  • page: (optional) The page number for pagination.
  • limit: (optional) The number of items to return per page.

Response Format

The API will return a paginated response with a list of TV channels. Each item will contain the following:

{
  "page": "value",
  "limit": "value",
  "totalItems": "value",
  "totalPages": "value",
  "data": [
    {
      "id": "slug",
      "channel": "string",
      "url": "url_stream"
    }
    // More data
  ]
}
  • page: The current page number.
  • limit: The number of items returned per page.
  • totalItems: The total number of items available.
  • totalPages: The total number of pages available.
  • data: An array of TV channels.
    • id: The unique identifier of the channel (slug).
    • channel: The name of the TV channel.
    • url: The URL to stream the channel.

Endpoint Search

GET https://api.i-as.dev/api/tv/search?q={query}

Parameters

  • q: The search query to filter TV channels.
  • page: (optional) The page number for pagination.
  • limit: (optional) The number of items to return per page.

Response Format

The API will return a paginated response with a list of TV channels based on the search query.

{
  "page": "value",
  "limit": "value",
  "totalItems": "value",
  "totalPages": "value",
  "data": [
    {
      "id": "slug",
      "channel": "string",
      "url": "url_stream"
    }
    // More data
  ]
}
  • page: The current page number.
  • limit: The number of items returned per page.
  • totalItems: The total number of items available.
  • totalPages: The total number of pages available.
  • data: An array of TV channels matching the search query.
    • id: The unique identifier of the channel (slug).
    • channel: The name of the TV channel.
    • url: The URL to stream the channel.

Endpoint Filter

GET https://api.i-as.dev/api/tv/filter/{country}

Parameters

  • country: The country code to filter TV channels (e.g., "id", "cy", "ir", etc.).
  • page: (optional) The page number for pagination.
  • limit: (optional) The number of items to return per page.

Response Format

The API will return a filtered list of TV channels based on the country code.

{
  "page": "value",
  "limit": "value",
  "totalItems": "value",
  "totalPages": "value",
  "data": [
    {
      "id": "slug",
      "channel": "string",
      "url": "url_stream"
    }
    // More data
  ]
}
  • page: The current page number.
  • limit: The number of items returned per page.
  • totalItems: The total number of items available.
  • totalPages: The total number of pages available.
  • data: An array of filtered TV channels by country.
    • id: The unique identifier of the channel (slug).
    • channel: The name of the TV channel.
    • url: The URL to stream the channel.

Endpoint Stream

GET https://api.i-as.dev/api/tv/stream/{id}

Parameters

  • id: The unique identifier (slug) of the channel.

Response Format

This endpoint directly displays the streaming TV for the specified channel.


Endpoint Group

GET https://api.i-as.dev/api/tv/group

Response Format

The API will return a grouped list of TV channel details by country.

{
  "nl": {
    "url": "url_detail"
  },
  "za": {
    "url": "url_detail"
  }
  // More data
}
  • nl: Grouping for a specific country code (e.g., Netherlands).
    • url: The URL of the detailed channel information.
  • za: Another example country code (e.g., South Africa).
    • url: The URL of the detailed channel information.

Example Requests:

Example Request for Listing TV Channels:

GET https://api.i-as.dev/api/tv/list?page=1&limit=10

Example Request for Search:

GET https://api.i-as.dev/api/tv/search?q=movies&page=1&limit=5

Example Request for Filter by Country (e.g., "id" for Indonesia):

GET https://api.i-as.dev/api/tv/filter/id?page=1&limit=5

Example Request for Streaming a Channel:

GET https://api.i-as.dev/api/tv/stream/example-channel-slug

Example Request for Grouped Channel Details:

GET https://api.i-as.dev/api/tv/group