hlstring
Storefront language, such as en, de, or zh-TW. Maximum 32 characters.
Varsayılan: "en"
https://api.sandbase.ai/v1/api/google-play/booksSearch Google Play ebooks and audiobooks by keyword or browse categories and charts.
Çıktınız burada görünecek
Girdileri tamamlayın, ardından Çalıştır'a tıklayın.
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.
extracted_original_price with extracted_price on audiobooks.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.
| Name | Type | Required | Description |
|---|---|---|---|
age | string | No | Children's age range. Requires books_category=coll_1689. |
books_category | string | No | Native book category identifier, such as coll_1689 for children's books. Excludes q. |
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. |
price | integer | No | 1 for free books or 2 for paid books. Requires q. |
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. |
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.
{
"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"
}
]
}
| Field | Meaning |
|---|---|
organic_results[] | One result group. Each group has a title such as Series, Ebooks or Audiobooks, and a list of items. |
organic_results[].items[].title | Name of the item. Series items include it; book items in this response do not. |
organic_results[].items[].author / category | Author name and genre label of a book or audiobook. |
organic_results[].items[].link | Google Play URL for the item. Book and audiobook links contain an id query value. |
organic_results[].items[].product_id | ID of a series item. It also appears in the series link. |
organic_results[].items[].format / extension | format 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 / currency | Price 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_price | List 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_token | Tokens for loading more items in this group or opening its full collection. |
organic_results[].see_more_link | Google Play URL of the full collection for this group. |
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.description.$0.00015 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.
Geliştirmeye başlayın
Birleşik kimlik doğrulama ve kullanım takibi sunan Platform API uç noktası.
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",
"gl": "us",
"hl": "en"
}'SandBase API anahtarınızı sunucu ortamınıza ayarlayın. İstekler Bearer kimlik doğrulaması kullanır.
export SANDBASE_API_KEY="YOUR_API_KEY"Anahtarınızı sunucuda tutun. Tarayıcı kodunda açığa çıkarmayın.
hlstringStorefront language, such as en, de, or zh-TW. Maximum 32 characters.
Varsayılan: "en"
glstringTwo-letter country code.
Varsayılan: "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.
books_categorystringNative book category identifier, such as coll_1689 for children's books. Excludes q.
agestringChildren's age range. Requires books_category=coll_1689.
Olası değerler: AGE_RANGE1, AGE_RANGE2, AGE_RANGE3
priceinteger1 for free books or 2 for paid books. Requires q.
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
Bu API için kaydedilmiş örnek yanıt; görüntülerken canlı istek yapılmaz.
Yayınlanmış bir kaydedilmiş yanıt yok. Yanıtını incelemek için API'yi Playground'da çalıştırın.
Daha fazlasını keşfedin
| API | Fiyat | Yanıt |
|---|---|---|
Google Play Books SearchBu API Google Play | $0.00015 çağrı başına | JSON |
Google Play | $0.00015 çağrı başına | JSON |
Google Play | $0.00015 çağrı başına | JSON |
Google Play | $0.00015 çağrı başına | Asenkron JSON |
Google Play | $0.00015 çağrı başına | JSON |
Google Play | $0.00015 çağrı başına | Asenkron JSON |
Sorular
SandBase API anahtarınızı Authorization başlığında (Bearer) ve parametreleri JSON gövdesi olarak ile https://api.sandbase.ai/v1/api/google-play/books adresine bir POST isteği gönderin. Ayrıca bu sayfadaki Playground’da kod yazmadan da deneyebilirsiniz.
çağrı başına $0.00015, SandBase bakiyenizden tahsil edilir. Yalnızca yaptığınız çağrılar için ücretlendirilirsiniz; abonelik yoktur.
Gerekli parametre yoktur. İsteğe bağlı: hl (string), gl (string), q (string), chart (string), next_page_token (string) ve section_page_token (string) ve 5 tane daha. Parametreler tablosu ve bu sayfadaki Playground, tüm alanları listeler.
Aynı HTTP isteğinde döndürülen bir JSON yanıtı (senkron). Bu sayfadaki README'de örnek bir yanıt yer alır.
Hayır. Google Play Books Search, SandBase üzerinden çalışır; bu nedenle tek bir SandBase API anahtarı bu uç noktayı ve katalogdaki diğer tüm API'leri ve modelleri kapsar. Google Play API erişimi için ayrıca başvuru yapmanız gerekmez.