
Node.js module to scrape application data from the Google Play store.
npm install google-play-scraper
Available methods: - app: Retrieves the full detail of an application. - list: Retrieves a list of applications from one of the collections at Google Play. - search: Retrieves a list of apps that results of searching by the given term. - developer: Returns the list of applications by the given developer name. - suggest: Given a string returns up to five suggestion to complete a search query term. - reviews: Retrieves a page of reviews for a specific application. - similar: Returns a list of similar apps to the one specified. - permissions: Returns the list of permissions an app has access to. - categories: Retrieve a full list of categories present from dropdown menu on Google Play.
Retrieves the full detail of an application. Options:
appId: the Google Play id of the application (the ?id= parameter on the url).lang (optional, defaults to 'en'): the two letter language code in which to fetch the app page.country (optional, defaults to 'us'): the two letter country code used to retrieve the applications. Needed when the app is available only in some countries.Example:
var gplay = require('google-play-scraper');
gplay.app({appId: 'com.dxco.pandavszombies'})
.then(console.log, console.log);
Results:
{ appId: 'com.dxco.pandavszombies',
url: 'https://play.google.com/store/apps/details?id=com.dxco.pandavszombies&hl=en&gl=us'
title: 'Panda vs Zombies',
description: 'Panda, my friend, Panda is the answer. But not any Panda: Rocky the Panda!',
descriptionHTML: 'Panda, my friend, Panda is the answer. But not any Panda: <b>Rocky the Panda!</b>',
summary: 'Help Rocky the Panda warrior to fight zombie games and save the Panda kind.',
installs: '10,000+',
minInstalls: 10000,
score: 4.5025907,
scoreText: '4.5',
ratings: 386,
reviews: 168,
histogram: { '1': 14, '2': 11, '3': 26, '4': 51, '5': 284 },
price: 0,
free: true,
currency: 'USD',
priceText: 'Free',
offersIAP: false,
size: '34M',
androidVersion: '2.3',
androidVersionText: '2.3 and up',
developer: 'DxCo Games',
developerId: 'DxCo+Games',
developerEmail: 'dxcogames@gmail.com',
developerWebsite: 'http://www.dxco-games.com/',
developerAddress: undefined,
genre: 'Action',
genreId: 'GAME_ACTION',
familyGenre: undefined,
familyGenreId: undefined,
icon: 'https://lh6.ggpht.com/5mI27oolnooL__S3ns9qAf_6TsFNExMtUAwTKz6prWCxEmVkmZZZwe3lI-ZLbMawEJh3',
headerImage: 'https://lh4.ggpht.com/kKfRICvVTCikV4MLqsP0kWEth2F-I1Qt4jxMdklOdE2r8AmtrE-Umn6_WH_cGExXnjk-',
screenshots: [ 'https://lh5.ggpht.com/gD8L81t4CFKI21aOVkSnfVHioInwnt0XxMMWA-dBB2aU5bk3UfxGn8Hcq_KxcM6m430'],
video: 'https://www.youtube.com/embed/PFGj-W8Pe5s?ps=play&vq=large&rel=0&autohide=1&showinfo=0',
videoImage: 'https://i.ytimg.com/vi/PFGj-W8Pe5s/hqdefault.jpg',
contentRating: 'Mature 17+',
contentRatingDescription: 'Violence, Blood and Gore',
adSupported: true,
released: 'Feb 27, 2015',
updated: 1432677999000,
version: '1.4',
recentChanges: '- Added a hint system
- Added share option in level finished',
comments: [ 'Great!', 'PvZ', 'LOL', 'Zombie killer', 'Una pasada' ]
}
Retrieve a list of applications from one of the collections at Google Play. Options:
collection (optional, defaults to collection.TOP_FREE): the Google Play collection that will be retrieved. Available options can bee found here.category (optional, defaults to no category): the app category to filter by. Available options can bee found here.age (optional, defaults to no age filter): the age range to filter the apps (only for FAMILY and its subcategories). Available options are age.FIVE_UNDER, age.SIX_EIGHT, age.NINE_UP.num (optional, defaults to 60, max is 120): the amount of apps to retrieve.start (optional, defaults to 0, max is 500): the starting index of the retrieved list.lang (optional, defaults to 'en'): the two letter language code used to retrieve the applications.country (optional, defaults to 'us'): the two letter country code used to retrieve the applications.fullDetail (optional, defaults to false): if true, an extra request will be made for every resulting app to fetch its full detail.Example:
var gplay = require('google-play-scraper');
gplay.list({
category: gplay.category.GAME_ACTION,
collection: gplay.collection.TOP_FREE,
num: 2
})
.then(console.log, console.log);
Results:
[ { url: 'https://play.google.com/store/apps/details?id=com.playappking.busrush',
appId: 'com.playappking.busrush',
summary: 'Bus Rush is an amazing running game for Android! Start running now!',
developer: 'Play App King',
developerId: '6375024885749937863',
title: 'Bus Rush',
icon: 'https://lh3.googleusercontent.com/R6hmyJ6ls6wskk5hHFoW02yEyJpSG36il4JBkVf-Aojb1q4ZJ9nrGsx6lwsRtnTqfA=w340',
score: 3.9,
scoreText: '3.9',
priceText: 'Free',
free: false },
{ url: 'https://play.google.com/store/apps/details?id=com.yodo1.crossyroad',
appId: 'com.yodo1.crossyroad',
title: 'Crossy Road',
summary: 'Embark on an action arcade, endless runner journey!',
developer: 'Yodo1 Games',
developerId: 'Yodo1+Games',
icon: 'https://lh3.googleusercontent.com/doHqbSPNekdR694M-4rAu9P2B3V6ivff76fqItheZGJiN4NBw6TrxhIxCEpqgO3jKVg=w340',
score: 4.5,
scoreText: '4.5',
priceText: 'Free',
free: false } ]
Retrieves a list of apps that results of searching by the given term. Options:
term: the term to search by.num (optional, defaults to 20, max is 250): the amount of apps to retrieve.lang (optional, defaults to 'en'): the two letter language code used to retrieve the applications.country (optional, defaults to 'us'): the two letter country code used to retrieve the applications.fullDetail (optional, defaults to false): if true, an extra request will be made for every resulting app to fetch its full detail.price (optional, defaults to all): allows to control if the results apps are free, paid or both.all: Free and paidfree: Free apps onlypaid: Paid apps onlyExample:
var gplay = require('google-play-scraper');
gplay.search({
term: "panda",
num: 2
}).then(console.log, console.log);
Results:
[ { url: 'https://play.google.com/store/apps/details?id=com.snailgameusa.tp',
appId: 'com.snailgameusa.tp',
summary: 'An exciting action adventure RPG of Panda proportions!',
title: 'Taichi Panda',
developer: 'Snail Games USA',
developerId: 'Snail+Games+USA+Inc',
icon: 'https://lh3.googleusercontent.com/g8RMjpRk9yetsui4g5lxnioAFwtgoKUJDBnb2knJMrOaLOtHrwU1qYkb-PadbL0Zmg=w340',
score: 4.1,
scoreText: '4.1',
priceText: 'Free',
free: true },
{ url: 'https://play.google.com/store/apps/details?id=com.sgn.pandapop.gp',
appId: 'com.sgn.pandapop.gp',
summary: 'Plan your every pop to rescue baby pandas from the evil Baboon!',
title: 'Panda Pop',
developer: 'SGN',
developerId: '5509190841173705883',
icon: 'https://lh5.ggpht.com/uAAUBzEHtD_-mTxomL2wFxb5VSdtNllk9M4wjVdTGMD8pH79RtWGYQYrrtfVTjq7PV7M=w340',
score: 4.2,
scoreText: '4.2',
priceText: 'Free',
free: true } ]
Returns the list of applications by the given developer name. Options:
devId: the name of the developer.lang (optional, defaults to 'en'): the two letter language code in which to fetch the app list.country (optional, defaults to 'us'): the two letter country code used to retrieve the applications. Needed when the app is available only in some countries.num (optional, defaults to 60): the amount of apps to retrieve.fullDetail (optional, defaults to false): if true, an extra request will be made for every resulting app to fetch its full detail.Example:
var gplay = require('google-play-scraper');
gplay.developer({devId: "DxCo Games"}).then(console.log);
Results:
[ { url: 'https://play.google.com/store/apps/details?id=com.dxco.pandavszombies2',
appId: 'com.dxco.pandavszombies2',
title: 'Panda vs Zombie 2 Panda\'s back',
summary: 'Help Rocky the Panda warrior to fight zombies again!',
developer: 'DxCo Games',
developerId: 'DxCo+Games',
icon: 'https://lh3.googleusercontent.com/kFco0LtC7ICP0QrtpkF-QQahU-iwuDgEsH0AClQcHwtzsO5-8BGTf8QgR6dlCLxqBLc=w340',
score: 3.9,
scoreText: '3.9',
priceText: 'Free',
free: true },
{ url: 'https://play.google.com/store/apps/details?id=com.dxco.pandavszombies',
appId: 'com.dxco.pandavszombies',
title: 'Panda vs Zombie: panda ftw',
summary: 'Help Rocky the Panda warrior to fight zombie games and save the Panda kind.',
developer: 'DxCo Games',
developerId: 'DxCo+Games',
icon: 'https://lh6.ggpht.com/5mI27oolnooL__S3ns9qAf_6TsFNExMtUAwTKz6prWCxEmVkmZZZwe3lI-ZLbMawEJh3=w340',
score: 4.5,
scoreText: '4.5',
priceText: 'Free',
free: true } ]
Given a string returns up to five suggestion to complete a search query term. Options:
term: the term to get suggestions for.lang (optional, defaults to 'en'): the two letter language code used to retrieve the suggestions.country (optional, defaults to 'us'): the two letter country code used to retrieve the suggestions.Example:
var gplay = require('google-play-scraper');
gplay.suggest({term: 'panda'}).then(console.log);
Results:
[ 'panda pop',
'panda',
'panda games',
'panda run',
'panda pop for free' ]
Retrieves a page of reviews for a specific application.
Note that this method returns reviews in a specific language (english by default), so you need to try different languages to get more reviews. Also, the counter displayed in the Google Play page refers to the total number of 1-5 stars ratings the application has, not the written reviews count. So if the app has 100k ratings, don't expect to get 100k reviews by using this method.
Options:
appId: Unique application id for Google Play. (e.g. id=com.mojang.minecraftpe maps to Minecraft: Pocket Edition game).lang (optional, defaults to 'en'): the two letter language code in which to fetch the reviews.sort (optional, defaults to sort.NEWEST): The way the reviews are going to be sorted. Accepted values are: sort.NEWEST, sort.RATING and sort.HELPFULNESS.page (optional, defaults to 0): Number of page that contains reviews. Every page has 40 reviews at most.Example:
var gplay = require('google-play-scraper');
gplay.reviews({
appId: 'com.mojang.minecraftpe',
page: 0,
sort: gplay.sort.RATING
}).then(console.log, console.log);
Results:
[ { id: 'gp:AOqpTOFmAVORqfWGcaqfF39ftwFjGkjecjvjXnC3g_uL0NtVGlrrqm8X2XUWx0WydH3C9afZlPUizYVZAfARLuk',
userName: 'Inga El-Ansary',
userImage: 'https://lh3.googleusercontent.com/-hBGvzn3XlhQ/AAAAAAAAAAI/AAAAAAAAOw0/L4GY9KrQ-DU/w96-c-h96/photo.jpg',
date: 'June 7, 2015',
score: 5,
scoreText: '5',
url: 'https://play.google.com/store/apps/details?id=com.dxco.pandavszombies&reviewId=Z3A6QU9xcFRPRWZaVHVZZ081NlNsRW9TV0hJeklGSTBvYTBTUlFQUUJIZThBSGJDX2s1Y1o0ZXRCbUtLZmgzTE1PMUttRmpRSS1YcFgxRmx1ZXNtVzlVS0Zz'
title: 'I LOVE IT',
text: 'It has skins and snowballs everything I wanted its so cool I love it!!!!!!!!',
replyDate: 'June 9, 2015',
replyText: 'thanks for playing Panda vs Zombies!' },
{ id: 'gp:AOqpTOF39mpW-6gurlkCCTV_8qnKne7O5wcFsLc6iGVot5hHpplqPCqIiVL2fjximXNujuMjwQ4pkizxGrn13x0',
userName: 'Millie Hawthorne',
userImage: 'https://lh5.googleusercontent.com/-Q_FTAEBH2Qg/AAAAAAAAAAI/AAAAAAAAAZk/W5dTdaHCUE4/w96-c-h96/photo.jpg',
date: 'January 24, 2015',
url: 'https://play.google.com/store/apps/details?id=com.dxco.pandavszombies&reviewId=Z3A6QU9xcFRPRmFHdlBFS2pGS2JVYW5Dd3kxTm1qUzRxQlYyc3Z4ZE9CYXRuc0hkclV3a09hbEFkOVdoWmw3eFN5VjF4cDJPLTg5TW5ZUjl1Zm9HOWc5NGtr',
score: 5,
scoreText: '5',
title: 'CAN NEVER WAIT TILL NEW UPDATE',
text: 'Love it but needs to pay more attention to pocket edition',
replyDate: undefined,
replyText: undefined } ]
Returns a list of similar apps to the one specified. Options:
appId: the Google Play id of the application to get similar apps for.lang (optional, defaults to 'en'): the two letter language code in which to fetch the app list.fullDetail (optional, defaults to false): if true, an extra request will be made for every resulting app to fetch its full detail.Example:
var gplay = require('google-play-scraper');
gplay.similar({appId: "com.dxco.pandavszombies"}).then(console.log);
Results: ```javascript [ { url: 'https://play.google.com/store/apps/details?id=com.creative.rambo', appId: 'com.creative.rambo', summary: 'Rambo - The Mobile Game'
$ claude mcp add google-play-scraper \
-- python -m otcore.mcp_server <graph>