Youtube Api v3, category and country specifications

youtube-api

Solution

You can do videoCategories->list do get category information with the id.

API doesn't expose region code for each video, though you can always search->list with filtering by region.

API exposes video's associated location or file's recording location if that's available.

Problem

I am working with Youtube Api v3 and I am collecting some information about videos. More specifically, I am interested in the category and the country/region parameter. With video-list and videoType="movie" one can retrieve the categoryId of each video. How can we correspond each categoryId, which is a number, with the specified movie categoty, e.g Comedy. Also is it possible to retrieve the region that comes with each video? Thank you in advance.

Original source