SerpBase
Back to Blog

Google Play Store API: Search Apps and Track Rankings as JSON

Google Play has no public search API. One POST returns the store's search results as JSON: package name, rating, downloads and category. Includes a rank tracker.

November 24, 2026
By SerpBase Team2 min read

Short answer: Google Play has no official API for searching the store, but you can get its search results as JSON by POSTing a keyword to /google/play/search — package name, title, rating, download band, category and icon for each app, in store order.

The official Google Play Developer API only covers apps you publish yourself. For competitor research and app store optimisation (ASO) you need what any visitor sees when they search the store.

The request

curl -X POST 'https://api.serpbase.dev/google/play/search' \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -d '{"q":"habit tracker","gl":"us","hl":"en"}'

gl is the store country and hl the language — rankings differ between countries, so always set both.

What comes back

We ran this on 24 November 2026: 21 apps in 1.9 seconds. The first item in products:

{
  "position": 1,
  "id": "org.isoron.uhabits",
  "title": "Loop Habit Tracker",
  "rating": 4.7,
  "app": {"bundle_id": "org.isoron.uhabits", "downloads_display": "5,000,000+"},
  "categories": [{"name": "Productivity"}],
  "link": "https://play.google.com/store/apps/details?id=org.isoron.uhabits"
}

id is the package name, the stable key to store. downloads_display is the band Google shows publicly ("5,000,000+"), not an exact count.

Python: track where an app ranks for its keywords

import requests, datetime

APP = "org.isoron.uhabits"
KEYWORDS = ["habit tracker", "daily routine", "streak counter"]

for kw in KEYWORDS:
    r = requests.post(
        "https://api.serpbase.dev/google/play/search",
        headers={"X-API-Key": "YOUR_API_KEY"},
        json={"q": kw, "gl": "us", "hl": "en"},
        timeout=30,
    ).json()
    rank = next((p["position"] for p in r.get("products", []) if p["id"] == APP), None)
    print(datetime.date.today(), kw, rank or "not on the first page")

Three keywords a day is three credits. Write the rows to a file and you have a ranking history.

Things that trip people up

  • Rankings are per country and language. A position in the US store says nothing about Germany. Run each market you care about.
  • The first page is what you get. The store shows a limited set per search; an app that is absent is simply "not on the first page", not missing from the store.
  • Download bands move in steps. An app stays at "1,000,000+" until it crosses the next band, so it is a coarse signal.

App details

For one app's full listing — description, version, developer and so on — use /google/play/app with the package name.

What people build with it

Keyword rank tracking for ASO, competitor watchlists (who entered the top results this week), market sizing by category and download band, and brand checks for look-alike apps.

Cost and limits

Each request costs 1 credit. Requests that fail are not charged. The response is always HTTP 200 with a status field: 0 means success, anything else comes with an error string, so check status rather than the HTTP code. New accounts get 500 free credits without a card.