in

YouTube API Category ID List

Last day while I was trying to build a video uploading service using YouTube’s Data API, I found out that we could select the category of a video via the API itself.

YouTube has associated an unique ID for each category on its platform. The default category of all video uploads on YouTube is “People & Blogs”, whose ID is 22.

So for my future reference and to help anyone looking for it in the future, I’m providing a complete table of all YouTube Categories with their IDs for the YouTube Data API, below.

Category IDCategory Name
1Film & Animation
2Autos & Vehicles
10Music
15Pets & Animals
17Sports
18Short Movies
19Travel & Events
20Gaming
21Videoblogging
22People & Blogs
23Comedy
24Entertainment
25News & Politics
26Howto & Style
27Education
28Science & Technology
29Nonprofits & Activism
30Movies
31Anime/Animation
32Action/Adventure
33Classics
34Comedy
35Documentary
36Drama
37Family
38Foreign
39Horror
40Sci-Fi/Fantasy
41Thriller
42Shorts
43Shows
44Trailers

What do you think?

106 Points
Upvote Downvote

Written by Anirban Roy

Anirban is a full-stack developer and an SEO expert. He has 6 years of experience in web development and software engineering. With a passion for writing, he has been blogging since 2017.

Leave a Reply

Your email address will not be published. Required fields are marked *