Sand AISand AI MAGI-2MAGI-2 अब SandBase पर है: 1080p वीडियो, नेटीव ऑडियो के साथअभी आज़माएँ

Google Play Games Search

API दस्तावेज़
https://api.sandbase.ai/v1/api/google-play/games

Search Google Play games by keyword or browse game categories and top charts.

मूल्य
$0.00015USD / कॉल
मेथड
POST
प्रतिक्रिया
JSON
पैरामीटर
0 आवश्यक · 10 वैकल्पिक

प्लेग्राउंड

इनपुट
Storefront language, such as en, de, or zh-TW. Maximum 32 characters.
Two-letter country code.
At most 2,048 UTF-8 bytes.
Chart identifier such as topselling_free, topselling_paid, or topgrossing. Excludes q and all pagination selectors. Apps and games charts require phone or an omitted store_device.
Use the returned next_page_token with the same parameters. Excludes chart, section_page_token, and see_more_token.
Continue one result group using its returned token and the same parameters. Excludes the other pagination selectors and chart.
Open a result collection using its returned token and the same parameters. Excludes the other pagination selectors and chart.
Native game category identifier, such as GAME_PUZZLE. Excludes q and an explicit store_device.
Omit for the default phone storefront. An explicit selection excludes q and category.
Optional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true an
आउटपुटतैयार

आपका आउटपुट यहाँ दिखाई देगा

इनपुट पूरा करें, फिर Run पर क्लिक करें।

API README

Google Play Games Search API

This API returns Google Play games that match a keyword, a game category, or a top chart. Send a search term in q, or use chart or games_category to browse. Each result lists the game's developer, category, download band, price, and rating.

Use cases

  • Find chess apps on Google Play and compare their download bands and ratings.
  • Track which games appear in the topselling_free or topgrossing chart for a country.
  • List all games in a category such as GAME_PUZZLE to see who publishes them.
  • Build a list of product_id values to feed into a details or reviews lookup.

Request

curl -X POST "https://api.sandbase.ai/v1/api/google-play/games" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"q": "chess"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
chartstringNoChart identifier such as topselling_free, topselling_paid, or topgrossing. Excludes q and all pagination selectors. Apps and games charts require phone or an omitted store_device.
games_categorystringNoNative game category identifier, such as GAME_PUZZLE. Excludes q and an explicit store_device.
glstringNoTwo-letter country code.
hlstringNoStorefront language, such as en, de, or zh-TW. Maximum 32 characters.
next_page_tokenstringNoUse the returned next_page_token with the same parameters. Excludes chart, section_page_token, and see_more_token.
qstringNoAt most 2,048 UTF-8 bytes.
section_page_tokenstringNoContinue one result group using its returned token and the same parameters. Excludes the other pagination selectors and chart.
see_more_tokenstringNoOpen a result collection using its returned token and the same parameters. Excludes the other pagination selectors and chart.
store_devicestringNoOmit for the default phone storefront. An explicit selection excludes q and category.
timeoutnumberNoOptional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the cal

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "organic_results": [
    {
      "items": [
        {
          "author": "Chess.com",
          "category": "Board",
          "currency": "USD",
          "downloads": "100,000,000+",
          "extracted_price": 0.0,
          "link": "https://play.google.com/store/apps/details?id=com.chess",
          "product_id": "com.chess",
          "rating": 4.6958847
        }
      ]
    }
  ]
}

Response fields

FieldMeaning
organic_results[].items[]One game result. Results are grouped in lists under organic_results.
organic_results[].items[].product_idThe app package name, such as com.chess. It is also the id value in the link URL.
organic_results[].items[].linkURL of the game's Google Play store page.
organic_results[].items[].authorName of the developer or publisher shown for the game.
organic_results[].items[].categoryGame category label, such as Board.
organic_results[].items[].downloadsDownload band shown on the store, as text such as 100,000,000+.
organic_results[].items[].extracted_price / organic_results[].items[].currencyPrice as a number and its currency code. A value of 0.0 means the game has no purchase price.
organic_results[].items[].ratingAverage star rating as a decimal number. Some games have no rating field.
organic_results[].items[].descriptionShort store description, cut off with an ellipsis. It appears only on some results.

Notes

  • Use either q, chart, or games_category. The parameter descriptions say chart and games_category exclude q.
  • To get the next page, send the returned next_page_token with the same parameters. section_page_token and see_more_token work the same way for a result group or collection.
  • Pass a product_id to Google Play Product Details for full details, or to Google Play Reviews for user reviews.
  • Use Google Play App Search to search non-game apps.

Pricing

$0.00015 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

और जानें

संबंधित APIs

सभी APIs
APIकीमतप्रतिक्रिया
Google Play$0.00015 प्रति कॉलJSON
Google Play$0.00015 प्रति कॉलJSON
Google Play$0.00015 प्रति कॉलJSON
Google Play$0.00015 प्रति कॉलअसिंक्रोनस JSON
Google Play$0.00015 प्रति कॉलJSON
Google Play$0.00015 प्रति कॉलअसिंक्रोनस JSON

प्रश्न

FAQ

Google Play Games Search API का उपयोग कैसे करें?

https://api.sandbase.ai/v1/api/google-play/games पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।

Google Play Games Search API की लागत कितनी है?

$0.00015 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।

Google Play Games Search API कौन-से parameters स्वीकार करती है?

कोई parameters आवश्यक नहीं हैं। वैकल्पिक: hl (string), gl (string), q (string), chart (string), next_page_token (string) और section_page_token (string) और 4 और। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।

Google Play Games Search API क्या लौटाती है?

एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।

क्या मुझे एक Google Play developer account या API key चाहिए?

नहीं। Google Play Games Search SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Google Play API access के लिए आवेदन करने की आवश्यकता नहीं है।