hlstring
Storefront language, such as en, de, or zh-TW. Maximum 32 characters.
डिफ़ॉल्ट: "en"
https://api.sandbase.ai/v1/api/google-play/appsSearch Google Play apps by keyword or browse categories and top charts, with rating, price and developer.
आपका आउटपुट यहाँ दिखाई देगा
इनपुट पूरा करें, फिर Run पर क्लिक करें।
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.
product_id for a known app name such as Duolingo.chart and gl.MEDICAL to map the apps and developers in it.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.
| Name | Type | Required | Description |
|---|---|---|---|
age | string | No | Children's age range. Requires apps_category=FAMILY. |
apps_category | string | No | Native app category identifier, such as MEDICAL. Excludes q and an explicit store_device. |
chart | string | No | 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. |
gl | string | No | Two-letter country code. |
hl | string | No | Storefront language, such as en, de, or zh-TW. Maximum 32 characters. |
next_page_token | string | No | Use the returned next_page_token with the same parameters. Excludes chart, section_page_token, and see_more_token. |
q | string | No | At most 2,048 UTF-8 bytes. |
section_page_token | string | No | Continue one result group using its returned token and the same parameters. Excludes the other pagination selectors and chart. |
see_more_token | string | No | Open a result collection using its returned token and the same parameters. Excludes the other pagination selectors and chart. |
store_device | string | No | Omit for the default phone storefront. An explicit selection excludes q and category. |
timeout | number | No | 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 cal |
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…"
}
]
}
| Field | Meaning |
|---|---|
app_highlight.title / app_highlight.author | Name and developer of the best match for the query. |
app_highlight.product_id | Package ID of the best match, such as com.duolingo. Use it to look up the app elsewhere. |
app_highlight.rating / app_highlight.reviews | Average star rating and number of reviews for the best match. |
app_highlight.downloads / app_highlight.download_count | Download band as text (for example 500M+) and as a number. |
app_highlight.offers[].extracted_price / app_highlight.offers[].currency | Price as a number and its currency code. A value of 0.0 means the app is free to install. |
organic_results[].title | Name 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[].link | Package ID of the app and the link to its Google Play page. |
organic_results[].items[].author / organic_results[].items[].category | Developer name and Google Play category of the app. |
organic_results[].items[].downloads | Download band as text, such as 10,000,000+. |
organic_results[].items[].extracted_price | Price as a number. Read it with currency. |
q, chart or apps_category. chart cannot be combined with q or with any pagination token.section_page_token with the same parameters. To open a full collection, send its see_more_token with the same parameters.product_id from the results to call Google Play Product Details, or Google Play Reviews for user reviews.$0.00015 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
बिल्डिंग शुरू करें
एकीकृत authentication और usage tracking के साथ Platform API endpoint.
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",
"gl": "us",
"hl": "en"
}'अपने SandBase API key को अपने सर्वर environment में सेट करें। Requests Bearer authentication का उपयोग करती हैं।
export SANDBASE_API_KEY="YOUR_API_KEY"अपना key सर्वर पर रखें। इसे browser code में expose न करें।
hlstringStorefront language, such as en, de, or zh-TW. Maximum 32 characters.
डिफ़ॉल्ट: "en"
glstringTwo-letter country code.
डिफ़ॉल्ट: "us"
qstringAt most 2,048 UTF-8 bytes.
chartstringChart 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.
next_page_tokenstringUse the returned next_page_token with the same parameters. Excludes chart, section_page_token, and see_more_token.
section_page_tokenstringContinue one result group using its returned token and the same parameters. Excludes the other pagination selectors and chart.
see_more_tokenstringOpen a result collection using its returned token and the same parameters. Excludes the other pagination selectors and chart.
apps_categorystringNative app category identifier, such as MEDICAL. Excludes q and an explicit store_device.
store_devicestringOmit for the default phone storefront. An explicit selection excludes q and category.
संभावित मान: phone, tablet, tv, chromebook, watch, car
agestringChildren's age range. Requires apps_category=FAMILY.
संभावित मान: AGE_RANGE1, AGE_RANGE2, AGE_RANGE3
timeoutnumberOptional 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
इस API के लिए सेव किया गया example response; इसे देखते समय कोई live request नहीं की जाती।
कोई सेव response प्रकाशित नहीं किया गया है। इसका response देखने के लिए Playground में API चलाएँ।
और जानें
| API | कीमत | प्रतिक्रिया |
|---|---|---|
Google Play App Searchयह 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 |
प्रश्न
https://api.sandbase.ai/v1/api/google-play/apps पर Authorization header (Bearer) में अपनी SandBase API key और parameters को JSON body के रूप में भेजें। आप इस पेज के Playground में बिना code लिखे भी इसे आज़मा सकते हैं।
$0.00015 प्रति call, आपकी SandBase balance से बिल किया जाएगा। आपसे केवल आपके किए गए calls के लिए शुल्क लिया जाता है; कोई subscription नहीं है।
कोई parameters आवश्यक नहीं हैं। वैकल्पिक: hl (string), gl (string), q (string), chart (string), next_page_token (string) और section_page_token (string) और 5 और। Parameters table और इस पेज का Playground हर field सूचीबद्ध करते हैं।
एक JSON response जो उसी HTTP request में लौटाया जाता है (synchronous)। इस पेज का README एक sample response शामिल करता है।
नहीं। Google Play App Search SandBase के माध्यम से चलता है, इसलिए एक SandBase API key इस endpoint और catalog के हर अन्य API और model को कवर करती है। आपको अलग से Google Play API access के लिए आवेदन करने की आवश्यकता नहीं है।