GET /search
endpoint to search for videos by category. Our example will search for videos in the “Gaming” category. You can find the full list of categories in the Categories page.
Request examples
20
category. We are also setting the maxResults
parameter to 1 to get only one video. You can change the videoCategoryId
parameter to search for videos in a different category. Setting the type
parameter to video
required for the request when using videoCategoryId
parameter.