# Artist Details

Get detailed information about a artist.

# Usage

  1. Import the Function
import YoutubeMusic from "youtubemusic.js";
  1. Invoke the Function
YoutubeMusic.getArtist("UCE0e75AsD74BLP07SfM6OzQ")
  .then((response) => {
    // Handle the response data here
    console.log(response);
  })
  .catch((error) => {
    // Handle errors here
    console.error(error);
  });
{
  name: 'Adam Lambert',
  description: "After blowing everyone away on the eighth season of American Idol, Adam Lambert went on to release his debut album ‘For Your Entertainment’ which included the international hit ‘Whatya Want From Me’ and earned him a Grammy Award nomination. Adam followed this success with his second album ‘Trespassing’ which became the first album to reach the number one spot in the US and Canada by an openly gay artist. His highly anticipated third album ‘The Original High’ was executive produced by Max Martin and Shellback and included the smash hit ‘Ghost Town’. Adam joined the cast of Glee for a six-episode story in 2013 and performed the role of Eddie in Fox’s The Rocky Horror Picture Show. He went on to judge on The X Factor Australia where his artist, Isaiah, won the show. Adam has been touring as the lead singer of Queen (Queen + Adam Lambert) since 2012, including two huge world arena tours which sold out in minutes and gained critical acclaim. 2018 saw Adam continuing to tour the world with Queen, alongside recording his fourth album coming soon. He is also exploring the world of film, voicing character 'Emperor Maximus' in upcoming animated-live action hybrid movie ‘Playmobil: The Movie’, as well as making a cameo in film ‘Bohemian Rhapsody’.",
  headerURL: 'https://lh3.googleusercontent.com/fz8AtaBkwO6hhnnDbVpdW1goeb7cqsVZH84OE2H9MM0judCJzF2D7N060yLKH-ARnh0YMh2BTNDUUPA=w1554-h647-p-l90-rj',
  subscribers: '1.69M',
  albums: [
    {
      artist: 'Adam Lambert',
      artistId: 'MPREb_I7v5bUOJNTF',
      title: 'High Drama',
      id: 'MPREb_I7v5bUOJNTF',
      gradientColor: '2147483648',
      imageURL: 'https://lh3.googleusercontent.com/99kLM4p9iKfcbvQu7G3Qdd7A2ylqr3Xt2aWW3R2qz3w9EMdOgsg6uiKulhMcauG9aPxdhhxqmccQRQj0=w800-h226-l90-rj',
      releasedYear: '2023',
      type: 'Album'
    },
    {
      artist: 'Adam Lambert',
      artistId: 'MPREb_0a0EOD3GADb',
      title: 'VELVET',
      id: 'MPREb_0a0EOD3GADb',
      gradientColor: '2147483648',
      imageURL: 'https://lh3.googleusercontent.com/TqOsMzTwOxILSLNLgvj3aclymWxq5fWnHtR9kuHXoBFv7pQa5_dP5BjYd4Qi_kp3RMbfFy11D-QP_CavWA=w800-h226-l90-rj',
      releasedYear: '2020',
      type: 'Album'
    },
    {
      artist: 'Adam Lambert',
      artistId: 'MPREb_tYWjFeTokfh',
      title: 'VELVET: Side A',
      id: 'MPREb_tYWjFeTokfh',
      gradientColor: '2147483648',
      imageURL: 'https://lh3.googleusercontent.com/QCNs61_adGh76rjMFzeoqodd0HFY5i2I7_yV4eXsG9j4MzphM6vnbc_MR4aHnyhXwQFuGOpK8cNVSdnI=w800-h226-l90-rj',
      releasedYear: '2019',
      type: 'EP'
    },
    {
      artist: 'Adam Lambert',
      artistId: 'MPREb_rwVfbCp34FQ',
      title: 'The Original High',
      id: 'MPREb_rwVfbCp34FQ',
      gradientColor: '2147483648',
      imageURL: 'https://lh3.googleusercontent.com/hu-_6aCLOSH11TIc10XtRAzF_2NTC1XVN4JuyjlbH_zUlV7SMdT1FqEwFCSugUNr0KbFBf70NW3b1uI=w800-h226-l90-rj',
      releasedYear: '2015',
      type: 'Album'
    },
    {
      artist: 'Adam Lambert',
      artistId: 'MPREb_dNSUMOpmry4',
      title: 'Trespassing',
      id: 'MPREb_dNSUMOpmry4',
      gradientColor: '2147483648',
      imageURL: 'https://lh3.googleusercontent.com/YB797ZwiSb0F_geEkQowFtVHXOT495ma5JD-cjzDZeZz5qMjQUtoCGVyVNHbaXIR8NhsSQhtB6U_zBIO=w800-h226-l90-rj',
      releasedYear: '2012',
      type: 'Album'
    },
    {
      artist: 'Adam Lambert',
      artistId: 'MPREb_jeA2tKVCWcC',
      title: 'For Your Entertainment',
      id: 'MPREb_jeA2tKVCWcC',
      gradientColor: '2147483648',
      imageURL: 'https://lh3.googleusercontent.com/CiMiAagSsAkxt-lj39ej1KKq05GbzAxW3LNxm-eWR9SgLku-XLJYHbE7hq4tkRIlNo6MGlJ__G3JzjoW=w800-h226-l90-rj',
      releasedYear: '2009',
      type: 'Album'
    },
    {
      artist: 'Adam Lambert',
      artistId: 'MPREb_CzxSqh2JzX8',
      title: 'Take One (Bonus Tracks)',
      id: 'MPREb_CzxSqh2JzX8',
      gradientColor: '2147483648',
      imageURL: 'https://lh3.googleusercontent.com/0OsAZSvhLYMfaNFHPCu4BapZdLslZ8Ld1E9ohIYXtBOhHi_d7z09xtB5niCJzylKxHiJRqOQAjj-eFRD=w800-h226-l90-rj',
      releasedYear: '2009',
      type: 'Album'
    },
    {
      artist: 'Adam Lambert',
      artistId: 'MPREb_SakPSk8DPvd',
      title: 'Live Around the World',
      id: 'MPREb_SakPSk8DPvd',
      gradientColor: '2147483648',
      imageURL: 'https://lh3.googleusercontent.com/QxQigQPmD2GI1cPVntwYFhPizLPcjP6oGmzc1gtdsJHhaiUxrPhXNMUyfUu2cz2W4bTS-qXfWeDHYsY=w800-h226-l90-rj',
      releasedYear: '2020',
      type: 'Album'
    },
    {
      artist: 'Adam Lambert',
      artistId: 'MPREb_Qtjk8jtn0i0',
      title: 'Live At Fire Fight Australia',
      id: 'MPREb_Qtjk8jtn0i0',
      gradientColor: '2147483648',
      imageURL: 'https://lh3.googleusercontent.com/GcdPJgQQKSDJ3jCVXEbrQ3hwR0Vjn9lpovivLsGgfClH3ixAJQqAZ48pKZH7qIoF3ysZ0o7Ik5YqGXyP6Q=w800-h226-l90-rj',
      releasedYear: '2020',
      type: 'Album'
    },
    {
      artist: 'Adam Lambert',
      artistId: 'MPREb_A46CNOkZ7fl',
      title: 'VELVET: Side A (The Live Sessions)',
      id: 'MPREb_A46CNOkZ7fl',
      gradientColor: '2147483648',
      imageURL: 'https://lh3.googleusercontent.com/C-uBPCcUmEgQrgR-TP6PJSx_WkoFt7J2-40GQkKci5Q35ZVRCFYkV5cSScrQ7EdaWvOnm8KAe4Ts65L2Zw=w800-h226-l90-rj',
      releasedYear: '2019',
      type: 'EP'
    }
  ],
  singles: [
    {
      artist: 'Adam Lambert',
      artistId: 'MPREb_ypyyYTv66Pq',
      title: 'You Make Me Feel (Mighty Real)',
      id: 'MPREb_ypyyYTv66Pq',
      gradientColor: '2147483648',
      imageURL: 'https://lh3.googleusercontent.com/nCw-CV4nhGMxmiuT6D68sJ3DYqfL8XfLbGrkzejxLWiP-MgRvXrKEVXUCJunxfL9jWsaPtmbydl1E7YXbA=w800-h226-l90-rj',
      releasedYear: '2023',
      type: 'Single'
    },
    {
      artist: 'Adam Lambert',
      artistId: 'MPREb_PmCdjuvh6dR',
      title: 'Getting Older',
      id: 'MPREb_PmCdjuvh6dR',
      gradientColor: '2147483648',
      imageURL: 'https://lh3.googleusercontent.com/Fof5i3YMmbVvrCQSB-BaYMwk0I7LXJ_SE6F2vBS1-jbk4uqCEIHAh1gX2FYvUzVVYD7J784-8IAk6NQn=w800-h226-l90-rj',
      releasedYear: '2023',
      type: 'Single'
    },
    {
      artist: 'Adam Lambert',
      artistId: 'MPREb_LOWxNa0ZNhy',
      title: 'Holding Out For A Hero',
      id: 'MPREb_LOWxNa0ZNhy',
      gradientColor: '2147483648',
      imageURL: 'https://lh3.googleusercontent.com/f0UPuzAvurmE8jNiEMBHpJEx92v9Esr94K6o9B_gpsCEMJYesGzxefNOdX3cYiJ_79n2m95U4yPu1B0=w800-h226-l90-rj',
      releasedYear: '2022',
      type: 'Single'
    },
    {
      artist: 'Adam Lambert',
      artistId: 'MPREb_RfMCoN5THRM',
      title: 'Mad About the Boy',
      id: 'MPREb_RfMCoN5THRM',
      gradientColor: '2147483648',
      imageURL: 'https://lh3.googleusercontent.com/9QlZjUUoTWE-m9yIXgSXCjVdfDeMlX2jXjE6PGYcuhZlHKSpV0holvc4dUCG8J2UC-B26EZvliI84hL_=w800-h226-l90-rj',
      releasedYear: '2022',
      type: 'Single'
    },
    {
      artist: 'Adam Lambert',
      artistId: 'MPREb_eLd4GWzWBoK',
      title: 'Ordinary World',
      id: 'MPREb_eLd4GWzWBoK',
      gradientColor: '2147483648',
      imageURL: 'https://lh3.googleusercontent.com/z-idVYd7WNzVmpVzpoEqM_FO_frmYInn8hlQyR38ZC5NXGKXI1XgYfMsU2tln1zbjl_3TqY7tXZ41zHUjA=w800-h226-l90-rj',
      releasedYear: '2022',
      type: 'Single'
    },
    {
      artist: 'Adam Lambert',
      artistId: 'MPREb_9IUgxhwVp8R',
      title: 'These Are Your Rights (from the Netflix Series "We The People")',
      id: 'MPREb_9IUgxhwVp8R',
      gradientColor: '2147483648',
      imageURL: 'https://lh3.googleusercontent.com/j3WGi1YoWxMKNTCM3ni8xATMM0vO8eNCP5kH6-RgGaqq6FTUNhv5zzzQ80RV9DNMihofSj7bp_71OCHjZA=w800-h226-l90-rj',
      releasedYear: '2021',
      type: 'Single'
    },
    {
      artist: 'Adam Lambert',
      artistId: 'MPREb_NpPev0fcKvI',
      title: 'You Are The Champions (In Support Of The Covid-19 Solidarity Response Fund)',
      id: 'MPREb_NpPev0fcKvI',
      gradientColor: '2147483648',
      imageURL: 'https://lh3.googleusercontent.com/UNDZcj8D4dh9FhMnDxsLNtwuIfLYNXX_EeG9aDRl2GrIzLqjPrpbGHFzIb5JEb9B3IJOnqopD_Q7kp8Y=w800-h226-l90-rj',
      releasedYear: '2020',
      type: 'Single'
    },
    {
      artist: 'Adam Lambert',
      artistId: 'MPREb_qy9nCkadCco',
      title: 'Roses',
      id: 'MPREb_qy9nCkadCco',
      gradientColor: '2147483648',
      imageURL: 'https://lh3.googleusercontent.com/8BxIvn9mLZwxW7TGJTQDAJ9yiQGWA3XvNY_LGExEkksrbOUlo5y1FOhgP-GBh5BXwKIeoo0yTbL3W1dv=w800-h226-l90-rj',
      releasedYear: '2020',
      type: 'Single'
    },
    {
      artist: 'Adam Lambert',
      artistId: 'MPREb_zzKHGBtguuz',
      title: 'Believe',
      id: 'MPREb_zzKHGBtguuz',
      gradientColor: '2147483648',
      imageURL: 'https://lh3.googleusercontent.com/ruwpnt4BJMXAxYJe26StPlnVeofhMYXyXqPQ83jmcpdo_esONVrSE12QbZhy6TrUarY8uQ1R-kabeh8=w800-h226-l90-rj',
      releasedYear: '2019',
      type: 'Single'
    },
    {
      artist: 'Adam Lambert',
      artistId: 'MPREb_lK6NDUSJo2m',
      title: 'Superpower',
      id: 'MPREb_lK6NDUSJo2m',
      gradientColor: '2147483648',
      imageURL: 'https://lh3.googleusercontent.com/gavetpBAL-XJCMA_nyr7r0U1K1Yn3S9p4kbolCcSM-y-JMuVJMfhwe2YKXbeZpq9e9OUK1ESMDBom2cM=w800-h226-l90-rj',
      releasedYear: '2019',
      type: 'Single'
    }
  ],
  playlistId: 'VLOLAK5uy_lu44kRGOErevMOQ3XvwBMxCDuCqYQ9bUE',
  gallery: [
    'https://i.pinimg.com/736x/56/54/89/5654895e343374d71650f760d9dbf4bc.jpg',
    'https://i.pinimg.com/736x/d1/ae/af/d1aeafab5c749137ad26656eabd07421.jpg',
    'https://i.pinimg.com/564x/16/3b/5d/163b5d63a703ea041bd112a9a8f2b972--pictures-of-adam-lambert.jpg',
    'https://i.pinimg.com/236x/0c/ab/75/0cab753344b6b1451aa3dd3effa05456.jpg',
    'https://i.pinimg.com/736x/78/04/df/7804dfc1ac9067fd7264c78946fd6b9e--red-carpets-adam-lambert.jpg',
    'https://i.pinimg.com/736x/a3/41/a2/a341a287839bc3f8195786c9eeb4d396--adam-lambert-queen.jpg',
    'https://i.pinimg.com/originals/24/48/10/24481089dde3cd9af9e578cb35d09af2.jpg',
    'https://i.pinimg.com/originals/bd/3b/91/bd3b9142dbde52c92172bd116c22228f.jpg',
    'https://i.pinimg.com/236x/ff/cb/98/ffcb98d0dbadff56c169fbd67380b717.jpg',
    'https://i.pinimg.com/474x/62/ce/80/62ce80361be26046fdf3f8ab2395c4d0.jpg'
  ],
  topTracks: [
    {
      id: 'M-YvkPtneYE',
      title: "Runnin'",
      artists: 'Adam Lambert',
      album: 'Trespassing (Deluxe Version)',
      thumbnailURL: 'https://lh3.googleusercontent.com/oirGHHC1Xx0S8vSeSQcqqhLfgIT2TlF7P-93Hye0q0JpK2m1Zv9jvTIeqwtP0FDxQ7rI5cLMQoObOiM=w120-h120-l90-rj'
    },
    {
      id: 'kgd0rzJ0Ss8',
      title: 'Whataya Want from Me',
      artists: 'Adam Lambert',
      album: 'For Your Entertainment',
      thumbnailURL: 'https://lh3.googleusercontent.com/CiMiAagSsAkxt-lj39ej1KKq05GbzAxW3LNxm-eWR9SgLku-XLJYHbE7hq4tkRIlNo6MGlJ__G3JzjoW=w120-h120-l90-rj'
    },
    {
      id: 'g6_2Rygz38Y',
      title: 'If I Had You',
      artists: 'Adam Lambert',
      album: 'For Your Entertainment',
      thumbnailURL: 'https://lh3.googleusercontent.com/CiMiAagSsAkxt-lj39ej1KKq05GbzAxW3LNxm-eWR9SgLku-XLJYHbE7hq4tkRIlNo6MGlJ__G3JzjoW=w120-h120-l90-rj'
    },
    {
      id: 'kbbdLR8a9E8',
      title: 'Holding Out For A Hero',
      artists: 'Adam Lambert',
      album: 'High Drama',
      thumbnailURL: 'https://lh3.googleusercontent.com/99kLM4p9iKfcbvQu7G3Qdd7A2ylqr3Xt2aWW3R2qz3w9EMdOgsg6uiKulhMcauG9aPxdhhxqmccQRQj0=w120-h120-l90-rj'
    },
    {
      id: 'lDoXekDxHIU',
      title: 'Ghost Town',
      artists: 'Adam Lambert',
      album: 'The Original High (Deluxe Version)',
      thumbnailURL: 'https://lh3.googleusercontent.com/wKUZjmwtl18fKDsLZ7FORBUO-OTj0DyLxwj2Dv9Ya-8IV61kuTE8e8gU2jcUJ6ajX-r2vADXzKnryvk=w120-h120-l90-rj'
    }
  ],
  fansAlsoLikes: [
    {
      title: 'Kelly Clarkson',
      id: 'UCpXP9-cHlJCMapSYCSZThbw',
      imageURL: 'https://lh3.googleusercontent.com/o17BMdaIMjFJreY24yzXl7DiNKPQFWi1cJKoezEbq-Vs1by-P3NnMSSiv9jBjDknLjxWNaphvslpbxs=w544-h544-p-l90-rj',
      subscribers: '4.06M subscribers'
    },
    {
      title: 'P!nk',
      id: 'UCUlTyoiUjykZj7ZReC0bF0g',
      imageURL: 'https://lh3.googleusercontent.com/qFUXE0Y_3CZzxDdbpPyA6nlGbglvFmnHG_ISPRPMRmt3n5NlELnNna_zUigAZBCOcfsaIecAJDaIUA=w544-h544-l90-rj',
      subscribers: '12.2M subscribers'
    },
    {
      title: 'Katy Perry',
      id: 'UC_7s69e1mDS3lgcTMJEPjCg',
      imageURL: 'https://lh3.googleusercontent.com/eMgihOYKQahtK-vzW1QVALPM7LolBy7yC5NshcOgSwjXotdudRavwmwiSAZmtLfGrvKu2Y3JvGCseXA=w544-h544-p-l90-rj',
      subscribers: '44.5M subscribers'
    },
    {
      title: 'Christina Aguilera',
      id: 'UCuRNYM6vrIAL-e4RUX26cPg',
      imageURL: 'https://lh3.googleusercontent.com/jlZOyZLCgEL2Be91IuGhssBz-ySrjA4H1gYUgIbfDIfckcYWLb-5VmXdJCh_7JIP52iyQRomFKcgvRQ=w544-h544-p-l90-rj',
      subscribers: '5.67M subscribers'
    },
    {
      title: 'Lady Gaga',
      id: 'UCGKXb1syicud01CJOOFRykg',
      imageURL: 'https://lh3.googleusercontent.com/bbLc-H4LZsGO8-WjNtPE6GTO5YJoMucSPlzC3oHPANS948X9wRgSDfB65ufpk1l0rTyXUPPM0shS7cU=w544-h544-p-l90-rj',
      subscribers: '23.5M subscribers'
    },
    {
      title: 'Evanescence',
      id: 'UC1ObIyFsDJn62iAZYLWcNxA',
      imageURL: 'https://lh3.googleusercontent.com/YgPxx6eoqU3g1Inl2sSeBuBaaIK5L2ZljaAGbpusvcjOCypvkpEpDdFkUC9dOyYK1bRJ3ZWa=w544-h544-p-l90-rj',
      subscribers: '6.9M subscribers'
    },
    {
      title: 'Corvyx',
      id: 'UCCDxkTmw9iSiyAl2H2hYrQQ',
      imageURL: 'https://lh3.googleusercontent.com/iv72vMPLzZivV1SmZihoPH-CI4Y-ByiKZviOP7_NwALzkw_R_QX-T5Rvr-p3IfZki7v3qx9y_craLrc=w544-h544-p-l90-rj',
      subscribers: '159K subscribers'
    },
    {
      title: 'Jessie J',
      id: 'UCFIwgbSgHjfiK8mz7VE0g7Q',
      imageURL: 'https://lh3.googleusercontent.com/V_qLWYYkxf44da0ycnimLznBM-_gPzt7nYnUxQJErdOVZCLW4KZWsDMDElQ4gQCytmo2JfQdBKIRPw=w544-h544-p-l90-rj',
      subscribers: '10.6M subscribers'
    },
    {
      title: 'Ellie Goulding',
      id: 'UCZSxBlUEOKgXkzaj_VlBLlg',
      imageURL: 'https://lh3.googleusercontent.com/F2d0XjQWobLmBj_vvny4Hrxi266yeRrkkS8O_YMWPOUZ13yBercwJWa1rIyyab7OokDmfJYmzIkT3SY=w544-h544-p-l90-rj',
      subscribers: '12.7M subscribers'
    },
    {
      title: 'Kesha',
      id: 'UC4dTCL_is1o-dQLksanXmRg',
      imageURL: 'https://lh3.googleusercontent.com/NDpRQj6VtMqaiFGgy1zxMIL0J5YXXjvLm0o23mg6Y3Ivu12Qgfj_hGRkLdjmHgEb4f0DHLWF2MKJIg=w544-h544-p-l90-rj',
      subscribers: '4.42M subscribers'
    }
  ]
}

# Function Parameters

Query Parameter Description Default Required
id The artist id. undefined True

# Return Value

The function returns a objects, containing detailed information about the artist. The structure of each object conforms to the IArtist interface defined in the interfaces/index.ts file.