Method: musicReleases.list
Stay organized with collections
Save and categorize content based on your preferences.
Retrieves a list of music releases.
HTTP request
GET https://youtubepartner.googleapis.com/youtube/partner/v1/music/releases
The URL uses gRPC Transcoding
syntax.
Query parameters
Parameters |
pageSize
|
integer
The maximum number of releases to return. The service may return fewer than this value. If unspecified, at most 30 releases will be returned. The maximum value is 50; values above 50 will be coerced to 50.
|
pageToken
|
string
A page token, received from a previous musicReleases.list
call. Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to musicReleases.list
must match the call that provided the page token.
|
onBehalfOfContentOwner
|
string
Identifies the content owner that the user is acting on behalf of. This parameter supports users whose accounts are associated with multiple content owners.
|
filter
|
object ( ReleaseFilter
)
Filtering based on various parameters in musicReleases.list.
|
Request body
The request body must be empty.
Response body
A response to list music releases.
If successful, the response body contains data with the following structure:
Fields |
releases[]
|
object ( MusicRelease
)
The requested music releases.
|
nextPageToken
|
string
A token, which can be sent as pageToken
to retrieve the next page. If this field is omitted, there are no subsequent pages.
|
Authorization scopes
Requires the following OAuth scope:
-
https://www.googleapis.com/auth/youtubepartner
For more information, see the OAuth 2.0 Overview
.
ReleaseFilter
Representation of an expression for filtering in musicReleases.list. We always take the conjunction (logical AND) of the filters, so a release must meet all criteria to be returned.
All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-20 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-20 UTC."],[[["\u003cp\u003eThis API endpoint retrieves a list of music releases via an HTTP GET request to \u003ccode\u003ehttps://youtubepartner.googleapis.com/youtube/partner/v1/music/releases\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eYou can use query parameters like \u003ccode\u003epageSize\u003c/code\u003e, \u003ccode\u003epageToken\u003c/code\u003e, \u003ccode\u003eonBehalfOfContentOwner\u003c/code\u003e, and \u003ccode\u003efilter\u003c/code\u003e to control the number of results, paginate through them, and filter them.\u003c/p\u003e\n"],["\u003cp\u003eThe response body includes an array of music release objects (\u003ccode\u003ereleases\u003c/code\u003e) and a \u003ccode\u003enextPageToken\u003c/code\u003e for retrieving subsequent pages of results, if available.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eReleaseFilter\u003c/code\u003e parameter allows for specific filtering of music releases by UPC, title, artist name, and whether there are open or closed change requests.\u003c/p\u003e\n"],["\u003cp\u003eAccessing this endpoint requires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/youtubepartner\u003c/code\u003e OAuth scope.\u003c/p\u003e\n"]]],["This document details how to retrieve a list of music releases using a `GET` request to the specified URL. Key actions include setting `pageSize` and `pageToken` query parameters for pagination, specifying a content owner with `onBehalfOfContentOwner`, and applying filters via the `filter` parameter which supports criteria like UPCs, title, and artist name. The response includes an array of releases and a `nextPageToken` for subsequent pages, if available. The request requires `https://www.googleapis.com/auth/youtubepartner` authorization scope.\n"],null,["# Method: musicReleases.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListMusicReleasesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [ReleaseFilter](#ReleaseFilter)\n - [JSON representation](#ReleaseFilter.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nRetrieves a list of music releases.\n\n### HTTP request\n\n`GET https://youtubepartner.googleapis.com/youtube/partner/v1/music/releases`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Query parameters\n\n| Parameters ||\n|--------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `pageSize` | `integer` The maximum number of releases to return. The service may return fewer than this value. If unspecified, at most 30 releases will be returned. The maximum value is 50; values above 50 will be coerced to 50. |\n| `pageToken` | `string` A page token, received from a previous `musicReleases.list` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `musicReleases.list` must match the call that provided the page token. |\n| `onBehalfOfContentOwner` | `string` Identifies the content owner that the user is acting on behalf of. This parameter supports users whose accounts are associated with multiple content owners. |\n| `filter` | `object (`[ReleaseFilter](/youtube/partner/reference/rest/v1/musicReleases/list#ReleaseFilter)`)` Filtering based on various parameters in musicReleases.list. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nA response to list music releases.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"releases\": [ { object (/youtube/partner/reference/rest/v1/musicReleases#MusicRelease) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|----------------------------------------------------------------------------------------------------------------------------------------|\n| `releases[]` | `object (`[MusicRelease](/youtube/partner/reference/rest/v1/musicReleases#MusicRelease)`)` The requested music releases. |\n| `nextPageToken` | `string` A token, which can be sent as `pageToken` to retrieve the next page. If this field is omitted, there are no subsequent pages. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/youtubepartner`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2).\n\nReleaseFilter\n-------------\n\nRepresentation of an expression for filtering in musicReleases.list. We always take the conjunction (logical AND) of the filters, so a release must meet all criteria to be returned.\n\n| JSON representation |\n|---------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"upcs\": [ string ], \"titleMatches\": string, \"artistNameMatches\": string, \"hasOpenChangeRequest\": boolean, \"hasClosedChangeRequest\": boolean } ``` |\n\n| Fields ||\n|--------------------------|---------------------------------------------------------------------------|\n| `upcs[]` | `string` A list of case insensitive UPCs of the releases to be retrieved. |\n| `titleMatches` | `string` Tokenized search (case insensitive). |\n| `artistNameMatches` | `string` Tokenized search (case insensitive). |\n| `hasOpenChangeRequest` | `boolean` At least one ChangeRequest in open status. |\n| `hasClosedChangeRequest` | `boolean` At least one ChangeRequest in closed status. |"]]