using System;
using System.Net.Http;
class Program
{
static async Task Main()
{
var client = new HttpClient();
var query = System.Web.HttpUtility.ParseQueryString(string.Empty);
query["engine"] = "google_play_product";
query["product_id"] = "com.google.android.youtube";
query["no_cache"] = "false";
query["api_key"] = "YOUR_API_KEY";
var response = await client.GetAsync(
$"https://serpapi.abcproxy.com/search?{query}"
);
Console.WriteLine(await response.Content.ReadAsStringAsync());
}
}
import java.net.*;
import java.io.*;
public class Main {
public static void main(String[] args) throws Exception {
String url = "https://serpapi.abcproxy.com/search" +
"?engine=google_play_product" +
"&product_id=com.google.android.youtube" +
"&no_cache=false" +
"&api_key=YOUR_API_KEY";
HttpURLConnection conn = (HttpURLConnection) new URL(url).openConnection();
conn.setRequestMethod("GET");
BufferedReader in = new BufferedReader(
new InputStreamReader(conn.getInputStream())
);
String response = in.lines().collect(Collectors.joining());
System.out.println(response);
}
}
API Parameters
Search Query
Name
Type
Required
Description
Example
q
string
No
Parameter defines the query you want to search in Google Play Apps Store.
123
Localization
Name
Type
Required
Description
Example
gl
string
No
us
hl
string
No
en
Google Play Categories
Name
Type
Required
Description
Example
store
string
No
Parameter defines the type of Google Play store. There are five types in total: apps (default), movies, tv, books and audiobooks store.
apps
Tv Store Parameters
Name
Type
Required
Description
Example
season_id
string
No
Parameter defines the ID of a season you want to get the results for. It should be used only when store parameter is set to tv.
store=tv
Reviews Parameters
Name
Type
Required
Description
Example
all_reviews
string
No
Parameter is used for retriving all reviews of a product. It can be set to true or false (default).
true
platform
string
No
Parameter is used for filtering reviews by platform.
It can be set to:
phone: Phone (default),
tablet: Tablet,
watch: Watch,
chromebook: Chromebook,
tv: TV.
It should be used only when all_reviews parameter is set to true.
-
rating
string
No
Parameter is used for filtering reviews by rating.
It can be set to:
1: 1-star,
2: 2-star,
3: 3-star,
4: 4-star,
5: 5-star.
It should be used only when all_reviews parameter is set to true.
-
sort_by
string
No
Parameter is used for sorting reviews by relevance.
It can be set to:
1: Most relevant (default),
2: Newest,
3: Rating.
It should be used only when all_reviews parameter is set to true.
-
num
string
No
Parameter defines the maximum number of reviews to return. (e.g., 40 (default) returns 40 reviews, 80 returns 80 reviews, and 100 returns 100 reviews). Maximum number of reviews you can return per search is 199.
It should be used only when all_reviews parameter is set to true.
40
next_page_token
string
No
Parameter defines the next page token. It is used for retrieving the next page results.
It should be used only when all_reviews parameter is set to true.
-
Serpapi Parameters
Name
Type
Required
Description
Example
engine
string
Yes
Set parameter to google_play_product to use the Google Play Product API engine.
google_play_product
no_cache
boolean
No
Parameter will force SerpApi to fetch the Google Play Product results even if a cached version is already present. A cache is served only if the query and all parameters are exactly the same. Cache expires after 1h. Cached searches are free, and are not counted towards your searches per month. It can be set to false (default) to allow results from the cache, or true to disallow results from the cache.
trueorfalse
api_key
string
Yes
Parameter defines the SerpApi private key to use.
-
Response
Success 200
Response Body
{
"search_metadata": {
"id": "fc105d39-d569-45c3-ad82-33dc0d3bc8a6",
"json_endpoint": "https://webserp.abcproxy.com/files/7e73c2af6da2be7c/fc105d39-d569-45c3-ad82-33dc0d3bc8a6.json",
"created_at": "2025-04-02 17:06:08",
"google_news_url": "https://play.google.com/store/apps/details?id=com.google.android.youtube",
"raw_html_file": "https://webserp.abcproxy.com/files/7e73c2af6da2be7c/fc105d39-d569-45c3-ad82-33dc0d3bc8a6.html",
"xray_html_file": "https://webserp.abcproxy.com/files/7e73c2af6da2be7c/fc105d39-d569-45c3-ad82-33dc0d3bc8a6.xray",
"total_time_taken": "6.1000"
},
"search_parameters": {
"engine": "google_play_product",
"no_cache": true,
"api_key": "YOUR_API_KEY",
"product_id": "com.google.android.youtube"
},
"developer_contact": [
{
"support_email": " support@google.com ",
"address": " 1600 Amphitheatre Pkwy\nMountain View, CA 94043\nUnited States "
}
],
"similar_results": [
{
"title": "More by Google LLC",
"see_more_link": "/store/apps/dev?id=5700313618786177705",
"item": [
{
"title": "Google Gemini",
"link": "/store/apps/details?id=com.google.android.apps.bard",
"rating": "4.6",
"extension": [
"Google LLC"
],
"thumbnail": "https://play-lh.googleusercontent.com/Pkwn0AbykyjSuCdSYCbq0dvOqHP-YXcbBLTZ8AOUZhvnRuhUnZ2aJrw_YCf6kVMcZ4PM=s64-rw"
},
{
"extension": [
"Google LLC"
],
"thumbnail": "https://play-lh.googleusercontent.com/GCsSBgR93cedwf2weP7s6VPsBitwir9ioOO0DYjLydIjdCkfQEv0GQzK34ky96L6XMc=s64-rw",
"title": "Google Find My Device",
"link": "/store/apps/details?id=com.google.android.apps.adm",
"rating": "4.4"
}
]
},
{
"title": "Similar apps",
"see_more_link": "/store/apps/collection/cluster?gsr=Sl5qGHJUQW1GbnltV2h6SmhtSUhTTWYvdmc9PcICQQoeChpjb20uZ29vZ2xlLmFuZHJvaWQueW91dHViZRAHGAgwATgAShMIARAAGgdZb3VUdWJlIAAoADAAUABYAWAA:S:ANO1ljLRXb8",
"item": [
{
"title": "Netflix",
"link": "/store/apps/details?id=com.netflix.mediaclient",
"rating": "4.0",
"extension": [
"Netflix, Inc."
],
"thumbnail": "https://play-lh.googleusercontent.com/TBRwjS_qfJCSj1m7zZB93FnpJM5fSpMA_wUlFDLxWAb45T9RmwBvQd5cWR5viJJOhkI=s64-rw"
},
{
"title": "Spotify: Music and Podcasts",
"link": "/store/apps/details?id=com.spotify.music",
"rating": "4.4",
"extension": [
"Spotify AB"
],
"thumbnail": "https://play-lh.googleusercontent.com/7ynvVIRdhJNAngCg_GI7i8TtH8BqkJYmffeUHsG-mJOdzt1XLvGmbsKuc5Q1SInBjDKN=s64-rw"
},
"..."
]
}
],
"what_s_new": [
{
"snippet": "For new features, look for in-product education & notifications sharing the feature and how to use it!"
}
],
"about_this_app": [
{
"snippet": "Get the official YouTube app on Android phones and tablets. See what the world is watching -- from the hottest music videos to what’s popular in gaming, fashion, beauty, news, learning and more. Subscribe to channels you love, create content of your own, share with friends, and watch on any device.Watch and subscribe ● Browse personal recommendations on Home● See the latest from your favorite channels in Subscriptions ● Look up videos you’ve watched, liked, and saved for later in Library Explore different topics, what’s popular, and on the rise (available in select countries)● Stay up to date on what’s popular in music, gaming, beauty, news, learning and more● See what’s trending on YouTube and around the world on Explore● Learn about the coolest Creators, Gamers, and Artists on the Rise (available in select countries)Connect with the YouTube community● Keep up with your favorites creators with Posts, Stories, Premieres, and Live streams● Join the conversation with comments and interact with creators and other community membersCreate content from your mobile device● Create or upload your own videos directly in the app ● Engage with your audience in real time with live streaming right from the appFind the experience that fits you and your family (available in select countries)● Every family has their own approach to online video. Learn about your options: the YouTube Kids app or a new parent supervised experience on YouTube at youtube.com/myfamilySupport creators you love with channel memberships (available in select countries)● Join channels that offer paid monthly memberships and support their work● Get access to exclusive perks from the channel & become part of their members community● Stand out in comments and live chats with a loyalty badge next to your usernameUpgrade to YouTube Premium (available in select countries)● Watch videos uninterrupted by ads, while using other apps, or when the screen is locked● Save videos for when you really need them – like when you’re on a plane or commuting● Get access to YouTube Music Premium as part of your benefits",
"updated_on": "Apr 1, 2025"
}
],
"data_safety": [
{
"link": "https://support.google.com/googleplay?p=data-safety&hl=en",
"text": "No data shared with third partiesLearn more about how developers declare sharing",
"subtext": "Learn more about how developers declare sharing"
},
{
"text": "This app may collect these data typesLocation, Personal info and 9 others",
"subtext": "Location, Personal info and 9 others"
},
"..."
],
"ratings": [
{
"stars": "1",
"count": "27,304,641"
},
{
"stars": "2",
"count": "6,690,931"
},
"..."
],
"product_info": [
{
"content_rating": [
{
"text": "Teen",
"thumbnail": "https://play-lh.googleusercontent.com/mw_NfsvKM8m6RPv8Fz2GQawCOsqWv010saMnc7zbWalMxuaA9IY8h7E0VMieLxSxAFB98NFeYqbFrXXq=w48-h16-rw"
}
],
"offers": [
{
"text": "Install",
"link": "https://play.google.com/store/apps/details?id=com.google.android.youtube&rdid=com.google.android.youtube&feature=md&offerId"
}
],
"title": "YouTube",
"authors": [
{
"name": "Google LLC",
"link": "/store/apps/dev?id=5700313618786177705"
}
],
"rating": "4.0",
"reviews": "162",
"downloads": "10B+",
"thumbnail": "https://play-lh.googleusercontent.com/6am0i3walYwNLc08QOOhRJttQENNGkhlKajXSERf3JnPVRQczIyxw2w3DxeMRTOSdsY=w240-h480-rw"
}
],
"media": [
{
"images": [
"https://play-lh.googleusercontent.com/BxbaFv67YkqT48wc4-9ILNSmLYLb92mgkrAYdyBwI478H2s6UDTutAveNu7cOZFEeSg=w526-h296-rw",
"https://play-lh.googleusercontent.com/lnfQ42Hslc6B_0A37YY_sNVPGEpND0YY0hcvjKLPCDB7dJNlDPn2ILICypeJxhecBQ=w526-h296-rw",
"https://play-lh.googleusercontent.com/nD2LH9KrtYmdruRXUn2ZQypfPHViJ1UYB1fHDN7Ti5JOmq8qHd-54oBCAVNUqvGWYC8=w526-h296-rw",
"https://play-lh.googleusercontent.com/xCBJ9BRKffRi8orvRzLn-LcMPPc1A8QC383k8NldcIREeoprwffXPgM_m85yD61B1Ng=w526-h296-rw",
"https://play-lh.googleusercontent.com/vOxdD2u-ys9J0U964Hle8gCzNAAht5-KR_xJcPCb1ukoGo_4ypD2nByU6wu-x8MUEw=w526-h296-rw"
]
}
],
"badges": [
{
"name": "#4 top free video players & editors"
}
],
"reviews": [
{
"title": "Laurie",
"rating": "1",
"snippet": "PiP is not working - the controls in the small window don't work, you have to open the full screen app to do anything, and sometimes the PiP window just doesn't show at all. Occasionally the app opens in a video I never clicked and would not have, I'm assuming because the algorithm is pushing it? Some basic functions aren't working anymore and have gone unfixed for a while.",
"likes": "2574",
"date": "March 11, 2025"
},
{
"title": "shell l",
"rating": "1",
"snippet": "Every time I go into it, the first video will automatically play, and it still does it after updating. Also why are there so many ads now? I pause the video, an ad pops up at the side, I go to the comments, an ad pops up over top them, plus every ad that is in the video. like I can understand having them in the video, but everytime I pause or go to the comments is just annoying.",
"likes": "8051",
"date": "March 7, 2025"
},
"..."
]
}
Response Fields
Field
Type
Description
search_metadata
object
Contains timing and status information
search_parameters
object
Contains query parameters and search context
developer_contact
object[]
DeveloperContact
similar_results
object[]
SimilarResults
about_this_app
object[]
AboutThisApp
data_safety
object[]
DataSafety
ratings
object[]
Ratings
product_info
object[]
ProductInfo
badges
object[]
Badges
reviews
object[]
Reviews
Error Responses
Common Errors
HTTP Status
Error Code
Description
200
400
API Key can not be empty
200
401
Param error
200
402
Api key error
200
403
Insufficient Balance
200
404
Deduction failed
200
405
Failed to record usage count
200
406
Unsupported engine
200
407
Network error
200
408
File not found
200
409
Limit param error
200
410
Build url error
200
411
Failed to QueryRecentRecord
200
412
Failed to find json
200
413
Get html error
200
414
HTML is empty
200
429
Too many request
Error Example
{
"code": 400,
"message": "API Key can not be empty"
}
Parameter defines the country to use for the Google Play search. It's a two-letter country code. (e.g., us (default) for the United States, uk for United Kingdom, or fr for France). You can find the full list of Google Play country availability here: . Afterwards, head to the page for a two-letter country code.
Parameter defines the language to use for the Google Play search. It's a two-letter language code. (e.g., en (default) for English, es for Spanish, or fr for French). Head to the for a full list of supported Google languages.