YouTube Content Scraper API

API ID 15623

Public YouTube data: channels, videos, shorts, live streams, community posts, playlists, stream URLs (incl. muxed MP4), transcripts, comments, related videos and filtered search.

API Documentation

Endpoints

Request
Community posts: full text, images (full size), attached video or poll, exact likes and approximate published_at (YouTube shows '2 weeks ago'). Comment counts and comments of community posts are not available.
Endpoint ID: 42155
GET https://zylalabs.com/api/15623/youtube+content+scraper+api/42155/get+channel+community+posts
INPUT PARAMETERS

Get Channel Community Posts — Endpoint Features

Object Description
channel_id Required Channel id (UC...), handle (@nasa) or channel URL
continuation_token Optional continuation_token from the previous page (null: no more pages)

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

channel_id
continuation_token
API EXAMPLE RESPONSE
JSON
{
    "channel_id": "UCLA_DiR1FfKNvjuUpBHmylQ",
    "channel_name": "NASA",
    "posts": [
        {
            "post_id": "Ugkx-7xgRw-Uc9lRS3_2RvS2zASPTZOFtIlw",
            "url": "https://www.youtube.com/post/Ugkx-7xgRw-Uc9lRS3_2RvS2zASPTZOFtIlw",
            "author": "NASA",
            "channel_id": "UCLA_DiR1FfKNvjuUpBHmylQ",
            "text": "Have you heard about MAX POWER?   It's our new aerospace festival, and it's landing at NASA's Kennedy Space Center in Florida, Nov. 7-8.\n\nLearn how to join us: https://www.nasa.gov/maxpower\n\nhttps://www.youtube.com/watch?v=wJhhS...",
            "like_count": 328,
            "like_count_text": "328",
            "published_time": "1 month ago",
            "published_at": 1789622688,
            "published_at_approximate": true,
            "images": [],
            "video": {
                "type": "video",
                "video_id": "wJhhSlplzuE",
                "title": "MAX POWER 2026 — Official Announcement",
                "author": "UP.Summit",
                "channel_name": "UP.Summit",
                "channel_id": "UCdTIUu9GI7ZzqddT_ykL3Xw",
                "video_length": 82,
                "number_of_views": 27937,
                "number_of_views_text": "27,937 views",
                "like_count": null,
                "comment_count": null,
                "published_at": null,
                "published_at_approximate": null,
                "published_time": "1 month ago",
                "description": null,
                "description_snippet": "MAX POWER 2026 is America's premier expo for the technology and aerospace of the future — one week at America's gateway to the stars, at Kennedy Space Center in Florida.\n\nFlying cars. Humanoid...",
                "is_live": false,
                "thumbnails": [
                    {
                        "url": "https://i.ytimg.com/vi/wJhhSlplzuE/hqdefault.jpg",
                        "width": 480,
                        "height": 270
                    }
                ]
            },
            "poll": null
        },
        {
            "post_id": "Ugkxoe0cWV_GPHNbxsN2r4vfWksT18Wo9DL_",
            "url": "https://www.youtube.com/post/Ugkxoe0cWV_GPHNbxsN2r4vfWksT18Wo9DL_",
            "author": "NASA",
            "channel_id": "UCLA_DiR1FfKNvjuUpBHmylQ",
            "text": "Have you ever kicked a soccer ball and wondered why it curves, spins, or sometimes wobbles?\r\n \r\nGet the scoop from the International Space Station – NASA astronaut Jessica Meir explains the science hidden inside every football. ⚽\r\n \r\nNASA STEM resources: https://www.nasa.gov/learning-resources/",
            "like_count": 1066,
            "like_count_text": "1K",
            "published_time": "4 months ago",
            "published_at": 1781846688,
            "published_at_approximate": true,
            "images": [],
            "video": {
                "type": "video",
                "video_id": "g8zVn14wg38",
                "title": "STEMonstrations: Distribution of Mass",
                "author": "Learn With NASA",
                "channel_name": "Learn With NASA",
                "channel_id": "UC9SM7V7J1pAhPabOUST01fw",
                "video_length": 202,
                "number_of_views": 32826,
                "number_of_views_text": "32,826 views",
                "like_count": null,
                "comment_count": null,
                "published_at": null,
                "published_at_approximate": null,
                "published_time": "4 months ago",
                "description": null,
                "description_snippet": "Have you ever kicked a soccer ball and wondered why it curves, spins, or sometimes wobbles? NASA astronaut Jessica Meir aboard the International Space Station explains the science hidden inside...",
                "is_live": false,
                "thumbnails": [
                    {
                        "url": "https://i.ytimg.com/vi/g8zVn14wg38/hq720.jpg",
                        "width": 360,
                        "height": 202
                    },
                    {
                        "url": "https://i.ytimg.com/vi/g8zVn14wg38/hq720.jpg",
                        "width": 720,
                        "height": 404
                    }
                ]
            },
            "poll": null
        }
    ],
    "continuation_token": "4qmFsgKBARIYVUNMQV9EaVIxRmZLTnZqdVVwQkhteWxRGkxFZ1Z3YjNOMGM2b0RLQW9rVVRKb1ExSkdVWGRVYTJ4UFlXMW9UMVZxUWxkVlZrVjNUVVJHVkdKVk5VUlNWVVpDS0FyeUJnUUtBa29BmgIWYmFja3N0YWdlLWl0ZW0tc2VjdGlvbg%3D%3D"
}
Get Channel Community Posts — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15623/youtube+content+scraper+api/42155/get+channel+community+posts?channel_id=UCLA_DiR1FfKNvjuUpBHmylQ' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Subscribers, views, video count, description, links, avatar, banner, verified badge, country and creation date.
Endpoint ID: 42156
GET https://zylalabs.com/api/15623/youtube+content+scraper+api/42156/get+channel+details
INPUT PARAMETERS

Get Channel Details — Endpoint Features

Object Description
channel_id Required Channel id (UC...), handle (@nasa) or channel URL

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

channel_id
API EXAMPLE RESPONSE
JSON
{
    "channel_id": "UCLA_DiR1FfKNvjuUpBHmylQ",
    "title": "NASA",
    "description": "NASA's mission is to pioneer the future in space exploration, scientific discovery, and aeronautics research.\r\n\r\nTo do that, we have worked around the world—and off it—for more than 60 years, searching for answers to fundamental questions about our place in the universe. We're exploring space and discovering Earth. Join us on this exciting and important journey.\n",
    "subscriber_count": 15100000,
    "view_count": 1129592359,
    "video_count": 6191,
    "links": [
        {
            "name": "nasa.gov",
            "endpoint": "nasa.gov"
        },
        {
            "name": "X",
            "endpoint": "x.com/nasa"
        }
    ],
    "avatar": [
        {
            "url": "https://yt3.googleusercontent.com/eIf5fNPcIcj9ig-wZBeq4stFy1lgjWTW1nLT5dYlFkHZprZ03QBiMcbpwNMB6XSBjrSFGtAGQg=s72-c-k-c0x00ffffff-no-rj",
            "width": 72,
            "height": 72
        },
        {
            "url": "https://yt3.googleusercontent.com/eIf5fNPcIcj9ig-wZBeq4stFy1lgjWTW1nLT5dYlFkHZprZ03QBiMcbpwNMB6XSBjrSFGtAGQg=s120-c-k-c0x00ffffff-no-rj",
            "width": 120,
            "height": 120
        }
    ],
    "banner": [
        {
            "url": "https://yt3.googleusercontent.com/y8Srh-oCcilLvBO8jAPI546m1bn0puA5DIvQiBZ1cSxc_rZfKxKSFlTCtoCQCtB6viUf1NGsaQ=w1060-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
            "width": 1060,
            "height": 175
        },
        {
            "url": "https://yt3.googleusercontent.com/y8Srh-oCcilLvBO8jAPI546m1bn0puA5DIvQiBZ1cSxc_rZfKxKSFlTCtoCQCtB6viUf1NGsaQ=w1138-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
            "width": 1138,
            "height": 188
        }
    ],
    "verified": true,
    "username": "@NASA",
    "keywords": "nasa space iss shuttle 50th astronauts planets earth rockets hubble telescopes NASA TV galaxy apollo gemini mercury sta Moon Artemis \"solar system\"",
    "creation_date": 1212451200,
    "country": null
}
Get Channel Details — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15623/youtube+content+scraper+api/42156/get+channel+details?channel_id=UCLA_DiR1FfKNvjuUpBHmylQ' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Channel id (UC...) of a handle, custom name, legacy username or any channel URL.
Endpoint ID: 42157
GET https://zylalabs.com/api/15623/youtube+content+scraper+api/42157/get+channel+id
INPUT PARAMETERS

Get Channel ID — Endpoint Features

Object Description
channel_name Optional Handle (@nasa), custom name, username or channel URL
url Optional Channel URL (/@handle, /channel/UC..., /c/name, /user/name), instead of channel_name

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

channel_name
url
API EXAMPLE RESPONSE
JSON
{
    "channel_id": "UCLA_DiR1FfKNvjuUpBHmylQ",
    "channel_name": "@NASA"
}
Get Channel ID — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15623/youtube+content+scraper+api/42157/get+channel+id?channel_name=@NASA' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
The channel's Live tab: streams live now (is_live), upcoming and past ones, with views and published_at; paginated.
Endpoint ID: 42158
GET https://zylalabs.com/api/15623/youtube+content+scraper+api/42158/get+channel+live+streams
INPUT PARAMETERS

Get Channel Live Streams — Endpoint Features

Object Description
channel_id Required Channel id (UC...), handle (@nasa) or channel URL
continuation_token Optional continuation_token from the previous page (null: no more pages)

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

channel_id
continuation_token
API EXAMPLE RESPONSE
JSON
{
    "continuation_token": "4qmFsgKhDBIYVUNMQV9EaVIxRmZLTnZqdVVwQkhteWxRGoQMOGdiX0NCcjhDSEw1Q0RyMkNBb2tObVExWVdNME1qVXRNREF3TUMweVptRTRMVGxrWlRrdFpqUXdNekEwTTJSa01qazBFc3NJUVdaelYydHNORGQ1WkRSU01GbEVUVFZsVWpkRGJsRlJaeTFSVkhKVWVqWlVRbDlIUlVGNk1HUmxkMmhoYWtWM2RWSjFXSHBVZUVnNGNtTjNVRWxPYWt3NGEwNWFkVEJCYVdwdlkxcE1ZbXRMUjBobU5EVllMWFpUT1hKeFRWOWlkbFU1V1hoc1FYWnlWMUpZUzBwRVNuRnBlRkI0U1VSQ2QxWmlTUzFHUjBGcFVVTnVYMmxoZFV4bFpXcENNbVpyZWpjNVNWSnJTRUpFVW5GaVkxcG9RM2g1ZDBoU0xYTXROM3BWWmtvdGNXSnBkVlJ2ZFROSGQwZDFNek0wV0RCak4ydDJjSEJ0UVVzdFFVbzNXRzFRT0ZOelNuWlZSalpNYjBsWU1UQkNSVE16VWxsalEwOHRYMVJEYlZsNE5tZGtWRWQzVlU1SE16bGtVMnhXUkV4TmEwTTBWMlZOTW00NVpYRkZNRE15VDA5M01sVTJkakozU1hwWFVHaGxibGxDUVMxR1dUQkhkMmxGZFRjM1EwUTViak5vYkRGVlZtdzFWSE5VUjBSaldWcHFZWFo2ZEU1M2JEaEJUVlpRVFdGMWN6VkJURXB2ZVV4MFJsOTRXazFoVUV3emIzRnFTVEZCUVVVNVRFNUNRMWRVWVY5bVJtaDVMVEpSWWpCaWQyMXlORmhTYjBreUxWOTFWVVZ2TlVsb1lURlFlVVZZZDA1YU1rSklNelppYkZoelowMVJkblpzUmxWR01VUTRWMjR3TmtzMFNVODBSbXB4Y0c5d1VuZEpWM0ZpVDBKTFNFRjViMjFyVkUxQ1NXVkVZemh1ZWpoWVRUSlBhbWMxTjIxMU5HTXhXREZwYkVkU1JGRmlUVmd4VEVSNmNsTmhjM1ZIYW1oa1pYRlhYMlZrUW5aaldXZEVhWGRQVVU1VVFVUk5jaTFyVFZZdFNXeEpRVlJmZFRBeVdVNW1ibWRHVTFvNGFWbzBTMWhtTXpkQ1QyUmpUblZNVEZwSU5UWnBaRGhUV1RWTVQyUnNXV2hVUTNWUWNsWnBNR3RXTnkxaVZHWTNjamxQTnpnd1VtRXhTVkpuZVhCWmVHVndURXBDUWxRd1JXdzNPVlZ5VFRsdVpFdHdPSGRCTW5sTE4wUTFjbkZaYUhGMFoyeExRVXRCUlUxNlJWVmlUMEpOYTI5bE9VRk9hbnBHZUd0YVEwZzFibFJ3V0d0TmRIQkVkMDh3VEVOMVdGUm5OR2RDYUdwdkxUaHlVMGRFYjJsdVpUUnpTVGxVVFU0NGFXSkRaRWhGYVRGUVJ6aFVXR0ZFVERSSVZYaHhOVXBPVFZsVVJEa3dWMk5YUVVsbFRWWmxP...",
    "videos": [
        {
            "type": "live",
            "video_id": "pAKqJxuxDgk",
            "title": "Artemis Acceleration (Oct. 23, 2026)",
            "author": "NASA",
            "channel_name": "NASA",
            "channel_id": "UCLA_DiR1FfKNvjuUpBHmylQ",
            "video_length": 0,
            "number_of_views": 0,
            "number_of_views_text": null,
            "like_count": 51,
            "comment_count": null,
            "published_at": 1790280168,
            "published_at_approximate": false,
            "published_time": null,
            "description": "Tune in as agency leaders provide an update on NASA's plans to return American astronauts to the surface of the Moon by 2028. \n\nParticipants include:\n- NASA Administrator Jared Isaacman\n- NASA Associate Administrator Amit Kshatriya\n- Jeremy Parsons, NASA’s Artemis program manager\n\nAs part of a Golden Age of innovation and exploration, NASA will send Artemis astronauts on increasingly difficult missions near the lunar South Pole to explore more of the Moon than ever before. In addition to providing economic benefits and advancing scientific discovery through its Moon missions, NASA will establish an enduring human presence on the lunar surface and build on the agency’s foundation for the first crewed mission to Mars.\n\nMore about the Artemis program: https://www.nasa.gov/humans-in-space/artemis/",
            "description_snippet": null,
            "is_live": false,
            "thumbnails": [
                {
                    "url": "https://i.ytimg.com/vi/pAKqJxuxDgk/hq720.jpg",
                    "width": 360,
                    "height": 202
                },
                {
                    "url": "https://i.ytimg.com/vi/pAKqJxuxDgk/hq720.jpg",
                    "width": 720,
                    "height": 404
                }
            ]
        },
        {
            "type": "live",
            "video_id": "UleiRdWFG7o",
            "title": "U.S. Spacewalk Preview News Conference (Oct. 20, 2026)",
            "author": "NASA",
            "channel_name": "NASA",
            "channel_id": "UCLA_DiR1FfKNvjuUpBHmylQ",
            "video_length": 0,
            "number_of_views": 0,
            "number_of_views_text": null,
            "like_count": 27,
            "comment_count": null,
            "published_at": 1792080348,
            "published_at_approximate": false,
            "published_time": null,
            "description": "We're giving a preview of two upcoming spacewalks on Oct. 29 and Nov. 5 to finish installing solar arrays that will provide more power to the International Space Station. \n\nNASA astronaut Anil Menon and CSA (Canadian Space Agency) astronaut Joshua Kutryk will participate in both spacewalks. The spacewalks will be the 285th and 286th conducted in support of space station assembly, maintenance, and upgrades.\n\nNASA participants in the news conference include:\n- Gaurang Patel, operations integration manager, Low Earth Orbit Program\n- Garrett Hehn, spacewalk flight director, Flight Operations Directorate\n\nLearn more about the spacewalks: https://go.nasa.gov/4yRBm97\nLearn more about International Space Station operations and research: https://www.nasa.gov/station",
            "description_snippet": null,
            "is_live": false,
            "thumbnails": [
                {
                    "url": "https://i.ytimg.com/vi/UleiRdWFG7o/hq720.jpg",
                    "width": 360,
                    "height": 202
                },
                {
                    "url": "https://i.ytimg.com/vi/UleiRdWFG7o/hq720.jpg",
                    "width": 720,
                    "height": 404
                }
            ]
        }
    ],
    "channel": {
        "channel_id": "UCLA_DiR1FfKNvjuUpBHmylQ",
        "title": "NASA",
        "description": "NASA's mission is to pioneer the future in space exploration, scientific discovery, and aeronautics research.\r\n\r\nTo do that, we have worked around the world—and off it—for more than 60 years, searching for answers to fundamental questions about our place in the universe. We're exploring space and discovering Earth. Join us on this exciting and important journey.\n",
        "subscriber_count": 15100000,
        "view_count": 1129592359,
        "video_count": 6191,
        "links": [
            {
                "name": "nasa.gov",
                "endpoint": "nasa.gov"
            },
            {
                "name": "X",
                "endpoint": "x.com/nasa"
            }
        ],
        "avatar": [
            {
                "url": "https://yt3.googleusercontent.com/eIf5fNPcIcj9ig-wZBeq4stFy1lgjWTW1nLT5dYlFkHZprZ03QBiMcbpwNMB6XSBjrSFGtAGQg=s72-c-k-c0x00ffffff-no-rj",
                "width": 72,
                "height": 72
            },
            {
                "url": "https://yt3.googleusercontent.com/eIf5fNPcIcj9ig-wZBeq4stFy1lgjWTW1nLT5dYlFkHZprZ03QBiMcbpwNMB6XSBjrSFGtAGQg=s120-c-k-c0x00ffffff-no-rj",
                "width": 120,
                "height": 120
            }
        ],
        "banner": [
            {
                "url": "https://yt3.googleusercontent.com/y8Srh-oCcilLvBO8jAPI546m1bn0puA5DIvQiBZ1cSxc_rZfKxKSFlTCtoCQCtB6viUf1NGsaQ=w1060-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
                "width": 1060,
                "height": 175
            },
            {
                "url": "https://yt3.googleusercontent.com/y8Srh-oCcilLvBO8jAPI546m1bn0puA5DIvQiBZ1cSxc_rZfKxKSFlTCtoCQCtB6viUf1NGsaQ=w1138-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
                "width": 1138,
                "height": 188
            }
        ],
        "verified": true,
        "username": "@NASA",
        "keywords": "nasa space iss shuttle 50th astronauts planets earth rockets hubble telescopes NASA TV galaxy apollo gemini mercury sta Moon Artemis \"solar system\"",
        "creation_date": 1212451200,
        "country": null
    }
}
Get Channel Live Streams — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15623/youtube+content+scraper+api/42158/get+channel+live+streams?channel_id=UCLA_DiR1FfKNvjuUpBHmylQ' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Playlists a channel created: id, title, integer video count, thumbnails; paginated.
Endpoint ID: 42159
GET https://zylalabs.com/api/15623/youtube+content+scraper+api/42159/get+channel+playlists
INPUT PARAMETERS

Get Channel Playlists — Endpoint Features

Object Description
channel_id Required Channel id (UC...), handle (@nasa) or channel URL
continuation_token Optional continuation_token from the previous page (null: no more pages)

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

channel_id
continuation_token
API EXAMPLE RESPONSE
JSON
{
    "channel_id": "UCLA_DiR1FfKNvjuUpBHmylQ",
    "channel_name": "NASA",
    "playlists": [
        {
            "type": "playlist",
            "playlist_id": "PLF98rxtslw6s",
            "title": "Nancy Grace Roman Space Telescope",
            "channel_name": "NASA",
            "video_count": 3,
            "video_count_text": "3 videos",
            "updated_time": null,
            "thumbnails": [
                {
                    "url": "https://i.ytimg.com/vi/9wq3VHsL_bE/hqdefault.jpg",
                    "width": 480,
                    "height": 270
                }
            ]
        },
        {
            "type": "playlist",
            "playlist_id": "PLB29CbKaE2OY",
            "title": "NASA Moon Base",
            "channel_name": "NASA",
            "video_count": 9,
            "video_count_text": "9 videos",
            "updated_time": null,
            "thumbnails": [
                {
                    "url": "https://i.ytimg.com/pl_c/PLB29CbKaE2OY/studio_square_thumbnail.jpg",
                    "width": 426,
                    "height": 240
                },
                {
                    "url": "https://i.ytimg.com/pl_c/PLB29CbKaE2OY/studio_square_thumbnail.jpg",
                    "width": 854,
                    "height": 480
                }
            ]
        }
    ],
    "continuation_token": "4qmFsgJ4EhhVQ0xBX0RpUjFGZktOdmp1VXBCSG15bFEaKkVnbHdiR0Y1YkdsemRITVlBeUFBTUFFNEFlb0RCME5uVGtSUmFsRSUzRJoCL2Jyb3dzZS1mZWVkVUNMQV9EaVIxRmZLTnZqdVVwQkhteWxRcGxheWxpc3RzMTA0"
}
Get Channel Playlists — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15623/youtube+content+scraper+api/42159/get+channel+playlists?channel_id=UCLA_DiR1FfKNvjuUpBHmylQ' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
One page (about 30, newest first) of a channel's videos with views, likes, length, full description and published_at (exact for up to 20 videos per call not seen before, flagged published_at_approximate beyond); max_published_days filters (0: none). The first page also returns the channel. Shorts: Get Channel Shorts.
Endpoint ID: 42160
GET https://zylalabs.com/api/15623/youtube+content+scraper+api/42160/get+channel+videos
INPUT PARAMETERS

Get Channel Videos — Endpoint Features

Object Description
channel_id Required Channel id (UC...), handle (@nasa) or channel URL
max_published_days Optional Only videos published in the last N days (0: no filter)
continuation_token Optional continuation_token from the previous page (null: no more pages)

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

channel_id
max_published_days
continuation_token
API EXAMPLE RESPONSE
JSON
{
    "continuation_token": "4qmFsgLZCRIYVUNMQV9EaVIxRmZLTnZqdVVwQkhteWxRGrwJOGdhRUJ4cUJCM3ItQmpyN0Jnb2tObVF4TkdNd05UQXRNREF3TUMweU9XSTBMVGxsT1dRdFlXTXpaV0l4TldRNU1XTXdFdEFHUVdaelYydHNOMFpmTVhwc2JWaFRkWGs0YjFOdFlrTkRSRXB3ZWtKTVpUbHlNM2hZTVRsbFNqazFZM1l3TjBZdFQxUklZM05HVlZWMmVrOVZVWFp1U25seFFrRndjSGd5UTFoeWFFMUhhVVJVVjNWb1F6UTRURm8yZGxOMVN6TkZTRXhIVEZWM1NuZFpNa2xZYm1OaGFua3lia2gzWmw4NWNraDBRV3BwZERGQmRXaHRkMmxCZDFRMGJVeGFMWEpaYnpSUlNXWklSREpPY1ZwU1IzaDRlV2QyZFZKMFMzUmpaVFI2WDJneWJsQldkRUY0VERGeVVIQlBlVTlCTkV4dU5rNUVWMHh3ZEZKcmJWaENja0p4VFVWcE9WVXdUakJxTW1obU5IRXRNQzFuWWsxUlJWcGlNVUZ5WTNCdFpsOHRhRVV6WlVKd1IwMTJMVFp5UjNGUlZYWXdPRWxzUWs5TFNucGphSGxNVUVsMFowZDZUMkZ3TkhwZmRrVmFhbEJRVERjME1sSlhRMnMxVVZCVFltVklNVXBKY1RCcWNXdEliRWxpZFhVeGEwTjJiV0poVWpSVWJHVm1aMWt4YmtKelRrbzNkbTlTUkhZNExXSTJjakJMVlVaNWRuYzBkbEJSYjA0MmFtOTRWek16UmpkUmQxTTVPSGhNUXpOUU5GWnlPUzFIVXpKNmJteFBheTF4UWpsMFVVVlVkV3N3WXpORmVHNTBRaTFJYW5sdmRqSmljREpuVG5wM01rRm5ibUpxVkRWWlowbDVMWEZPVjJWcFVUZEhaMGwwTW14bWRUTlBhekJOWlU1NE4ydFRVa1F0VG04MVNrTk5VVTl0UVZOTGNsTnhUVzlzWjBGS01VOTFSMFpJV21ac1FXbEhhbnBSUkVFdE5VaHdZbHB0YWpCSU5ISXdaRGQyUW5kc1JYcHNNVW81U21aV2EycE5kRkYxVnpGUE1HMUJlWFZTV25JemRHOVhUbkpRZG5sUFlqWlFaVUpLU2tVMmRGZHpiR05UVUd0UGQybHNYMnRRU0hSZlJFZDJTbEJWZDJRemFXWXdZVFo1WW5CME55MHhaREI2VWtabWQwaHdNV1psU0ZOZlp6QnFOMW80VVhrNWFEWkJZM2MyUlVGR1dXMVpZV0pFTkZWM1pFNHlRamgzU3pCT1VHZGtkbE00YlhOa2NEQkJlbTFpWm1zM1ZUZE9SRGN4ZGt4VFNrTktja1F3VFhrNVZYVkhVMFpoUlZaS2VWaHBVRU5tVm5aTFRUSm5hVE5wV1VsUFNrbE5ZWE5OYW5WalpFaE5TRzVqV1ZkQlYwMVhOUzFyTTFwdVpEUjZRVEZ5WVROdGQwSXhV...",
    "videos": [
        {
            "type": "video",
            "video_id": "5b3n-u_0QAI",
            "title": "Planetary Defenders: This Is Not an Exercise",
            "author": "NASA",
            "channel_name": "NASA",
            "channel_id": "UCLA_DiR1FfKNvjuUpBHmylQ",
            "video_length": 1215,
            "number_of_views": 476000,
            "number_of_views_text": "476K views",
            "like_count": 9162,
            "comment_count": null,
            "published_at": 1791990317,
            "published_at_approximate": false,
            "published_time": "2 days ago",
            "description": "When a newly discovered asteroid posed a potential risk to Earth, a global planetary defense system was put to the test like never before. \n\nPlanetary Defenders: This Is Not an Exercise tells the story of how NASA, its international partners, the astronomy community, and scientists around the world raced to observe and track the asteroid, understand its orbit into the future, calculate its impact probabilities, and eventually retire it from the risk list.\n\nLearn more about NASA’s efforts to find, track and monitor near-Earth asteroids: https://science.nasa.gov/planetary-defense/\nWatch the debut episode of \"Planetary Defenders\": https://www.youtube.com/watch?v=jOb2DQWvDvc",
            "description_snippet": null,
            "is_live": false,
            "thumbnails": [
                {
                    "url": "https://i.ytimg.com/vi/5b3n-u_0QAI/hq720.jpg",
                    "width": 360,
                    "height": 202
                },
                {
                    "url": "https://i.ytimg.com/vi/5b3n-u_0QAI/hq720.jpg",
                    "width": 720,
                    "height": 404
                }
            ]
        },
        {
            "type": "video",
            "video_id": "ErAqN6gXqZQ",
            "title": "NASA's SpaceX Crew-13 Mission (Official NASA Trailer)",
            "author": "NASA",
            "channel_name": "NASA",
            "channel_id": "UCLA_DiR1FfKNvjuUpBHmylQ",
            "video_length": 62,
            "number_of_views": 103000,
            "number_of_views_text": "103K views",
            "like_count": 1263,
            "comment_count": null,
            "published_at": 1790794100,
            "published_at_approximate": false,
            "published_time": "2 weeks ago",
            "description": "NASA astronauts Jessica Watkins and Luke Delaney, CSA (Canadian Space Agency) astronaut Joshua Kutryk, and Roscosmos cosmonaut Sergey Teteryatnikov are scheduled to lift off to the International Space Station on Thursday, Oct. 1.\n\nOnce they arrive, they'll spend the next several months in orbit, helping us learn how to live in space while running scientific experiments to make life better back on Earth. Watch the live launch with us here on YouTube.\n\nMore info on our Crew-13 launch schedule: https://go.nasa.gov/3V9NKT0\nDownload this video: https://go.nasa.gov/4zaz3Of",
            "description_snippet": null,
            "is_live": false,
            "thumbnails": [
                {
                    "url": "https://i.ytimg.com/vi/ErAqN6gXqZQ/hq720.jpg",
                    "width": 360,
                    "height": 202
                },
                {
                    "url": "https://i.ytimg.com/vi/ErAqN6gXqZQ/hq720.jpg",
                    "width": 720,
                    "height": 404
                }
            ]
        }
    ],
    "channel": {
        "channel_id": "UCLA_DiR1FfKNvjuUpBHmylQ",
        "title": "NASA",
        "description": "NASA's mission is to pioneer the future in space exploration, scientific discovery, and aeronautics research.\r\n\r\nTo do that, we have worked around the world—and off it—for more than 60 years, searching for answers to fundamental questions about our place in the universe. We're exploring space and discovering Earth. Join us on this exciting and important journey.\n",
        "subscriber_count": 15100000,
        "view_count": 1129592359,
        "video_count": 6191,
        "links": [
            {
                "name": "nasa.gov",
                "endpoint": "nasa.gov"
            },
            {
                "name": "X",
                "endpoint": "x.com/nasa"
            }
        ],
        "avatar": [
            {
                "url": "https://yt3.googleusercontent.com/eIf5fNPcIcj9ig-wZBeq4stFy1lgjWTW1nLT5dYlFkHZprZ03QBiMcbpwNMB6XSBjrSFGtAGQg=s72-c-k-c0x00ffffff-no-rj",
                "width": 72,
                "height": 72
            },
            {
                "url": "https://yt3.googleusercontent.com/eIf5fNPcIcj9ig-wZBeq4stFy1lgjWTW1nLT5dYlFkHZprZ03QBiMcbpwNMB6XSBjrSFGtAGQg=s120-c-k-c0x00ffffff-no-rj",
                "width": 120,
                "height": 120
            }
        ],
        "banner": [
            {
                "url": "https://yt3.googleusercontent.com/y8Srh-oCcilLvBO8jAPI546m1bn0puA5DIvQiBZ1cSxc_rZfKxKSFlTCtoCQCtB6viUf1NGsaQ=w1060-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
                "width": 1060,
                "height": 175
            },
            {
                "url": "https://yt3.googleusercontent.com/y8Srh-oCcilLvBO8jAPI546m1bn0puA5DIvQiBZ1cSxc_rZfKxKSFlTCtoCQCtB6viUf1NGsaQ=w1138-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
                "width": 1138,
                "height": 188
            }
        ],
        "verified": true,
        "username": "@NASA",
        "keywords": "nasa space iss shuttle 50th astronauts planets earth rockets hubble telescopes NASA TV galaxy apollo gemini mercury sta Moon Artemis \"solar system\"",
        "creation_date": 1212451200,
        "country": null
    }
}
Get Channel Videos — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15623/youtube+content+scraper+api/42160/get+channel+videos?channel_id=UCLA_DiR1FfKNvjuUpBHmylQ&max_published_days=Optional' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Replies under one comment: pass its replies_token from Get Video Comments.
Endpoint ID: 42161
GET https://zylalabs.com/api/15623/youtube+content+scraper+api/42161/get+comment+replies
INPUT PARAMETERS

Get Comment Replies — Endpoint Features

Object Description
video_id Required YouTube video id
replies_token Required replies_token of a comment from /video/comments

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

video_id
replies_token
API EXAMPLE RESPONSE
JSON
{
    "video_id": "dQw4w9WgXcQ",
    "total_number_of_comments": null,
    "number_of_comments": 10,
    "continuation_token": "Eg0SC2RRdzR3OVdnWGNRGAYy2AEKUWdldF9jb21tZW50X3dpdGhfcmVwbGllc19zdHJlYW0tLUNnZ0lnQVFWRjdmUk9CSUZDS0FnR0FFaURRb0xDTXlUNGZVRkVNaWU0UzFRQUZnQhpQEhpVZ3h6YnZfWmVaWE5SY2Z3c1NGNEFhQUJBZyICCAAqGFVDdUFYRmtnc3cxTDd4YUNmbmQ1SkpPdzILZFF3NHc5V2dYY1FAAUgyggECCAEoCkIvY29tbWVudC1yZXBsaWVzLWl0ZW0tVWd4emJ2X1plWlhOUmNmd3NTRjRBYUFCQWc%3D",
    "comments": [
        {
            "id": "example_id_1",
            "author_name": "@example_user_1",
            "author_channel_id": "example_id_1",
            "like_count": 4300,
            "like_count_text": "4.3K",
            "published_time": "6 years ago (edited)",
            "published_at": 1602998834,
            "text": "Example text.",
            "number_of_replies": 0,
            "thumbnails": [
                {
                    "url": "https://example.com/media/1.jpg"
                }
            ],
            "replies_token": null
        },
        {
            "id": "example_id_2",
            "author_name": "@example_user_2",
            "author_channel_id": "example_id_2",
            "like_count": 3000,
            "like_count_text": "3K",
            "published_time": "6 years ago",
            "published_at": 1602998834,
            "text": "Example text.",
            "number_of_replies": 0,
            "thumbnails": [
                {
                    "url": "https://example.com/media/2.jpg"
                }
            ],
            "replies_token": null
        }
    ]
}
Get Comment Replies — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15623/youtube+content+scraper+api/42161/get+comment+replies?video_id=dQw4w9WgXcQ&replies_token=Eg0SC2RRdzR3OVdnWGNRGAYygwEaUBIaVWd4emJ2X1plWlhOUmNmd3NTRjRBYUFCQWciAggAKhhVQ3VBWEZrZ3N3MUw3eGFDZm5kNUpKT3cyC2RRdzR3OVdnWGNRQAFICoIBAggBQi9jb21tZW50LXJlcGxpZXMtaXRlbS1VZ3h6YnZfWmVaWE5SY2Z3c1NGNEFhQUJBZw%3D%3D' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Top comments (20 per page) with integer likes, reply count, approximate published_at (YouTube only shows '2 days ago') and a replies_token each; continuation_token pages.
Endpoint ID: 42162
GET https://zylalabs.com/api/15623/youtube+content+scraper+api/42162/get+video+comments
INPUT PARAMETERS

Get Video Comments — Endpoint Features

Object Description
video_id Optional YouTube Video id
url Optional Video URL, instead of video_id
continuation_token Optional continuation_token from the previous page

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

video_id
url
continuation_token
API EXAMPLE RESPONSE
JSON
{
    "video_id": "dQw4w9WgXcQ",
    "total_number_of_comments": 2459884,
    "number_of_comments": 20,
    "continuation_token": "Eg0SC2RRdzR3OVdnWGNRGAYy_gIK1AJnZXRfcmFua2VkX3N0cmVhbXMtLUNxWUJDSUFFRlJlMzBUZ2Ftd0VLbGdFSTJGOFFnQVFZQnlLTEFmdHRDaVNfMmRWOVhOM1BUNVhwU2hRQkZWcGFaUUJzNlJDcUxnanVrenlvdXZMcXhMT2lUUE9nX2pLWXVKb0Jpa0JoRXgtYW1CVTZPS29NV1ZUSDVlY0s5Vm5TcVBNc3R1ZVVCZTJRVG9qQVltSHJDekFldjBkQUh4QVlyc3RiVEMtMDhLdWFlZzJhS3EyQTFFZzJNb1ZWZ3dxUC1qbURRWjVmQ1VxRE1IYXY0UHNibHR6a1FnM0ctYlFRRkJJRkNJY2dHQUFTQlFpSklCZ0FFZ1VJaUNBWUFCSUZDS2dnR0FBU0JRaUdJQmdBRWdVSXdDQVlBQklIQ0lVZ0VBVVlBUklGQ0xzZ0dBQVNCd2lFSUJBUUdBRlFBRmdCIhEiC2RRdzR3OVdnWGNRMAB4ASgUQhBjb21tZW50cy1zZWN0aW9u",
    "comments": [
        {
            "id": "example_id_1",
            "author_name": "@example_user_1",
            "author_channel_id": "example_id_1",
            "like_count": 291000,
            "like_count_text": "291K",
            "published_time": "6 years ago",
            "published_at": 1602998823,
            "text": "Example text.",
            "number_of_replies": 679,
            "thumbnails": [
                {
                    "url": "https://example.com/media/1.jpg"
                }
            ],
            "replies_token": "example_id_1"
        },
        {
            "id": "example_id_2",
            "author_name": "@example_user_2",
            "author_channel_id": "example_id_2",
            "like_count": 104000,
            "like_count_text": "104K",
            "published_time": "6 years ago (edited)",
            "published_at": 1602998823,
            "text": "Example text.",
            "number_of_replies": 610,
            "thumbnails": [
                {
                    "url": "https://example.com/media/2.jpg"
                }
            ],
            "replies_token": "example_id_2"
        }
    ]
}
Get Video Comments — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15623/youtube+content+scraper+api/42162/get+video+comments?video_id=dQw4w9WgXcQ' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Next page of Get Video Comments (same as passing continuation_token to it).
Endpoint ID: 42163
GET https://zylalabs.com/api/15623/youtube+content+scraper+api/42163/get+video+comments+for+next+page
INPUT PARAMETERS

Get Video Comments for next page — Endpoint Features

Object Description
video_id Required YouTube Video id
continuation_token Required continuation_token from the previous page

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

video_id
continuation_token
API EXAMPLE RESPONSE
JSON
{
    "video_id": "dQw4w9WgXcQ",
    "total_number_of_comments": null,
    "number_of_comments": 20,
    "continuation_token": "Eg0SC2RRdzR3OVdnWGNRGAYymgQK8ANnZXRfcmFua2VkX3N0cmVhbXMtLUNvMENDSUFFRlJlMzBUZ2FnZ0lLX1FFSTJGOFFnQVFZQnlMeUFUUDZfcEFTb1NOOHlhbTRkNzlSWGtLalB5OTFCMktuSkpDMFlycFM5TkFDV0RQY2dsY2RZRWgzTlM2b04xUDZZTmlYWmpmdnRLTHNsYjlLRDdYZnRucTAyV3VWTFpia0NUX1JoWXRYR1ZBbktnUVpPX0VmbXNGbkRYSnplSGgwR2NKN0NWUWF5TVhJdmhVcDFHY3JTRm1nejdGVlNmTXN1Xzg1VkZ0RkVHdGhZS2ZrVmVaR1drSU1fbnBNeFFpdGIyQkNBZzRPZWp5dnJ0c3VReXNsOW00T1NfTWJWa0ZDTjBqYnFoR3FFQWk0aGxZSmhoU0IxR2Q0aW1xUWFHRlZ2M21CZC0tRUhfam9kRUZaNGgwYzlLUmZFSVFES0xjTG1pVWVZaHpwTzlobEJhbjJDN29DelJXSi02TXV1ci1HNEg0TkVDZ1NCUWlvSUJnQUVnVUlpQ0FZQUJJRkNJY2dHQUFTQlFpSklCZ0FFZ1VJaGlBWUFCSUhDSVVnRUFvWUFSSUZDTUFnR0FBU0J3aUVJQkFmR0FFU0JRaWZJQmdBRWdVSXd5QVlBQklGQ0xzZ0dBQlFBRmdCIhEiC2RRdzR3OVdnWGNRMAB4ASgoQhBjb21tZW50cy1zZWN0aW9u",
    "comments": [
        {
            "id": "example_id_1",
            "author_name": "@example_user_1",
            "author_channel_id": "example_id_1",
            "like_count": 12,
            "like_count_text": "12",
            "published_time": "6 days ago",
            "published_at": 1791696431,
            "text": "Example text.",
            "number_of_replies": 0,
            "thumbnails": [
                {
                    "url": "https://example.com/media/1.jpg"
                }
            ],
            "replies_token": null
        },
        {
            "id": "example_id_2",
            "author_name": "@example_user_2",
            "author_channel_id": "example_id_2",
            "like_count": 403000,
            "like_count_text": "403K",
            "published_time": "6 years ago",
            "published_at": 1602998831,
            "text": "Example text.",
            "number_of_replies": 604,
            "thumbnails": [
                {
                    "url": "https://example.com/media/2.jpg"
                }
            ],
            "replies_token": "example_id_2"
        }
    ]
}
Get Video Comments for next page — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15623/youtube+content+scraper+api/42163/get+video+comments+for+next+page?video_id=dQw4w9WgXcQ&continuation_token=Eg0SC2RRdzR3OVdnWGNRGAYy_gIK1AJnZXRfcmFua2VkX3N0cmVhbXMtLUNxWUJDSUFFRlJlMzBUZ2Ftd0VLbGdFSTJGOFFnQVFZQnlLTEFmdHRDaVNfMmRWOVhOM1BUNVhwU2hRQkZWcGFaUUJzNlJDcUxnanVrenlvdXZMcXhMT2lUUE9nX2pLWXVKb0Jpa0JoRXgtYW1CVTZPS29NV1ZUSDVlY0s5Vm5TcVBNc3R1ZVVCZTJRVG9qQVltSHJDekFldjBkQUh4QVlyc3RiVEMtMDhLdWFlZzJhS3EyQTFFZzJNb1ZWZ3dxUC1qbURRWjVmQ1VxRE1IYXY0UHNibHR6a1FnM0ctYlFRRkJJRkNJY2dHQUFTQlFpSklCZ0FFZ1VJaUNBWUFCSUZDS2dnR0FBU0JRaUdJQmdBRWdVSXdDQVlBQklIQ0lVZ0VBVVlBUklGQ0xzZ0dBQVNCd2lFSUJBUUdBRlFBRmdCIhEiC2RRdzR3OVdnWGNRMAB4ASgUQhBjb21tZW50cy1zZWN0aW9u' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Videos of a YouTube hashtag page (#tag), with published_at (exact for up to 20 per call not seen before, flagged approximate beyond). A tag with no page answers an empty list.
Endpoint ID: 42164
GET https://zylalabs.com/api/15623/youtube+content+scraper+api/42164/get+hashtag+videos
INPUT PARAMETERS

Get Hashtag Videos — Endpoint Features

Object Description
tag Required Hashtag, with or without #
continuation_token Optional continuation_token from the previous page

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

tag
continuation_token
API EXAMPLE RESPONSE
JSON
{
    "tag": "artemis",
    "count": 17,
    "results": [
        {
            "type": "video",
            "video_id": "VsN7E35LpJE",
            "title": "Lindsey Stirling - Artemis (Official Music Video)",
            "author": "Lindsey Stirling",
            "channel_name": "Lindsey Stirling",
            "channel_id": "UCyC_4jvPzLiSkJkLIkA7B8g",
            "video_length": 243,
            "number_of_views": 28274986,
            "number_of_views_text": "28,274,986 views",
            "like_count": 495217,
            "comment_count": null,
            "published_at": 1567180811,
            "published_at_approximate": false,
            "published_time": "7 years ago",
            "description": "Stream/Download ‘Lose You Now’ here: https://found.ee/LS_LoseYouNow\nMy new album #Artemis is out now! https://found.ee/LS_Artemis\nCome see me on the #ArtemisTour! Tickets are on sale now!\nHead here for tour dates, tickets, and VIP upgrades: http://www.lindseystirling.com/\n\nDirectors: Stephen Wayne Mallett & Lindsey Stirling \nProduction Company: Green Glow Films\nProducer: Hans Boysen\nHead of Production: Brooklynn Reeves\n\nDirector of Photography / Steadicam / Drone: Niels Lindelien\n1st AC: Sam Goddard\n2nd AC: Dewey Tann\n\nHair & Makeup: Alison Christian\nArtist Assistant: Lindsay Fishman\n\nDancer: Addison Byers\nDancer: Kailyn Rogers\nDancer: Jessica Richens\nDancer: Taylor Gagliano\n\nEditors: Lindsey Stirling & Stephen Wayne Mallett\nVFX Supervisor: Daniel Craven\nVFX Artist: Mitch Reaser\nColorist: Andrew Finch\n\nDirector Rep: Laure Scott\nBehind The Scenes: Kelly Balch\n\nProduction Assistant: Davis Mansmann\nProduction Assistant: Julian Grandberry\nProduction Assistant: Gavin Dye\n\nFilm Location Commissioner: Ally Vander Poel\nSpecial Thanks to  Kelly Balch & Tulare County\n\nSheet Music Here: https://lindseystirlingsheetmusic.com\n\nFollow me here:\nhttps://www.facebook.com/lindseystirlingmusic\nhttps://twitter.com/LindseyStirling\nhttp://www.instagram.com/LindseyStirling\n\nSign up for my super-cool newsletter here:\nhttp://lindseystirling.fanbridge.com",
            "description_snippet": null,
            "is_live": false,
            "thumbnails": [
                {
                    "url": "https://i.ytimg.com/vi/VsN7E35LpJE/hqdefault.jpg",
                    "width": 168,
                    "height": 94
                },
                {
                    "url": "https://i.ytimg.com/vi/VsN7E35LpJE/hqdefault.jpg",
                    "width": 196,
                    "height": 110
                }
            ]
        },
        {
            "type": "video",
            "video_id": "GsdsqOy_H2U",
            "title": "Artemis 2 : la NASA fait moins qu'Apollo 8 en 1968 !",
            "author": "Aldo Sterone",
            "channel_name": "Aldo Sterone",
            "channel_id": "UCsua55kDzTYX_jztd7PckWw",
            "video_length": 1594,
            "number_of_views": 121703,
            "number_of_views_text": "121,703 views",
            "like_count": 8504,
            "comment_count": null,
            "published_at": 1775489570,
            "published_at_approximate": false,
            "published_time": "6 months ago",
            "description": "Mission Artemis 2 contre Apollo, par Aldo Sterone\n#NASA #Lune #Artemis #Apollo \n\n- ON N'A JAMAIS MARCHE SUR LA LUNE: L'IMPOSTURE APOLLO\nhttps://www.amazon.fr/dp/1979585989\n- ON N'A JAMAIS MARCHÉ SUR LA LUNE: LES QUESTIONS INTERDITES\nhttps://www.amazon.fr/dp/B0G4GMSS7V\n\n\nJoignez-vous à mon canal pour me soutenir et sponsoriser mon effort créatif :\n\nhttps://www.youtube.com/channel/UCsua55kDzTYX_jztd7PckWw/join",
            "description_snippet": null,
            "is_live": false,
            "thumbnails": [
                {
                    "url": "https://i.ytimg.com/vi/GsdsqOy_H2U/hqdefault.jpg",
                    "width": 168,
                    "height": 94
                },
                {
                    "url": "https://i.ytimg.com/vi/GsdsqOy_H2U/hqdefault.jpg",
                    "width": 196,
                    "height": 110
                }
            ]
        }
    ],
    "continuation_token": null
}
Get Hashtag Videos — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15623/youtube+content+scraper+api/42164/get+hashtag+videos?tag=artemis' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
YouTube search by type (all, video, channel, playlist, short), with upload_date (hour/today/week/month/year), duration (short/medium/long) and sort_by (relevance or views; YouTube no longer sorts by date or rating). Videos: integer views and length, likes, exact published_at (approximate when flagged), description. Channels: integer subscribers.
Endpoint ID: 42165
GET https://zylalabs.com/api/15623/youtube+content+scraper+api/42165/search+videos+channels+playlists+and++shorts
INPUT PARAMETERS

Search Videos Channels Playlists and Shorts — Endpoint Features

Object Description
query Required Search text
type Optional all, video, channel, playlist or short
upload_date Optional Only results uploaded in the last hour, today, this week, month or year
duration Optional short (< 4 min), medium (4-20 min) or long (> 20 min)
sort_by Optional relevance (default) or views (most viewed first)
continuation_token Optional To get Next page

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

query
type
upload_date
duration
sort_by
continuation_token
API EXAMPLE RESPONSE
JSON
{
    "query": "nasa artemis",
    "type": "all",
    "count": 42,
    "results": [
        {
            "type": "channel",
            "channel_id": "UCLA_DiR1FfKNvjuUpBHmylQ",
            "title": "NASA",
            "handle": "@NASA",
            "subscribers": 15100000,
            "subscribers_text": "15.1M subscribers",
            "description_snippet": "NASA's mission is to pioneer the future in space exploration, scientific discovery, and aeronautics research. To do that, we have ...",
            "thumbnails": [
                {
                    "url": "https://yt3.ggpht.com/eIf5fNPcIcj9ig-wZBeq4stFy1lgjWTW1nLT5dYlFkHZprZ03QBiMcbpwNMB6XSBjrSFGtAGQg=s88-c-k-c0x00ffffff-no-rj-mo",
                    "width": 88,
                    "height": 88
                },
                {
                    "url": "https://yt3.ggpht.com/eIf5fNPcIcj9ig-wZBeq4stFy1lgjWTW1nLT5dYlFkHZprZ03QBiMcbpwNMB6XSBjrSFGtAGQg=s176-c-k-c0x00ffffff-no-rj-mo",
                    "width": 176,
                    "height": 176
                }
            ]
        },
        {
            "type": "playlist",
            "playlist_id": "PL2aBZuCeDwlQvNtHhNJtarm9OewQwVntv",
            "title": "Artemis II Mission Coverage",
            "channel_name": "NASA",
            "video_count": 23,
            "video_count_text": "23 videos",
            "updated_time": null,
            "thumbnails": [
                {
                    "url": "https://i.ytimg.com/vi/DYY4nnfxKbU/hq720.jpg",
                    "width": 360,
                    "height": 202
                },
                {
                    "url": "https://i.ytimg.com/vi/DYY4nnfxKbU/hq720.jpg",
                    "width": 720,
                    "height": 404
                }
            ]
        }
    ],
    "continuation_token": "Ep0DEgxuYXNhIGFydGVtaXMajANTQlNDQVJoVlEweEJYMFJwVWpGR1prdE9kbXAxVlhCQ1NHMTViRkdDQVNKUVRESmhRbHAxUTJWRWQyeFJkazUwU0doT1NuUmhjbTA1VDJWM1VYZFdiblIyZ2dFTFlYYzVSVTVKUVhGclFUaUNBUXRMWlRaWVdEaEdTRTlJVFlJQkMxOVVPR051TWtveE15MDBnZ0VMWDJWbFdsRjNPVkJDWXpDQ0FRdHVabWhFZFU5SVRYQXdRWUlCQzFSbVgxVnFRazFKZWs1dmdnRUxOblZQY1hGUWRYQlRlVUdDQVF0V1p5MUZVVGROVDNVMlNZSUJDMEU0YjNkSWNYaFNNemRCZ2dFTFNEWTJVMVJGTVROUWVGV0NBUXRDWHpkRlZXMURlR04yUllJQkMzcGpkRlJMWkZGamJWWkJnZ0VMT1V4R1FrWlNTRFV4U20tQ0FRdHpUVzlZVG5FeWJqbGZXWUlCQzNvdGFqRjFlRUp0YVhNd3NnRUdDZ1FJRXhBQzZnRUVDQUlRR1ElM0QlM0QYgeDoGCILc2VhcmNoLWZlZWQ%3D"
}
Search Videos Channels Playlists and Shorts — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15623/youtube+content+scraper+api/42165/search+videos+channels+playlists+and++shorts?query=nasa artemis&type=all&upload_date=month&duration=long&sort_by=views' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
What YouTube's search box suggests for a partial query, in a language and country.
Endpoint ID: 42166
GET https://zylalabs.com/api/15623/youtube+content+scraper+api/42166/get+search+suggestions
INPUT PARAMETERS

Get Search Suggestions — Endpoint Features

Object Description
query Required The start of a search
language Optional Language code (default en)
country_code Optional Country code (default US)

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

query
language
country_code
API EXAMPLE RESPONSE
JSON
{
    "query": "nasa ar",
    "suggestions": [
        "nasa ariana grande",
        "nasa artemis lego"
    ]
}
Get Search Suggestions — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15623/youtube+content+scraper+api/42166/get+search+suggestions?query=nasa ar&language=fr&country_code=FR' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
One page (about 48) of a channel's Shorts with views, likes, length and published_at (exact for up to 20 per call not seen before, flagged approximate beyond).
Endpoint ID: 42167
GET https://zylalabs.com/api/15623/youtube+content+scraper+api/42167/get+channel+shorts
INPUT PARAMETERS

Get Channel Shorts — Endpoint Features

Object Description
channel_id Required Channel id (UC...), handle (@nasa) or channel URL
continuation_token Optional continuation_token from the previous page (null: no more pages)

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

channel_id
continuation_token
API EXAMPLE RESPONSE
JSON
{
    "continuation_token": null,
    "videos": [
        {
            "type": "short",
            "video_id": "-62C9R_41Sc",
            "title": "From the Moon to the 50-Yard Line",
            "author": "NASA",
            "channel_name": "NASA",
            "channel_id": "UCLA_DiR1FfKNvjuUpBHmylQ",
            "video_length": 39,
            "number_of_views": 46000,
            "number_of_views_text": "46K views",
            "like_count": 867,
            "comment_count": null,
            "published_at": 1791242506,
            "published_at_approximate": false,
            "published_time": null,
            "description": "From the Moon to the 50-yard line.\n \nSix months ago, NASA astronaut Christina Koch flew Philadelphia Eagles Super Bowl confetti around the Moon on the Artemis II mission. Yesterday, in a full circle moment, she served as honorary captain at an Eagles game, bringing a little Moon Joy to the field.\n \n#ArtemisII #FlyEaglesFly #MoonJoy",
            "description_snippet": null,
            "is_live": false,
            "thumbnails": [
                {
                    "url": "https://i.ytimg.com/vi/-62C9R_41Sc/sardefault.jpg",
                    "width": 405,
                    "height": 720
                },
                {
                    "url": "https://i.ytimg.com/vi/-62C9R_41Sc/sardefault.jpg",
                    "width": 405,
                    "height": 608
                }
            ]
        },
        {
            "type": "short",
            "video_id": "myZ9kn9MIWQ",
            "title": "2026 Solar Eclipse @ 50,000 Feet",
            "author": "NASA",
            "channel_name": "NASA",
            "channel_id": "UCLA_DiR1FfKNvjuUpBHmylQ",
            "video_length": 93,
            "number_of_views": 269000,
            "number_of_views_text": "269K views",
            "like_count": 14085,
            "comment_count": null,
            "published_at": 1786726014,
            "published_at_approximate": false,
            "published_time": null,
            "description": "These views, including footage from GoPro cameras, were captured by NASA's WB-57 aircraft during the 2026 total solar eclipse. Taking off from Iceland, our pilots studied the Sun's corona as they raced along the path of totality.\n\nCredit: NASA",
            "description_snippet": null,
            "is_live": false,
            "thumbnails": [
                {
                    "url": "https://i.ytimg.com/vi/myZ9kn9MIWQ/sardefault.jpg",
                    "width": 405,
                    "height": 720
                },
                {
                    "url": "https://i.ytimg.com/vi/myZ9kn9MIWQ/sardefault.jpg",
                    "width": 405,
                    "height": 608
                }
            ]
        }
    ],
    "channel": {
        "channel_id": "UCLA_DiR1FfKNvjuUpBHmylQ",
        "title": "NASA",
        "description": "NASA's mission is to pioneer the future in space exploration, scientific discovery, and aeronautics research.\r\n\r\nTo do that, we have worked around the world—and off it—for more than 60 years, searching for answers to fundamental questions about our place in the universe. We're exploring space and discovering Earth. Join us on this exciting and important journey.\n",
        "subscriber_count": 15100000,
        "view_count": 1129592359,
        "video_count": 6191,
        "links": [
            {
                "name": "nasa.gov",
                "endpoint": "nasa.gov"
            },
            {
                "name": "X",
                "endpoint": "x.com/nasa"
            }
        ],
        "avatar": [
            {
                "url": "https://yt3.googleusercontent.com/eIf5fNPcIcj9ig-wZBeq4stFy1lgjWTW1nLT5dYlFkHZprZ03QBiMcbpwNMB6XSBjrSFGtAGQg=s72-c-k-c0x00ffffff-no-rj",
                "width": 72,
                "height": 72
            },
            {
                "url": "https://yt3.googleusercontent.com/eIf5fNPcIcj9ig-wZBeq4stFy1lgjWTW1nLT5dYlFkHZprZ03QBiMcbpwNMB6XSBjrSFGtAGQg=s120-c-k-c0x00ffffff-no-rj",
                "width": 120,
                "height": 120
            }
        ],
        "banner": [
            {
                "url": "https://yt3.googleusercontent.com/y8Srh-oCcilLvBO8jAPI546m1bn0puA5DIvQiBZ1cSxc_rZfKxKSFlTCtoCQCtB6viUf1NGsaQ=w1060-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
                "width": 1060,
                "height": 175
            },
            {
                "url": "https://yt3.googleusercontent.com/y8Srh-oCcilLvBO8jAPI546m1bn0puA5DIvQiBZ1cSxc_rZfKxKSFlTCtoCQCtB6viUf1NGsaQ=w1138-fcrop64=1,00005a57ffffa5a8-k-c0xffffffff-no-nd-rj",
                "width": 1138,
                "height": 188
            }
        ],
        "verified": true,
        "username": "@NASA",
        "keywords": "nasa space iss shuttle 50th astronauts planets earth rockets hubble telescopes NASA TV galaxy apollo gemini mercury sta Moon Artemis \"solar system\"",
        "creation_date": 1212451200,
        "country": null
    }
}
Get Channel Shorts — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15623/youtube+content+scraper+api/42167/get+channel+shorts?channel_id=UCLA_DiR1FfKNvjuUpBHmylQ' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Muxed (video + audio MP4, usually 360p), video-only and audio-only stream URLs with quality, codec and size; muxed_available says whether a muxed MP4 exists. URLs expire after expires_in_seconds and redirect once; follow redirects.
Endpoint ID: 42168
GET https://zylalabs.com/api/15623/youtube+content+scraper+api/42168/get+video+download+and++stream+urls
INPUT PARAMETERS

Get Video Download and Stream URLs — Endpoint Features

Object Description
video_id Optional YouTube Video id
url Optional Video URL, instead of video_id

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

video_id
url
API EXAMPLE RESPONSE
JSON
{
    "video_id": "dQw4w9WgXcQ",
    "title": "Rick Astley - Never Gonna Give You Up (Official Video) (4K Remaster)",
    "duration_seconds": 213,
    "is_live": false,
    "expires_in_seconds": 21540,
    "hls_manifest_url": "https://manifest.googlevideo.com/api/manifest/hls_variant/…",
    "muxed_available": true,
    "muxed": [
        {
            "itag": 18,
            "url": "https://rr1---sn-5uaeznly.googlevideo.com/videoplayback",
            "mime_type": "video/mp4; codecs=\"avc1.42001E, mp4a.40.2\"",
            "quality": "360p",
            "bitrate": 444226,
            "width": 640,
            "height": 360,
            "fps": 25,
            "content_length": 0,
            "duration_ms": 213089,
            "audio_quality": "AUDIO_QUALITY_LOW",
            "audio_sample_rate": 44100
        }
    ],
    "video_only": [
        {
            "itag": 313,
            "url": "https://rr1---sn-5uaeznly.googlevideo.com/videoplayback",
            "mime_type": "video/webm; codecs=\"vp09.00.50.08\"",
            "quality": "2160p",
            "bitrate": 18076636,
            "width": 3840,
            "height": 2160,
            "fps": 25,
            "content_length": 358608461,
            "duration_ms": 213040,
            "audio_quality": null,
            "audio_sample_rate": 0
        },
        {
            "itag": 401,
            "url": "https://rr1---sn-5uaeznly.googlevideo.com/videoplayback",
            "mime_type": "video/mp4; codecs=\"av01.0.12M.08\"",
            "quality": "2160p",
            "bitrate": 17400774,
            "width": 3840,
            "height": 2160,
            "fps": 25,
            "content_length": 240334643,
            "duration_ms": 213040,
            "audio_quality": null,
            "audio_sample_rate": 0
        }
    ],
    "audio_only": [
        {
            "itag": 251,
            "url": "https://rr1---sn-5uaeznly.googlevideo.com/videoplayback",
            "mime_type": "audio/webm; codecs=\"opus\"",
            "quality": "tiny",
            "bitrate": 136544,
            "width": null,
            "height": null,
            "fps": null,
            "content_length": 3433755,
            "duration_ms": 213061,
            "audio_quality": "AUDIO_QUALITY_MEDIUM",
            "audio_sample_rate": 48000
        },
        {
            "itag": 140,
            "url": "https://rr1---sn-5uaeznly.googlevideo.com/videoplayback",
            "mime_type": "audio/mp4; codecs=\"mp4a.40.2\"",
            "quality": "tiny",
            "bitrate": 130677,
            "width": null,
            "height": null,
            "fps": null,
            "content_length": 3449447,
            "duration_ms": 213089,
            "audio_quality": "AUDIO_QUALITY_MEDIUM",
            "audio_sample_rate": 44100
        }
    ]
}
Get Video Download and Stream URLs — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15623/youtube+content+scraper+api/42168/get+video+download+and++stream+urls?video_id=dQw4w9WgXcQ' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Timed transcript segments of a video, the full text and the available caption languages.
Endpoint ID: 42169
GET https://zylalabs.com/api/15623/youtube+content+scraper+api/42169/get+video+transcript+subtitles
INPUT PARAMETERS

Get Video Transcript Subtitles — Endpoint Features

Object Description
video_id Optional YouTube Video id
url Optional Video URL, instead of video_id
lang Optional Language code, e.g. en, en-US, fr (default: the first uploaded track)

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

video_id
url
lang
API EXAMPLE RESPONSE
JSON
{
    "video_id": "dQw4w9WgXcQ",
    "lang": "en",
    "is_auto_generated": false,
    "available_languages": [
        {
            "lang": "en",
            "name": "English",
            "is_auto_generated": false
        },
        {
            "lang": "en",
            "name": "English (auto-generated)",
            "is_auto_generated": true
        }
    ],
    "text": "[♪♪♪] ♪ We're no strangers to love ♪ ♪ You know the rules\nand so do I ♪ ♪ A full commitment's\nwhat I'm thinking of ♪ ♪ You wouldn't get this\nfrom any other guy ♪ ♪ I just wanna tell you\nhow I'm feeling ♪ ♪ Gotta make you understand ♪ ♪ Never gonna give you up ♪ ♪ Never gonna let you down ♪ ♪ Never gonna run around\nand desert you ♪ ♪ Never gonna make you cry ♪ ♪ Never gonna say goodbye ♪ ♪ Never gonna tell a lie\nand hurt you ♪ ♪ We've known each other\nfor so long ♪ ♪ Your heart's been aching\nbut you're too shy to say it ♪ ♪ Inside we both know\nwhat's been going ♪ ♪ We know the game\nand we're gonna play it ♪ ♪ And if you ask me\nhow I'm feeling ♪ ♪ Don't tell me\nyou're too blind to see ♪ ♪ Never gonna give you up ♪ ♪ Never gonna let you down ♪ ♪ Never gonna run around\nand desert you ♪ ♪ Never gonna make you cry ♪ ♪ Never gonna say goodbye ♪ ♪ Never gonna tell a lie\nand hurt you ♪ ♪ Never gonna give you up ♪ ♪ Never gonna let you down ♪ ♪ Never gonna run around\nand desert you ♪ ♪ Never gonna make you cry ♪ ♪ Never gonna say goodbye ♪ ♪ Never gonna tell a lie\nand hurt you ♪ ♪ (Ooh, give you up) ♪ ♪ (Ooh, give you up) ♪ ♪ Never gonna give,\nnever gonna give ♪ ♪ (Give you up) ♪ ♪ Never gonna give,\nnever gonna give ♪ ♪ (Give you up) ♪ ♪ We've known each other\nfor so long ♪ ♪ Your heart's been aching\nbut you're too shy to say it ♪ ♪ Inside we both know\nwhat's been going ♪ ♪ We know the game\nand we're gonna play it ♪ ♪ I just wanna tell you\nhow I'm feeling ♪ ♪ Gotta make you understand ♪ ♪ Never gonna give you up ♪ ♪ Never gonna let you down ♪ ♪ Never gonna run around\nand desert you ♪ ♪ Never gonna make you cry ♪ ♪ Never gonna say goodbye ♪ ♪ Never gonna tell a lie\nand hurt you ♪ ♪ Never gonna give you up ♪ ♪ Never gonna let you down ♪ ♪ Never gonna run around\nand desert you ♪ ♪ Never gonna make you cry ♪ ♪ Never gonna say goodbye ♪ ♪ Never gonna tell a lie\nand hurt you ♪ ♪ Never gonna give you up ♪ ♪ Never gonna let you down ♪ ♪ Never gonna run around\nand desert you ♪ ♪ Never gonna make you cry ♪ ♪ Never gonna say goodbye ♪ ♪ Never gonna tell a lie\nand hurt you ♪",
    "segments": [
        {
            "start": 1.36,
            "duration": 1.68,
            "text": "[♪♪♪]"
        },
        {
            "start": 18.64,
            "duration": 3.24,
            "text": "♪ We're no strangers to love ♪"
        }
    ]
}
Get Video Transcript Subtitles — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15623/youtube+content+scraper+api/42169/get+video+transcript+subtitles?video_id=dQw4w9WgXcQ&lang=en' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Title, owner, integer video count and views of a playlist, with its videos (100 per page); published_at is exact for up to 20 videos per call not seen before, approximate (flagged) for the rest.
Endpoint ID: 42170
GET https://zylalabs.com/api/15623/youtube+content+scraper+api/42170/get+playlist+details+and+videos
INPUT PARAMETERS

Get Playlist Details and Videos — Endpoint Features

Object Description
playlist_id Optional Playlist id (PL...)
url Optional Playlist URL (…/playlist?list=PL…), instead of playlist_id
continuation_token Optional Next page of videos

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

playlist_id
url
continuation_token
API EXAMPLE RESPONSE
JSON
{
    "playlist_id": "PL2aBZuCeDwlS_2sGfYSvcoJZLRG069i-H",
    "title": "Artemis",
    "description": null,
    "channel_name": "NASA",
    "video_count": 196,
    "video_count_text": "196 videos",
    "views": 976476,
    "views_text": "976,476 views",
    "count": 100,
    "videos": [
        {
            "type": "video",
            "video_id": "IfRqrrBbT-Y",
            "title": "Artemis II Moon Mission Complete!",
            "author": "NASA",
            "channel_name": "NASA",
            "channel_id": "UCLA_DiR1FfKNvjuUpBHmylQ",
            "video_length": 213,
            "number_of_views": 974000,
            "number_of_views_text": "974K views",
            "like_count": 23665,
            "comment_count": null,
            "published_at": 1776024202,
            "published_at_approximate": false,
            "published_time": "6 months ago",
            "description": "Our Artemis II Moon mission is complete!\nSpace Launch System rocket launched crew into space\nOrion spacecraft  provided a safe “home away from home” for astronauts\nFlew around the Moon, observed its far side, and conducted science\nNew human spaceflight distance record \nCrew safely returned to Earth\nInspired the WORLD\n\nWe're just getting started: https://www.nasa.gov/mission/artemis-iii/\n\nDownload this video: https://images.nasa.gov/details/ARTEMIS%20II%20Mission%20Recap_ANB_V3",
            "description_snippet": null,
            "is_live": false,
            "thumbnails": [
                {
                    "url": "https://i.ytimg.com/vi/IfRqrrBbT-Y/hqdefault.jpg",
                    "width": 168,
                    "height": 94
                },
                {
                    "url": "https://i.ytimg.com/vi/IfRqrrBbT-Y/hqdefault.jpg",
                    "width": 196,
                    "height": 110
                }
            ]
        },
        {
            "type": "video",
            "video_id": "DYY4nnfxKbU",
            "title": "NASA's Artemis II Crew Return to Houston",
            "author": "NASA",
            "channel_name": "NASA",
            "channel_id": "UCLA_DiR1FfKNvjuUpBHmylQ",
            "video_length": 4860,
            "number_of_views": 1700000,
            "number_of_views_text": "1.7M views",
            "like_count": 48556,
            "comment_count": null,
            "published_at": 1775942765,
            "published_at_approximate": false,
            "published_time": "Streamed 6 months ago",
            "description": "After their historic journey around the Moon, the Artemis II astronauts are coming home. Watch as they arrive in Houston, Texas, home to NASA's Johnson Space Center.\n\nNASA astronauts Reid Wiseman, Victor Glover, Christina Koch, and CSA (Canadian Space Agency) astronaut Jeremy Hansen splashed down in the Pacific Ocean on April 10, 2026, concluding the Artemis II mission. The crew accomplished many milestones on their 10-day mission, surpassing the Apollo 13 record for farthest crewed spaceflight and observing the lunar surface like never before, capturing iconic views.\n\nUnder Artemis, NASA will send astronauts on increasingly difficult missions to explore more of the Moon for scientific discovery, economic benefits, and to build on our foundation for the first crewed missions to Mars.\n\nSee imagery captured from the mission: https://www.nasa.gov/artemis-ii-multimedia/\n\nCredit: NASA",
            "description_snippet": null,
            "is_live": false,
            "thumbnails": [
                {
                    "url": "https://i.ytimg.com/vi/DYY4nnfxKbU/hqdefault.jpg",
                    "width": 168,
                    "height": 94
                },
                {
                    "url": "https://i.ytimg.com/vi/DYY4nnfxKbU/hqdefault.jpg",
                    "width": 196,
                    "height": 110
                }
            ]
        }
    ],
    "continuation_token": "4qmFsgKBARIkVkxQTDJhQlp1Q2VEd2xTXzJzR2ZZU3Zjb0paTFJHMDY5aS1IGjRDQUY2SGxCVU9rTkhVV2xGUlU1RVRtcGFSVTVyVmtaU1JFcEZUMVZPUTFGNlFRJTNEJTNEmgIiUEwyYUJadUNlRHdsU18yc0dmWVN2Y29KWkxSRzA2OWktSA%3D%3D"
}
Get Playlist Details and Videos — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15623/youtube+content+scraper+api/42170/get+playlist+details+and+videos?playlist_id=PL2aBZuCeDwlS_2sGfYSvcoJZLRG069i-H' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Title, views, likes, comment count (YouTube's rounded figure as an integer), length in seconds, full description, keywords, category, published_at, chapters and thumbnails; subtitles=true adds the transcript, include_formats=true the raw formats.
Endpoint ID: 42171
GET https://zylalabs.com/api/15623/youtube+content+scraper+api/42171/get+video+details
INPUT PARAMETERS

Get Video Details — Endpoint Features

Object Description
video_id Optional YouTube Video id
url Optional Video, shorts or youtu.be URL, instead of video_id
subtitles Optional Add the transcript (lang picks the language)
lang Optional Subtitle language, e.g. en or fr
include_formats Optional Add YouTube's raw format list (large)

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

video_id
url
subtitles
lang
include_formats
API EXAMPLE RESPONSE
JSON
{
    "video_id": "0B4t2mRwuhU",
    "title": "Best PC Build 2026: PC Parts Explained | How to Build A PC 2026",
    "author": "PC Builder",
    "number_of_views": 296929,
    "like_count": 6065,
    "comment_count": 319,
    "comment_count_text": "319",
    "video_length": 1505,
    "description": "Best PC Build 2026 - PC Parts Explained. Want to build a PC in 2026? Start here where we explain all the PC Parts and recommend CPU GPU Combos 2026. 🔻Click \"More\" for Links🔻\n\n*Related Videos & Play Lists*\n▶️ Best Gaming Monitors 2026 https://youtu.be/U70Mf0URWMw\n▶️ PC Build 2026 Lists https://bit.ly/3k0JCSJ\n▶️ How to Build A PC 2026 Playlist https://bit.ly/3M5kC6o\n▶️ Best CPU & GPU Combo 2026 https://youtu.be/wrNMVMlgBe8\n▶️ GPU & CPU Market Monthly Update https://bit.ly/3PgmASr\n\n🔥 Newegg RAM Combo Deals 🔥\nAll DDR5 https://bit.ly/3KNUGAj\nAll DDR4 https://bit.ly/48Z26Jc\n\n*Best PC Build 2026*\nBest $900 Gaming PC Build 2026\n*Full Build At Newegg:* https://newegg.io/nc2e51dd9f\nCPU Options\nRyzen 5500 (PCIE Gen 3) https://link.amazon/B0578Mj1n\n5500F https://link.amazon/B0gYPULJy\n5600 https://link.amazon/B0e6vpW2q\nCooler Included\nMobo https://link.amazon/B0ijO6fqZ\nRAM https://bit.ly/4cCp7V6 or https://link.amazon/B0f8Td7ra\nGPU Options\n🔵 ARC B580\n🔵 ARC B570\nSSD https://link.amazon/B0eBTRVbm\nCase https://amzn.to/4v5eX64 🟠 https://newegg.io/ncb9ddcaf4\nPSU https://amzn.to/4wW1VII\n\n$1300 Gaming PC Build 2026\n🔥🔥 *Full Build at Newegg:* https://newegg.io/7bd8dc9 (240MM AIO Free w/ CPU)\nCPU Options\n7600X https://amzn.to/470XmU0\n9600X https://amzn.to/4yxMwiQ 🟠 https://newegg.io/nc95a45dba\nCooler https://link.amazon/B018E9uXy\nMobo mATX https://link.amazon/B0gtdvvNp (ATX) https://link.amazon/B01a6DGPM\nRAM https://bit.ly/4cdiI2J 🟠 https://amzn.to/4hhhc2n\nGPU Options\n🔴 RX 9070\n🔴 RX 9070\nSSD https://link.amazon/B0aptcyaI\nCase mATX https://amzn.to/4v5eX64 ATX https://amzn.to/4AjZ0MG\nPSU https://link.amazon/B0fSFF42k (A- Tier)\n\n$1600 1440p / 4K Gaming PC Build 2026\n🔥🔥 *Full Build at Newegg:* https://bit.ly/4zaNHG6 (Uses 7700X3D & AIO Combo)\nCPU https://amzn.to/4wOAgdl\nCooler https://link.amazon/B05zZLvOl\nMobo https://amzn.to/4xKNgRh\nRAM 16GB https://bit.ly/4cdiI2J 🟠 https://amzn.to/4hhhc2n\n   32GB https://bit.ly/3M6S3tY 🟠 https://amzn.to/3UzHsMa\nGPU Options\n🔴 RX 9070\n🔴 RX 9070 XT\n🟢 RTX 5070 Ti\nSSD https://amzn.to/4A5Y8Lc\nCase https://link.amazon/B0gGRVWJW\nPSU https://link.amazon/B0bczoSVN\n\nBest Graphics Card for Gaming 2026\n*NVIDIA Graphics Cards*\n🟢 RTX 5090 https://amzn.to/3EMDk3u 🟠 https://bit.ly/4i1X0yU\n🟢 RTX 5080 https://amzn.to/4bf6Cnp 🟠 https://bit.ly/41INACK\n🟢 RTX 5070 Ti https://amzn.to/4i8zdND 🟠 https://bit.ly/3QQ9hdG\n🟢 RTX 5070 https://amzn.to/41GRwnC 🟠 https://bit.ly/3F6v6mW\n🟢 RTX 5060 Ti 16GB https://amzn.to/4kaJ3Q7 🟠 https://bit.ly/3YPbCtT\n🟢 RTX 5060 https://amzn.to/44XphTP 🟠 https://bit.ly/3H7E4kO\n🟢 RTX 5050 https://amzn.to/41KPout 🟠 https://bit.ly/4oSrE1I\n\n*AMD Radeon Graphics Cards*\n🔴 RX 9070 XT https://amzn.to/3XrcS5Q 🟠 https://bit.ly/3FtMz8Z\n🔴 RX 9070 https://amzn.to/4kqy1H4 🟠 https://bit.ly/4hbxczc\n🔴 RX 9070 GRE https://amzn.to/3QwvfpK 🟠 https://bit.ly/4vM0ufz\n🔴 RX 9060 XT 16GB https://amzn.to/437pFxB 🟠 https://bit.ly/3SfAtDG\n🔴 RX 9060 XT 8GB https://amzn.to/46VPtit 🟠 https://bit.ly/45ugZBi\n\n*Intel ARC GPU*\n🔵 ARC B580 https://bit.ly/4lMuDHi 🟠 https://amzn.to/3Qmv24R\n🔵 ARC B570 https://bit.ly/4h5zmjH 🟠 https://amzn.to/4hYrEbZ\n\nThis PC Parts Explained  2026 video covers the basics to get you started on your Best PC Build 2026 journey. We cover pc parts the best gaming pc build 2026 and best PC build 2026. We explain every PC part from best CPU to best GPU to get you started on your 2026 PC Build. How to pick PC Parts can be very confusing. Many want to build a 1440p gaming pc, or the best budget gaming PC Build but don't know where to start. PC Parts Explained 2026 explains best motherboards, best CPU, best graphics card, DDR4 vs DDR5 RAM, best SSD for gaming, and other PC Parts. We also discuss how much it costs to build a gaming PC in 2026 for 1080p, 1440p, and 4K.\n\nProduct Links Disclosure:\nAs an Amazon Affiliate, I earn on qualifying purchases. The channel receives a small commission (at no cost to you) for purchases made using the affiliate links.\n\n0:00 PC Parts Explained 2026\n0:37 8 Key Components\n0:55 Graphics Card Explained\n1:28 GPU VRAM in 2026\n2:33 Current GPUs in 2026\n3:41 GPU Model Differences\n4:23 NVIDIA vs AMD vs Intel GPU\n4:51 CPU Explained - Best CPU 2026\n5:56 Current Ryzen & Intel CPUs\n7:19 Best CPU and GPU Combo 2026\n7:57 Motherboards Explained\n8:11 CPU Motherboard Combos\n9:16 Motherboard Features Explained\n10:24 PCIE Slots\n10:58 Motherboard Audio\n11:44 2026 RAM Explained\n12:40 DDR4 vs DDR5 RAM\n13:25 RAM XMP & EXPO\n13:55 How Much RAM in 2026?\n14:28 Storage: HDD vs SDD & NVME\n14:54 Gen 3 vs 4 vs 5 NVME SSD\n15:49 Best SSD 2026 Tips\n16:19 2026 CPU Coolers - Air vs Water\n17:20 Best PC Case 2026\n18:27 PC Case Features\n19:17 PSU Explained - 80+ Rating & Watts\n20:25 PC Build Cost - 1440p & 4K\n21:09 Best Budget Gaming PC Build 2026\n22:02 Best $1000 PC Build 2026\n22:25 Midrange 1440p Gaming PC Build 2026\n23:25 Ultimate Gaming PC Build 2026\n24:14 PC Build Options in 2026\n24:48 Best Gaming Monitor 2026",
    "is_live_content": false,
    "published_time": "2026-03-14T07:00:02-07:00",
    "published_at": 1773496802,
    "channel_id": "UC0uAeNHLLuAovOTHI-aOZiQ",
    "category": "Science & Technology",
    "type": "NORMAL",
    "keywords": null,
    "thumbnails": [
        {
            "url": "https://i.ytimg.com/vi/0B4t2mRwuhU/hqdefault.jpg",
            "width": 480,
            "height": 360
        },
        {
            "url": "https://i.ytimg.com/vi/0B4t2mRwuhU/sddefault.jpg",
            "width": 640,
            "height": 480
        }
    ],
    "chapters": [
        {
            "title": "PC Parts Explained 2026",
            "start": 0
        },
        {
            "title": "8 Key Components",
            "start": 37
        }
    ],
    "subtitles": {
        "lang": null,
        "is_available": false,
        "subtitles": []
    }
}
Get Video Details — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15623/youtube+content+scraper+api/42171/get+video+details?video_id=dQw4w9WgXcQ&lang=en' --header 'Authorization: Bearer YOUR_API_KEY' 


    
Request
Videos YouTube suggests next to a video, with views, likes, length and published_at; paginated.
Endpoint ID: 42172
GET https://zylalabs.com/api/15623/youtube+content+scraper+api/42172/get+related+videos
INPUT PARAMETERS

Get Related Videos — Endpoint Features

Object Description
video_id Optional YouTube Video id
url Optional Video URL, instead of video_id
continuation_token Optional To get Next page

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

video_id
url
continuation_token
API EXAMPLE RESPONSE
JSON
{
    "video_id": "dQw4w9WgXcQ",
    "count": 18,
    "results": [
        {
            "type": "video",
            "video_id": "n4nU3dWgPxc",
            "title": "🔥 Morocco Halts Tomato Exports to Mauritania as Price Hits 135 Dirhams! Demands to Sanction the K...",
            "author": "سوكادور sokador ",
            "channel_name": "سوكادور sokador ",
            "channel_id": "UCJrEFL0q-9NjyY_-dbcsGCQ",
            "video_length": 1699,
            "number_of_views": 45242,
            "number_of_views_text": null,
            "like_count": 4889,
            "comment_count": null,
            "published_at": 1792178585,
            "published_at_approximate": false,
            "published_time": "10h ago",
            "description": "🔥 المغرب يوقف  الطماطم لموريتانيا والكيلو وصل 135 درهماً ! مطالب بمعاقبة ملك إسبانيا قرار اللجنة 4\n\nالمغرب يوقف تصدير الطماطم إلى موريتانيا، وسط تقارير عن ارتفاع سعر الكيلوغرام إلى 135 درهماً، ما يثير تساؤلات حول أسباب الأزمة وانعكاساتها على السوق الموريتانية والقدرة الشرائية للمواطنين .\n\nوفي ملف آخر، تتصاعد المطالب باتخاذ موقف من زيارة العاهل الإسباني فيليبي السادس إلى سبتة ومليلية، وما أثارته من نقاش حول السيادة المغربية وردود الفعل السياسية .\n\nكما نسلط الضوء على قرار الجمعية العامة للأمم المتحدة بشأن الصحراء المغربية، ودلالاته السياسية وعلاقته بمسار القرار الأممي رقم 2797 ومبادرة الحكم الذاتي التي يقترحها المغرب .\n\nتابعوا التفاصيل والتحليل في هذه التغطية الإخبارية على جريدة وقتاش تيفي، لمواكبة أبرز المستجدات المغربية والإقليمية .\n\nاشتركوا في القناة وفعلوا جرس التنبيهات ليصلكم كل جديد .\n\n#المغرب #موريتانيا #الطماطم #الصحراء_المغربية #فيليبي_السادس #الأمم_المتحدة \n\n\nالمغرب, موريتانيا, تصدير الطماطم, وقف تصدير الطماطم, الطماطم في موريتانيا, سعر الطماطم في موريتانيا, 135 درهم للطماطم, أزمة الطماطم, أسعار الخضر, غلاء الأسعار, العلاقات المغربية الموريتانية, المغرب وإسبانيا, الملك فيليبي السادس, زيارة سبتة ومليلية, سبتة ومليلية المحتلة, السيادة المغربية, معاقبة ملك إسبانيا, الصحراء المغربية, قرار الجمعية العامة للأمم المتحدة, القرار 2797, الحكم الذاتي المغربي, ملف الصحراء, أخبار المغرب اليوم, أخبار موريتانيا, آخر أخبار المغرب, أخبار سياسية, وقتاش تيفي, wa9tachtv, Morocco news, Mauritania news\n\nأزمة الطماطم والتجارة\nالمغرب يوقف تصدير الطماطم، سعر الطماطم في موريتانيا، الطماطم بـ135 درهماً، أزمة الخضر في موريتانيا، الصادرات المغربية، التجارة بين المغرب وموريتانيا، غلاء المعيشة، القدرة الشرائية الموريتانية .\n\n#المغرب #موريتانيا #الطماطم #أخبار_المغرب #الصحراء_المغربية #الأمم_المتحدة #القرار_2797 #الحكم_الذاتي #فيليبي_السادس #سبتة_ومليلية #العلاقات_المغربية_الإسبانية #غلاء_الأسعار #أخبار_اليوم #وقتاش_تيفي #Wa9tashTV",
            "description_snippet": null,
            "is_live": false,
            "thumbnails": [
                {
                    "url": "https://i.ytimg.com/vi/n4nU3dWgPxc/hqdefault.jpg",
                    "width": 168,
                    "height": 94
                },
                {
                    "url": "https://i.ytimg.com/vi/n4nU3dWgPxc/hqdefault.jpg",
                    "width": 336,
                    "height": 188
                }
            ]
        },
        {
            "type": "video",
            "video_id": "PNksIlmxGBc",
            "title": "قضية الشيخة ـ من الجمال وراقصة في الكباريهات  حتى صبحات مقـ تولة ـ شكون لصـ فاها الشيخة ؟",
            "author": "قصص وحكايات ولد الشعب ",
            "channel_name": "قصص وحكايات ولد الشعب ",
            "channel_id": "UCENhygpW0Qdw_25KMzZPclQ",
            "video_length": 4639,
            "number_of_views": 6954,
            "number_of_views_text": null,
            "like_count": 604,
            "comment_count": null,
            "published_at": 1792186921,
            "published_at_approximate": false,
            "published_time": "7h ago"
        }
    ],
    "_note": "Response truncated for documentation purposes"
}
Get Related Videos — CODE SNIPPETS

curl --location --request GET 'https://zylalabs.com/api/15623/youtube+content+scraper+api/42172/get+related+videos?video_id=dQw4w9WgXcQ' --header 'Authorization: Bearer YOUR_API_KEY' 


    

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the YouTube Content Scraper API simply include your bearer token in the Authorization header.

Headers
Header Description
Authorization Required Should be Bearer access_key. See "Your API Access Key" above when you are subscribed.

No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.

Starts at
$10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring

Overview

Public YouTube data: channels, videos, shorts, live streams, community posts, playlists, stream URLs (incl. muxed MP4), transcripts, comments, related videos and filtered search.

YouTube Content Scraper API FAQs

Check the `published_at_approximate` field when provided. A value of `false` indicates an exact timestamp; `true` means the timestamp is estimated from YouTube’s relative date display. Some endpoints also return a human-readable `published_time`.

When a response includes a `continuation_token`, pass it to the corresponding endpoint to request the next page. Tokens are endpoint-specific; a `null` token indicates there is no further page.

It can include muxed MP4, video-only, audio-only, and HLS manifest URLs, along with quality, codec, dimensions, and size metadata. Check `muxed_available` for a combined audio-and-video MP4. URLs expire, and requests may redirect, so follow redirects.

Use the transcript endpoint’s language selection and consult `available_languages` for supported captions. The response includes timed segments, full transcript text, and whether captions are auto-generated. Video Details can also include a transcript when `subtitles=true`.

Get the comment’s `replies_token` from the Video Comments response and pass it to Get Comment Replies. Replies are returned as a paginated comments list; use its `continuation_token` to continue when available.

Search supports result types `all`, `video`, `channel`, `playlist`, and `short`; upload-date filters `hour`, `today`, `week`, `month`, and `year`; duration filters `short`, `medium`, and `long`; and sorting by `relevance` or `views`.

Get Hashtag Videos returns an empty results list when the tag has no page. For example, a response may contain the requested `tag`, a `count` of zero, and no video entries.

No. The community-post endpoint provides post text, images, attached videos or polls, likes, and an approximate publication time, but it does not provide community-post comment counts or comments.

General FAQs

To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.

You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.

The free trial lasts for 7 days and allows you to make up to 50 API requests.

No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.

Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.

Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

You can monitor your API usage through the response headers included with every request:

x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.

Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund


Related APIs