Google Play API
Scrape Google Play Store app information.
Get app details from Google Play by product ID and store type.
To enable this engine, set engine=google_play.
Request URL
https://serpapi.webscrapingapi.com/v2?engine=google_play&api_key=<YOUR_API_KEY>&type=product&store=apps&product_id=com.kiloo.subwaysurfParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
product_id | string | Yes | Google Play product ID. |
store | string | No | Google Play store type. |
type | string | No | Result type to retrieve. |
Code Samples
curl --request GET \
--url "https://serpapi.webscrapingapi.com/v2?engine=google_play&api_key=<YOUR_API_KEY>&type=product&store=apps&product_id=com.kiloo.subwaysurf"const response = await fetch("https://serpapi.webscrapingapi.com/v2?engine=google_play&api_key=<YOUR_API_KEY>&type=product&store=apps&product_id=com.kiloo.subwaysurf", {
method: "GET"
});
const data = await response.text();
console.log(data);import http.client
connection = http.client.HTTPSConnection("serpapi.webscrapingapi.com")
connection.request("GET", "/v2?engine=google_play&api_key=%3CYOUR_API_KEY%3E&type=product&store=apps&product_id=com.kiloo.subwaysurf")
response = connection.getresponse()
data = response.read()
print(data.decode("utf-8"))<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://serpapi.webscrapingapi.com/v2?engine=google_play&api_key=<YOUR_API_KEY>&type=product&store=apps&product_id=com.kiloo.subwaysurf",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_TIMEOUT => 30,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$error = curl_error($curl);
curl_close($curl);
echo $error ? "cURL Error #: " . $error : $response;package main
import (
"fmt"
"io"
"log"
"net/http"
)
func main() {
response, err := http.Get("https://serpapi.webscrapingapi.com/v2?engine=google_play&api_key=<YOUR_API_KEY>&type=product&store=apps&product_id=com.kiloo.subwaysurf")
if err != nil {
log.Fatal(err)
}
defer response.Body.Close()
body, err := io.ReadAll(response.Body)
if err != nil {
log.Fatal(err)
}
fmt.Println(string(body))
}HttpRequest request = HttpRequest.newBuilder()
.uri(URI.create("https://serpapi.webscrapingapi.com/v2?engine=google_play&api_key=<YOUR_API_KEY>&type=product&store=apps&product_id=com.kiloo.subwaysurf"))
.GET()
.build();
HttpResponse<String> response = client.send(request, HttpResponse.BodyHandlers.ofString());
System.out.println(response.body());using var client = new HttpClient();
var response = await client.GetAsync("https://serpapi.webscrapingapi.com/v2?engine=google_play&api_key=<YOUR_API_KEY>&type=product&store=apps&product_id=com.kiloo.subwaysurf");
Console.WriteLine(await response.Content.ReadAsStringAsync());require 'net/http'
require 'uri'
uri = URI("https://serpapi.webscrapingapi.com/v2?engine=google_play&api_key=<YOUR_API_KEY>&type=product&store=apps&product_id=com.kiloo.subwaysurf")
response = Net::HTTP.get_response(uri)
puts response.body