Skip to content
An Unofficial Google Play Music API written in C#
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

Google Play Music API Written in C Sharp (C#)

PROJECT DEAD - Google Blocked.

Google as blocked any packet tracing / decrypting from their mobile app, preventing me to continue updating this API. I have been unsuccessful in bypassing this protection, and don’t see it becoming something I can do in my spare time anymore… Sorry for any inconveniences.

Build Status: GoogleMusicApi MyGet Build Status

An Unofficial Google Play Music API Developed from the Google Play Music Android App (GoogleMusicApi.Common.MobileClient).

Documentation / Support

Please go checkout the Wiki it contains an overview and some guides on how to get started with using Google Play Music API.



  • .NET 4.5.2+ / UWP (Windows 10): Install-Package Google.Music.Api

Manual Reference


Checkout the Wiki for full information, but basic usage (getting a stream URL) looks like:

// ### Login ###
var mobileClient = new MobileClient();
if (await mc.LoginAsync("" /* can also be "iAmARandom" */, "randomPassword1"))
    Console.WriteLine("Logged In!");

    // ### Get Listen Now Situations (What you see when you first open the app) ###
    ListListenNowSituationResponse listenNowSituations = await mc.ListListenNowSituationsAsync();

    // ... Get Data from listen Now Situations ...

    Track track = /*  collected track from something */;

    // ### Get Stream Url ###
    Uri url = await mc.GetStreamUrlAsync(track);

    // ... Do what ever you want with stream URI ...
    Console.WriteLine("Login Failed!");


Any Contribution is greatly appreciated and will be fully documented and credited. If you wish to contribute to this project please go ahead :)

If you don't know what to do, there is a massive list of `TODO (): ` lines, specifying what needs to be done, plus bug testing is always greatly appreciated.

Thanks for your help in advance :)

Get In Touch

If you have any questions don't hesitate to email me at or leave an issue.

You can’t perform that action at this time.