Protect your games from malicious sites by using the Y8 Account Protection API. We maintain a blacklist of sites that are known cheaters in the online gaming space. By using the Protection API, you help incentivize site operators to publish your content in a fair way.

Usage

Use a callback function with isBlacklisted to check if the current domain is blacklisted. It will return true or false. If blacklisted, a message should be shown to users giving them information about where a playable version of the game can be found.

ID.Protection.isBlacklisted(function(blacklisted){
    console.log(blacklisted);
});

While the Protection API is useful for all games, there is an additional API for Y8 Account sponsored games. The isSponsor will return true or false if the current game is hosted on the Y8 Account network.

ID.Protection.isSponsor(function(sponsor){
    console.log(sponsor);
});