Browse a Category
curl --request GET \
--url https://scrapebadger.com/v1/google-play/categories/{category_id} \
--header 'X-API-Key: <x-api-key>'import requests
url = "https://scrapebadger.com/v1/google-play/categories/{category_id}"
headers = {"X-API-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<x-api-key>'}};
fetch('https://scrapebadger.com/v1/google-play/categories/{category_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://scrapebadger.com/v1/google-play/categories/{category_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://scrapebadger.com/v1/google-play/categories/{category_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<x-api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://scrapebadger.com/v1/google-play/categories/{category_id}")
.header("X-API-Key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/google-play/categories/{category_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"query": "<string>",
"url": "<string>",
"result_count": 123,
"apps": [
{}
]
}Endpoints
Browse a Category
Every app across a Google Play category page’s editorial rails, deduped and in Play’s own order.
GET
/
v1
/
google-play
/
categories
/
{category_id}
Browse a Category
curl --request GET \
--url https://scrapebadger.com/v1/google-play/categories/{category_id} \
--header 'X-API-Key: <x-api-key>'import requests
url = "https://scrapebadger.com/v1/google-play/categories/{category_id}"
headers = {"X-API-Key": "<x-api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<x-api-key>'}};
fetch('https://scrapebadger.com/v1/google-play/categories/{category_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://scrapebadger.com/v1/google-play/categories/{category_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <x-api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://scrapebadger.com/v1/google-play/categories/{category_id}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<x-api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://scrapebadger.com/v1/google-play/categories/{category_id}")
.header("X-API-Key", "<x-api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://scrapebadger.com/v1/google-play/categories/{category_id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<x-api-key>'
response = http.request(request)
puts response.read_body{
"query": "<string>",
"url": "<string>",
"result_count": 123,
"apps": [
{}
]
}Browse a Play category. Returns every app across all of the category page’s
editorial rails (“Popular”, “Be the first to play”, genre spotlights), deduped
and in the order Play ranked them — around 100 apps for a broad category like
GAME.
Credits: 5
This is the working alternative to top charts. Play renders the ranked
top-chart list client-side, so
/collections/{collection}
answers 422. A category browse is server-rendered and returns real data.Authorization
string
required
Your ScrapeBadger API key.
Path Parameters
string
required
Play category id, e.g.
SOCIAL, GAME_PUZZLE, APPLICATION. The full list
is at
/categories (free);
it also matches genre_id on an app detail record.Query Parameters
string
default:"US"
Play storefront (
gl).string
default:"en"
Play content language (
hl).Response
string
The category id requested.
string
The Play URL the apps were read from.
integer
Apps returned.
AppCard[]
Apps in the category — same shape as
search results.
Example
curl "https://scrapebadger.com/v1/google-play/categories/GAME_PUZZLE?country=US&lang=en" \
-H "X-API-Key: YOUR_API_KEY"
const res = await fetch(
"https://scrapebadger.com/v1/google-play/categories/GAME_PUZZLE?" +
new URLSearchParams({ country: "US", lang: "en" }),
{ headers: { "X-API-Key": process.env.SCRAPEBADGER_API_KEY } },
);
const { apps } = await res.json();
import requests
res = requests.get(
"https://scrapebadger.com/v1/google-play/categories/GAME_PUZZLE",
headers={"X-API-Key": "YOUR_API_KEY"},
params={"country": "US", "lang": "en"},
)
apps = res.json()["apps"]
Response
{
"query": "GAME_PUZZLE",
"url": "https://play.google.com/store/apps/category/GAME_PUZZLE?hl=en&gl=US",
"result_count": 96,
"apps": [
{
"app_id": "com.king.candycrushsaga",
"title": "Candy Crush Saga",
"developer": "King",
"summary": "Switch and match Candies in this tasty puzzle adventure",
"icon": "https://play-lh.googleusercontent.com/example=w240-h480-rw",
"score": 4.6,
"score_text": "4.6",
"installs": "1,000,000,000+",
"genre": "Puzzle",
"content_rating": "Everyone",
"price": { "price": 0.0, "currency": "USD", "price_text": "Free", "is_free": true },
"url": "https://play.google.com/store/apps/details?id=com.king.candycrushsaga"
}
]
}
Errors
| Status | Meaning |
|---|---|
404 | No apps in that category for the storefront — usually an unknown category id. |
422 | Play returned no usable data — not billed. Retry. |

