Sand AISand AI MAGI-2MAGI-2 ist jetzt auf SandBase: 1080p-Video mit nativem AudioJetzt testen

Google Play App Search

API-Dokumentation
https://api.sandbase.ai/v1/api/google-play/apps

Search Google Play apps by keyword or browse categories and top charts, with rating, price and developer.

Preis
$0.00015USD / Aufruf
Methode
POST
Antwort
JSON
Parameter
0 erforderlich · 11 optional

Playground

Eingabe
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 app category identifier, such as MEDICAL. Excludes q and an explicit store_device.
Omit for the default phone storefront. An explicit selection excludes q and category.
Children's age range. Requires apps_category=FAMILY.
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
AusgabeBereit

Ihre Ausgabe wird hier angezeigt

Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.

API-README

Google Play App Search API

Returns Google Play app results for a keyword, a category, or a top chart. Each app has a title, developer, category, download band and price. A search with q also returns a highlighted best match with rating and review count.

Use cases

  • Find the Google Play listing and product_id for a known app name such as Duolingo.
  • Build a list of competing or similar apps for a keyword and compare their download bands.
  • Pull the top free, paid or grossing apps for a country with chart and gl.
  • Browse one category such as MEDICAL to map the apps and developers in it.

Request

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

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

Parameters

NameTypeRequiredDescription
agestringNoChildren's age range. Requires apps_category=FAMILY.
apps_categorystringNoNative app category identifier, such as MEDICAL. Excludes q and an explicit store_device.
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.
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.

{
  "app_highlight": {
    "author": "Duolingo",
    "content_rating": {
      "text": "Everyone",
      "thumbnail": "https://play-lh.googleusercontent.com/IciOnDFecb5Xt50Q2jlcNC0LPI7LEGxNojroo-s3Ao…"
    },
    "description": "Make language learning fun with Spanish, French, English, chess, math & music.",
    "download_count": 992196960,
    "downloads": "500M+",
    "images": [
      "https://play-lh.googleusercontent.com/twmCellsRXWs4bZsSXRv19x-3BIp19FzlQPdu_Va-z…"
    ],
    "link": "https://play.google.com/store/apps/details?id=com.duolingo",
    "offers": [
      {
        "currency": "USD",
        "extracted_price": 0.0,
        "link": "https://play.google.com/store/apps/details?id=com.duolingo&rdid=com.duolingo&fea…",
        "text": "Install"
      }
    ],
    "product_id": "com.duolingo",
    "rating": 4.7465396,
    "reviews": 51551171,
    "thumbnail": "https://play-lh.googleusercontent.com/tw_coGKgk1K_zO-Ypf9zBKV1s-KT3dYN1MIUxIqtnb…"
  },
  "organic_results": [
    {
      "items": [
        {
          "author": "Duolingo",
          "category": "Education",
          "currency": "USD",
          "description": "From the creators behind Duolingo, the world’s #1 education app, comes Duolingo …",
          "downloads": "10,000,000+",
          "extracted_price": 0.0,
          "link": "https://play.google.com/store/apps/details?id=com.duolingo.literacy",
          "product_id": "com.duolingo.literacy"
        }
      ],
      "section_page_token": "eyJ2Ijox…"
    }
  ]
}

Response fields

FieldMeaning
app_highlight.title / app_highlight.authorName and developer of the best match for the query.
app_highlight.product_idPackage ID of the best match, such as com.duolingo. Use it to look up the app elsewhere.
app_highlight.rating / app_highlight.reviewsAverage star rating and number of reviews for the best match.
app_highlight.downloads / app_highlight.download_countDownload band as text (for example 500M+) and as a number.
app_highlight.offers[].extracted_price / app_highlight.offers[].currencyPrice as a number and its currency code. A value of 0.0 means the app is free to install.
organic_results[].titleName of a result group, such as Similar apps. The first group in the sample has no title.
organic_results[].items[].product_id / organic_results[].items[].linkPackage ID of the app and the link to its Google Play page.
organic_results[].items[].author / organic_results[].items[].categoryDeveloper name and Google Play category of the app.
organic_results[].items[].downloadsDownload band as text, such as 10,000,000+.
organic_results[].items[].extracted_pricePrice as a number. Read it with currency.

Notes

  • Pass one of q, chart or apps_category. chart cannot be combined with q or with any pagination token.
  • To get more apps from one result group, send its section_page_token with the same parameters. To open a full collection, send its see_more_token with the same parameters.
  • Use product_id from the results to call Google Play Product Details, or Google Play Reviews for user reviews.
  • For games, use Google Play Games Search.

Pricing

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

Mehr entdecken

Verwandte APIs

Alle APIs
APIPreisAntwort
Google Play$0.00015 pro AufrufJSON
Google Play$0.00015 pro AufrufJSON
Google Play$0.00015 pro AufrufJSON
Google Play$0.00015 pro AufrufAsynchrones JSON
Google Play$0.00015 pro AufrufJSON
Google Play$0.00015 pro AufrufAsynchrones JSON

Fragen

FAQ

Wie verwende ich die Google Play App Search API?

Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/google-play/apps mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.

Was kostet die Google Play App Search API?

$0.00015 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.

Welche Parameter akzeptiert die Google Play App Search API?

Es sind keine Parameter erforderlich. Optional: hl (string), gl (string), q (string), chart (string), next_page_token (string) und section_page_token (string) und 5 weitere. Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.

Was gibt die Google Play App Search API zurück?

Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.

Benötige ich ein Google Play-Entwicklerkonto oder einen API-Schlüssel?

Nein. Google Play App Search läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Google Play API beantragen.