Skip to main content
GET
/
api
/
v1
/
video
/
streaming-data
Get video streaming data
curl --request GET \
  --url https://youtube.zilodata.com/api/v1/video/streaming-data \
  --header 'x-api-key: <api-key>'
{
  "message": "Success",
  "statusCode": 200,
  "pagination": {
    "total": 100,
    "hasMore": true,
    "paginationToken": "CDsQ8FsiEwje95_F1pmRAxXlsykDHUX"
  },
  "data": {
    "formats": [
      {
        "itag": 18,
        "mimeType": "video/mp4; codecs=\"avc1.42001E, mp4a.40.2\"",
        "hasVideo": true,
        "hasAudio": true,
        "quality": "360p",
        "qualityLabel": "360p",
        "container": "mp4",
        "width": 640,
        "height": 360,
        "contentLength": 1400741,
        "bitrate": 500000
      }
    ],
    "selectedFormat": {
      "itag": 18,
      "url": "https://rr8---sn-42u-i5olk.googlevideo.com/videoplayback?...",
      "mimeType": "video/mp4; codecs=\"avc1.42001E, mp4a.40.2\"",
      "quality": "360p",
      "container": "mp4",
      "hasVideo": true,
      "hasAudio": true,
      "width": 640,
      "height": 360,
      "contentLength": 1400741
    }
  }
}

Authorizations

x-api-key
string
header
required

API Key

Query Parameters

videoId
string
required

YouTube video ID

Example:

"kJQP7kiw5Fk"

quality
string

Video quality preference (e.g., highest, best, 720p, 480p, 360p)

Example:

"highest"

Response

Success

message
string
Example:

"Success"

statusCode
number
Example:

200

pagination
object
data
object