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

Google Play Books Search

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

Search Google Play ebooks and audiobooks by keyword or browse categories and charts.

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

प्लेग्राउंड

इनपुट
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 book category identifier, such as coll_1689 for children's books. Excludes q.
Children's age range. Requires books_category=coll_1689.
1 for free books or 2 for paid books. Requires q.
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 Books Search API

Returns Google Play book results for a keyword, grouped into sections such as series, ebooks and audiobooks. You send a search term in q, or you browse with books_category or chart. Each item has a title or author, a link and price data.

Use cases

  • Compare ebook and audiobook prices for a title across the Google Play storefront.
  • List every book in a series, such as Dune, with its position in the series.
  • Build a catalog of a author's works with links to each Google Play page.
  • Track discounts by comparing extracted_original_price with extracted_price on audiobooks.

Request

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

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

Parameters

NameTypeRequiredDescription
agestringNoChildren's age range. Requires books_category=coll_1689.
books_categorystringNoNative book category identifier, such as coll_1689 for children's books. Excludes q.
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.
priceintegerNo1 for free books or 2 for paid books. Requires q.
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.
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": [
        {
          "extension": "8 items",
          "format": "Ebook series",
          "link": "https://play.google.com/store/books/series?id=av3XFwAAABC86M",
          "product_id": "av3XFwAAABC86M",
          "thumbnail": "https://play-lh.googleusercontent.com/DO9D9mcmQJ8OXHXGOFyfQWRKgzoTlKbw1Epd4kHRZm…",
          "title": "Dune"
        }
      ],
      "see_more_link": "https://play.google.com/store/books/collection/cluster?gsr=SlBqLGhVcU5uUGxzV1VxN…",
      "see_more_token": "eyJ2Ijox…",
      "title": "Series"
    }
  ]
}

Response fields

FieldMeaning
organic_results[]One result group. Each group has a title such as Series, Ebooks or Audiobooks, and a list of items.
organic_results[].items[].titleName of the item. Series items include it; book items in this response do not.
organic_results[].items[].author / categoryAuthor name and genre label of a book or audiobook.
organic_results[].items[].linkGoogle Play URL for the item. Book and audiobook links contain an id query value.
organic_results[].items[].product_idID of a series item. It also appears in the series link.
organic_results[].items[].format / extensionformat names the item type, such as Ebook series. extension gives extra detail, such as 8 items for a series or Book 1 for an ebook.
organic_results[].items[].price / extracted_price / currencyPrice as display text, as a number, and its currency code, such as $9.99, 9.99 and USD.
organic_results[].items[].original_price / extracted_original_priceList price before a discount, as text and as a number. Audiobooks show it next to a lower extracted_price.
organic_results[].section_page_token / see_more_tokenTokens for loading more items in this group or opening its full collection.
organic_results[].see_more_linkGoogle Play URL of the full collection for this group.

Notes

  • Pass section_page_token or see_more_token back with the same parameters to continue one group. Do not combine it with chart.
  • q excludes chart and books_category. price (1 free, 2 paid) requires q.
  • age works only with books_category=coll_1689.
  • Not every item has every field. Series items have no price, and some books have no description.

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 Books Search API का उपयोग कैसे करें?

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

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

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

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

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

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

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

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

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