# Stream List/Search

Get list of streams with pagination from project

Reference API link: https://api.mov.mediaoutcast.com/documentation#/Streams/stream_index (opens new window)

GET

/api/projects/{project_id}/streams
KEY TYPE DESCRIPTION
search string optional Search for video by title
sort_column string optional Order by column id title
sort_order string optional Order asc or desc

Response:

{
  "data": [
    {
      "id": 81,
      "hash": "Kxe9jn8L",
      "title": "New Live Stream",
      "description": "",
      "application": "live",
      "stream": "6a14d96d-18d3-4793-9d1e-5c0372262f0e",
      "published": false,
      "resolutions": [
        {
          "id": 4,
          "name": "720p",
          "active": true
        },
        {
          "id": 5,
          "name": "480p",
          "active": true
        },
        {
          "id": 6,
          "name": "360p",
          "active": true
        }
      ],
      "tags": [],
      "category": null,
      "countries": [],
      "rtmps_url": "rtmps://stream.mediaoutcast.com/live/Kxe9jn8L_6a14d96d-18d3-4793-9d1e-5c0372262f0e",
      "rtmp_url": "rtmp://stream.mediaoutcast.com/live/Kxe9jn8L_6a14d96d-18d3-4793-9d1e-5c0372262f0e",
      "stream_url": "https://api.mov.mediaoutcast.com/storage/VjJd68GD/VjJd68GD/stream/Kxe9jn8L/index.m3u8",
      "live": false,
      "live_channel": "stream.81",
      "live_event": "live",
      "web_socket_broadcaster": "pusher",
      "web_socket_key": "e35893989a0fe4e0c1ae",
      "web_socket_cluster": "eu",
      "image_urls": null,
      "embed": {
        "iframe": "<iframe width=\"560\" height=\"315\" src=\"https://static.mediaoutcast.com/streams/Kxe9jn8L/stream.html\" title=\"New Live Stream\" frameborder=\"0\" scrolling=\"no\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen></iframe>",
        "script": "<script src=\"https://static.mediaoutcast.com/player/master/js/mov-init.min.js\" async></script>\n<mov-player project-id=\"VjJd68GD\" stream-id=\"Kxe9jn8L\"></mov-player>\n<script type=\"application/ld+json\">{\"@context\":\"http://schema.org/\",\"@type\":\"VideoObject\",\"name\":\"New Live Stream\",\"description\":\"\",\"uploadDate\":\"2024-01-10T12:28:58+01:00\",\"contentUrl\":\"https://static.mediaoutcast.com/storage/VjJd68GD/VjJd68GD/stream/Kxe9jn8L/index.m3u8\"}</script>\n",
        "link": "https://static.mediaoutcast.com/streams/Kxe9jn8L/stream.html"
      },
      "player": null
    },
    ...
    ..
    .
  ],
  "links": {
    "first": "https://api.mov.mediaoutcast.com/api/projects/VjJd68GD/streams?page=1",
    "last": "https://api.mov.mediaoutcast.com/api/projects/VjJd68GD/streams?page=1",
    "prev": null,
    "next": null
  },
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 1,
    "links": [
      {
        "url": null,
        "label": "&laquo; Previous",
        "active": false
      },
      {
        "url": "https://api.mov.mediaoutcast.com/api/projects/VjJd68GD/streams?page=1",
        "label": "1",
        "active": true
      },
      {
        "url": null,
        "label": "Next &raquo;",
        "active": false
      }
    ],
    "path": "https://api.mov.mediaoutcast.com/api/projects/VjJd68GD/streams",
    "per_page": 10,
    "to": 5,
    "total": 5
  }
}