Youtube Music Search avatar

Youtube Music Search

Deprecated

Pricing

Pay per usage

Go to Apify Store
Youtube Music Search

Youtube Music Search

Deprecated

Pricing

Pay per usage

Rating

0.0

(0)

Developer

Maged

Maged

Maintained by Community

Actor stats

0

Bookmarked

3

Total users

3

Monthly active users

5 months ago

Last modified

Share

YouTube Music Search Actor

Input Configuration

The actor accepts a JSON input with the following fields:

FieldTypeDescriptionRequiredDefault
queryStringSearch query for YouTube MusicYes-
filterStringType of result (songs, videos, albums, etc.)No-
scopeStringOptional scope for the searchNo-

Example Input:

{
"query": "Imagine Dragons",
"filter": "albums"
}

Output Format

The actor outputs data to Apify’s dataset, viewable as a table in the Apify UI or exportable as JSON/CSV. Each record contains:

FieldTypeDescription
categoryStringResult category
resultTypeStringResult type
titleStringTitle
typeStringType
playlistIdStringPlaylist ID
durationStringDuration
yearStringYear
artistsArrayArtists
browseIdStringBrowse ID
isExplicitBooleanExplicit flag
thumbnailsArrayThumbnails
urlStringYouTube Music URL

URL Construction:

  • For albums/playlists: https://music.youtube.com/playlist?list={playlistId}
  • For videos/songs: https://music.youtube.com/watch?v={videoId}
  • For artists: https://music.youtube.com/channel/{browseId}
  • For other browseable items: https://music.youtube.com/browse/{browseId}

Example Output:

{
"category": "Albums",
"resultType": "album",
"title": "Imagine",
"type": "Album",
"playlistId": "OLAK5uy_mAbKBs8eHi1hV2HP99v9brseD68FbPxZE",
"duration": null,
"year": "1971",
"artists": [
{"name": "John Lennon", "id": "UCcSL2nYSJp_IgdzH0xBBdcg"}
],
"browseId": "MPREb_gDaohH1B2Wz",
"isExplicit": false,
"thumbnails": [
{"url": "https://lh3.googleusercontent.com/3NgQRedyr9sdsiEUyaJ9k2hTl5eTotzV5-6ABSiSGY9SFuHNJnWFcG9wiI-6sKQwCgXNlwp89VqZKR4C=w60-h60-l90-rj", "width": 60, "height": 60}
],
"url": "https://music.youtube.com/playlist?list=OLAK5uy_mAbKBs8eHi1hV2HP99v9brseD68FbPxZE"
}