API referenceYouTube
YouTube
Channels, videos, Shorts and comments. View counts, like counts and upload timestamps come back exact, never rounded and never inferred.
5 endpoints. They share the base URL, authentication and response envelope described in the guides.
Worth knowing
Shorts and long-form video are returned from the same channel endpoint and are labelled by content type rather than by duration.
Endpoints
YouTube comments
Comments on a YouTube video, paged with a cursor.
YouTube details (v1)
One YouTube video or Short, in the standard content shape.
YouTube details (v3)
One YouTube video with a richer set of fields.
YouTube profile (v1)
A YouTube channel and its videos, paged with a cursor.
YouTube profile (v3)
A YouTube channel with the About panel and richer video fields.