Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Youtube Analytics Groups API

Operations for managing analytics group definitions

Youtube Analytics Groups API is one of 36 APIs that Youtube publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 2 JSON Schema definitions.

Tagged areas include Analytics Groups. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, authentication docs, an API reference, code examples, and 2 JSON Schemas.

This API exposes 5 operations across 2 paths, and defines 9 schemas. It is described by OpenAPI 3.1.0, at version 2.0.0.

Requests are made against a single base URL, https://youtubeanalytics.googleapis.com/v2.

5 operations 2 paths 9 schemas 1 DELETE2 GET1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
2.0.0
Base URL
https://www.googleapis.com/youtube/v3
Authentication
OAuth 2.0
Terms of Service
Resource Areas
1

Authentication & Security 1

Youtube Analytics Groups API declares 1 security scheme for authenticating requests. It supports OAuth 2.0 (OAuth2) using the authorizationCode flow, exposing 4 scopes. By default, every request must be authenticated.

  • OAuth2 — OAuth 2.0 authentication for YouTube Analytics API

Paths & Operations 5

Across 2 paths, the API surfaces 5 operations — 1 DELETE, 2 GET, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Analytics Groups 5

Operations for managing analytics group definitions

GET
/groups
Youtube List Analytics Groups
listAnalyticsGroups 5 params → 200401
POST
/groups
Youtube Create Analytics Group
createAnalyticsGroup 2 params body → 200400401
GET
/groups/{groupId}
Youtube Get Analytics Group
getAnalyticsGroup 4 params → 200404
PUT
/groups/{groupId}
Youtube Update Analytics Group
updateAnalyticsGroup 3 params body → 200400404
DELETE
/groups/{groupId}
Youtube Delete Analytics Group
deleteAnalyticsGroup 3 params → 204404

Schemas 9

The contract defines 9 schemas that model the data the API accepts and returns. The most detailed are Group (5 properties), ErrorItem (5 properties), GroupListResponse (4 properties), ErrorDetails (3 properties). Each schema is shown below with its type and property counts.

GroupListResponse
object
Response containing a list of analytics groups
4 properties 2 required
GroupSnippet
object
Basic information about an analytics group
2 properties 2 required
GroupContentDetails
object
Content details for an analytics group
2 properties 2 required
ErrorResponse
object
Error response object
1 property 1 required
ErrorDetails
object
Details about an API error
3 properties 2 required
ErrorItem
object
Individual error detail
5 properties
GroupUpdateRequest
object
Request body for updating an analytics group
2 properties 2 required
GroupCreateRequest
object
Request body for creating a new analytics group
2 properties 2 required
Group
object
An analytics group for aggregating channel or video data
5 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

youtube-analytics-groups-api-openapi.yml Raw ↑

Other APIs Youtube publishes across the network.

Youtube Channel Sections API
Youtube Channel Banners API
Youtube Members API
Youtube Memberships Levels API
Youtube Thumbnails API
Youtube Watermarks API
Youtube Video Abuse Report Reasons API
YouTube IFrame Player API
YouTube Subscribe Button
Youtube Playlist Images API
YouTube Content ID API
YouTube oEmbed API