Google Play Store API

Our Google Play Store API allows you to scrape SERP results from Google Play Store. The API is accessed through the following endpoint: /search?engine=google_play. A user may query the following: https://serpapi.com/search?engine=google_play utilizing a GET request. Head to the playground for a live and interactive demo.

API Parameters

Search Query

q

Optional

Parameter defines the query you want to search. You can search for apps, games, movies or books.

Localization

gl

Optional

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: Google Play Countries. Afterwards, head to the Google countries page for a two-letter country code.

hl

Optional

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 Google languages for a full list of supported Google languages.

Google Play Categories

store

Required

Parameter defines the type of Google Play store. Available options:
apps - Apps store (default)
games - Games store
movies - Movies store
books - Books store

apps_category

Optional

Parameter defines the apps and games store category. Head to the Google Play store Apps Categories for a full list of supported Google Play Apps store categories.

movies_category

Optional

Parameter defines the movies store category. Head to the Google Play store Movies Categories for a full list of supported Google Play Movies store categories.

books_category

Optional

Parameter defines the books store category. Head to the Google Play store Books Categories for a full list of supported Google Play Books store categories.

age

Optional

Parameter defines age subcategory. age works, and should be aplied only in combination with next parameter / value pairs:
store=apps, apps_category=FAMILY;
store=movies, movies_category=FAMILY;
store=books, books_category=coll_1689

It can be set to:
AGE_RANGE1 - Ages up to 5
AGE_RANGE2 - Ages 6-8
AGE_RANGE3 - Ages 9-12

Advanced Google Play Parameters

price

Optional

Parameter is used for sorting items by price. It is exclusive to the Google Play Books store, and it should be used only in combination with the q parameter. It can be set to:
1 - Free
2 - Paid

store_device

Optional

Parameter defines the device for sorting results. Available options:
phone - Phone device (default)
tablet - Tablet device
tv - TV device
chromebook - Chromebook device
watch - Watch device
car - Car device

chart

Optional

Parameter is used for showing top charts. It can return up to 50 results. Each store contains different charts which require different values for retrieving results. To get the value of a specific chart you can use our Google Play Store API JSON output: chart_options[index].value (e.g. chart=topselling_free).

see_more_token

Optional

Parameter defines the token used for retrieving all of the results from a specific sections.

Pagination

next_page_token

Optional

Parameter defines the next page token. It is used for retrieving the next page results.

Serpapi Parameters

engine

Required

Set parameter to google_play to use the Google Play API engine.

no_cache

Optional

Parameter will force SerpApi to fetch the Google Play 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. no_cache and async parameters should not be used together.

async

Optional

Parameter defines the way you want to submit your search to SerpApi. It can be set to false (default) to open an HTTP connection and keep it open until you got your search results, or true to just submit your search to SerpApi and retrieve them later. In this case, you'll need to use our Searches Archive API to retrieve your results. async and no_cache parameters should not be used together. async should not be used on accounts with Ludicrous Speed enabled.

api_key

Required

Parameter defines the SerpApi private key to use.

output

Optional

Parameter defines the final output you want. It can be set to json (default) to get a structured JSON of the results, or html to get the raw html retrieved.

API Results

JSON Results

JSON output includes structured data for Apps Store, Books Store, Games Store, Movies Store, and Top Charts.

A search status is accessible through search_metadata.status. It flows this way: Processing -> Success || Error. If a search has failed, error will contain an error message. search_metadata.id is the search ID inside SerpApi.

HTML Results

HTML output is useful to debug JSON results or support features not supported yet by SerpApi. HTML output gives you the raw HTML results from Google.
This API does not have html response when using pagination or retrieving top charts, just a text. search_metadata.prettify_html_file contains prettified version of the result. It is displayed in the playground.

API Examples

Example with store: apps

Example with store: apps

JSON Example

{
  "search_metadata": {
    "id": "62a5eac4de983401dfecc7f5",
    "status": "Success",
    "json_endpoint": "https://serpapi.com/searches/c1cdb245d643ce45/62a5eac4de983401dfecc7f5.json",
    "created_at": "2022-06-12 13:31:48 UTC",
    "processed_at": "2022-06-12 13:31:49 UTC",
    "google_play_url": "https://play.google.com/store/apps?hl=en&gl=us",
    "raw_html_file": "https://serpapi.com/searches/c1cdb245d643ce45/62a5eac4de983401dfecc7f5.html",
    "total_time_taken": 1.97
  },
  "search_parameters": {
    "engine": "google_play",
    "hl": "en",
    "gl": "us",
    "store": "apps"
  },
  "chart_options": [
    {
      "text": "Top free",
      "value": "topselling_free"
    },
    {
      "text": "Top grossing",
      "value": "topgrossing"
    },
    {
      "text": "Top paid",
      "value": "topselling_paid"
    }
  ],
  "organic_results": [
    {
      "title": "Recommended for you",
      "items": [
        {
          "title": "YouTube",
          "link": "https://play.google.com/store/apps/details?id=com.google.android.youtube",
          "product_id": "com.google.android.youtube",
          "serpapi_link": "https://serpapi.com/search.json?engine=google_play_product&gl=us&hl=en&product_id=com.google.android.youtube&store=apps",
          "rating": 4.2,
          "thumbnail": "https://play-lh.googleusercontent.com/lMoItBgdPPVDJsNOVtP26EKHePkwBg-PkuY9NOrc-fumRtTFP4XhpUNk_22syN4Datc=s256-rw"
        },
        {
          "title": "Google Chrome: Fast & Secure",
          "link": "https://play.google.com/store/apps/details?id=com.android.chrome",
          "product_id": "com.android.chrome",
          "serpapi_link": "https://serpapi.com/search.json?engine=google_play_product&gl=us&hl=en&product_id=com.android.chrome&store=apps",
          "rating": 4.2,
          "thumbnail": "https://play-lh.googleusercontent.com/KwUBNPbMTk9jDXYS2AeX3illtVRTkrKVh5xR1Mg4WHd0CG2tV4mrh1z3kXi5z_warlk=s256-rw"
        },
        {
          "title": "Gmail",
          "link": "https://play.google.com/store/apps/details?id=com.google.android.gm",
          "product_id": "com.google.android.gm",
          "serpapi_link": "https://serpapi.com/search.json?engine=google_play_product&gl=us&hl=en&product_id=com.google.android.gm&store=apps",
          "rating": 4.2,
          "thumbnail": "https://play-lh.googleusercontent.com/KSuaRLiI_FlDP8cM4MzJ23ml3og5Hxb9AapaGTMZ2GgR103mvJ3AAnoOFz1yheeQBBI=s256-rw"
        },
        ...
      ]
    },
    {
      "title": "Communication",
      "items": [
        {
          "title": "Messages",
          "link": "https://play.google.com/store/apps/details?id=com.google.android.apps.messaging",
          "product_id": "com.google.android.apps.messaging",
          "serpapi_link": "https://serpapi.com/search.json?engine=google_play_product&gl=us&hl=en&product_id=com.google.android.apps.messaging&store=apps",
          "rating": 4.2,
          "thumbnail": "https://play-lh.googleusercontent.com/OY4rxeNTPaHwyOTZ-RUooqJvPnO5QUYmQcw0dhD90Mu6UWItOSZfQv7ks_FscbBow0M=s256-rw"
        },
        {
          "title": "Discord - Chat, Talk & Hangout",
          "link": "https://play.google.com/store/apps/details?id=com.discord",
          "product_id": "com.discord",
          "serpapi_link": "https://serpapi.com/search.json?engine=google_play_product&gl=us&hl=en&product_id=com.discord&store=apps",
          "rating": 4.5,
          "thumbnail": "https://play-lh.googleusercontent.com/0oO5sAneb9lJP6l8c6DH4aj6f85qNpplQVHmPmbbBxAukDnlO7DarDW0b-kEIHa8SQ=s256-rw"
        },
        {
          "title": "Google Voice",
          "link": "https://play.google.com/store/apps/details?id=com.google.android.apps.googlevoice",
          "product_id": "com.google.android.apps.googlevoice",
          "serpapi_link": "https://serpapi.com/search.json?engine=google_play_product&gl=us&hl=en&product_id=com.google.android.apps.googlevoice&store=apps",
          "rating": 4.4,
          "thumbnail": "https://play-lh.googleusercontent.com/Gf8ufuFbtfXO5Y6JuZjnG0iIpZh21zNTqZ5aiAXO8mA38mvXzY-1s27FWbGlp51paQ=s256-rw"
        },
        ...
      ]
    },
    {
      "title": "Entertainment",
      "items": [
        {
          "title": "Xbox",
          "link": "https://play.google.com/store/apps/details?id=com.microsoft.xboxone.smartglass",
          "product_id": "com.microsoft.xboxone.smartglass",
          "serpapi_link": "https://serpapi.com/search.json?engine=google_play_product&gl=us&hl=en&product_id=com.microsoft.xboxone.smartglass&store=apps",
          "rating": 4.5,
          "thumbnail": "https://play-lh.googleusercontent.com/hihXCV-0wxOXB5N7uBREaJeCVK0BDjNEBtKwNAncftZMflpEvasiKXn7vCKxu9qGpvk=s256-rw"
        },
        {
          "title": "HBO Max: Stream TV & Movies",
          "link": "https://play.google.com/store/apps/details?id=com.hbo.hbonow",
          "product_id": "com.hbo.hbonow",
          "serpapi_link": "https://serpapi.com/search.json?engine=google_play_product&gl=us&hl=en&product_id=com.hbo.hbonow&store=apps",
          "rating": 3.7,
          "thumbnail": "https://play-lh.googleusercontent.com/GmIOtlRHzTffK3WSyNrz4NNrWFh_yUuhQb9UHXztk0ZxeeFzAUD52b9YVTGh7nsdJ8c=s256-rw"
        },
        {
          "title": "Tubi - Movies & TV Shows",
          "link": "https://play.google.com/store/apps/details?id=com.tubitv",
          "product_id": "com.tubitv",
          "serpapi_link": "https://serpapi.com/search.json?engine=google_play_product&gl=us&hl=en&product_id=com.tubitv&store=apps",
          "rating": 4.8,
          "thumbnail": "https://play-lh.googleusercontent.com/Xy8NOV0EXdrbji891ShNk9HKqYWtC0__mQDrSA_SNlqcg-a0OarjX1Ny3kIxxYPoZkc=s256-rw"
        },
        ...
      ]
    },
    ...
  ],
  "items_highlight": [
    [
      {
        "title": "Apps for community",
        "subtitle": "Together with Pride",
        "link": "https://play.google.com/store/apps/editorial?id=mc_apps_edit_all__pride_2022_collection_fcp_",
        "product_id": "mc_apps_edit_all__pride_2022_collection_fcp_",
        "thumbnail": "https://play-lh.googleusercontent.com/fFpn0SSxFhRf5koV_F_gAI6jn3vi-UsX9G8DCze4Gnz4fT2i4NBxndvMKq9z1Sg2PwsOMZdgJiU=w490-h245-rw"
      },
      {
        "title": "A space for everyone",
        "subtitle": "Together with Pride",
        "link": "https://play.google.com/store/apps/details?id=com.reddit.frontpage",
        "product_id": "com.reddit.frontpage",
        "serpapi_link": "https://serpapi.com/search.json?engine=google_play_product&gl=us&hl=en&product_id=com.reddit.frontpage&store=apps",
        "thumbnail": "https://play-lh.googleusercontent.com/VEYd1-1s41rCSzWq3o1xC6MTuEWXDZ-J3daB0f4VhkRNSLllwXqyTA44LPrzqLixfEGLjwZlVoU=w490-h245-rw"
      },
      {
        "title": "Taimi’s business developer",
        "subtitle": "Meet Helen Virt",
        "link": "https://play.google.com/store/apps/editorial?id=mc_pride22_taimi_fcp",
        "product_id": "mc_pride22_taimi_fcp",
        "thumbnail": "https://play-lh.googleusercontent.com/ZP1RVUIEsk4SrHiLZcdDiEjOeeyoQlyeVbsMi0uYExmlBNpSThHs4CrOLAT9imsD9td-c_iQc4k=w490-h245-rw"
      },
      ...
    ],
    [
      {
        "title": "Subscribe to your favorite creators",
        "subtitle": "Check it out",
        "link": "https://play.google.com/store/apps/details?id=com.zhiliaoapp.musically",
        "product_id": "com.zhiliaoapp.musically",
        "serpapi_link": "https://serpapi.com/search.json?engine=google_play_product&gl=us&hl=en&product_id=com.zhiliaoapp.musically&store=apps",
        "thumbnail": "https://play-lh.googleusercontent.com/pMydVXCRFVaGpcm_vIShD-RW4Zixv4XCvhEF_Wwxv1KqNxwnA-MCFbdX0ka-OufE0_FjEQXHItA=w490-h245-rw"
      }
    ]
  ],
  "serpapi_pagination": {
    "next": "https://serpapi.com/search.json?engine=google_play&gl=us&hl=en&next_page_token=EAgavgEICBDT1460ChD9rf-wBxD4vsfcBxDR3avEAhCkjuLwChC89qifBBDL873zAhD69tToCxjYsr-rBhj3275zGJiE1PcKGJ_Q7awCGO7D68cKGNr9wRUYq8OsjAEY5tmsuw0YopvW_AYY6_PFThjNs_HpAxiwlPCCBBjq-fHNCBjj_uSrBRj18M8tGKGcpm0Yxv2BhAQYufPn2wEY8Iq0mgwYuPbdbioYMW9JOTQzelVHM3FGSlBSYTFPSk1DZz09&store=apps",
    "next_page_token": "EAgavgEICBDT1460ChD9rf-wBxD4vsfcBxDR3avEAhCkjuLwChC89qifBBDL873zAhD69tToCxjYsr-rBhj3275zGJiE1PcKGJ_Q7awCGO7D68cKGNr9wRUYq8OsjAEY5tmsuw0YopvW_AYY6_PFThjNs_HpAxiwlPCCBBjq-fHNCBjj_uSrBRj18M8tGKGcpm0Yxv2BhAQYufPn2wEY8Iq0mgwYuPbdbioYMW9JOTQzelVHM3FGSlBSYTFPSk1DZz09"
  }
}