hlstring
Storefront language, such as en, de, or zh-TW. Maximum 32 characters.
Default: "en"
https://api.sandbase.ai/v1/api/google-play/booksSearch Google Play ebooks and audiobooks by keyword or browse categories and charts.
Output Anda akan muncul di sini
Lengkapi input, lalu klik Run.
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.
Mulai membangun
Endpoint API platform dengan autentikasi dan pelacakan penggunaan terpadu.
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"
}'Atur SandBase API key Anda di environment server Anda. Permintaan menggunakan autentikasi Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Simpan key Anda di server. Jangan tampilkan di kode browser.
hlstringStorefront language, such as en, de, or zh-TW. Maximum 32 characters.
Default: "en"
glstringTwo-letter country code.
Default: "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.
Nilai yang mungkin: 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
Contoh respons yang disimpan untuk API ini; tidak ada permintaan langsung yang dibuat saat melihatnya.
Belum ada respons tersimpan yang dipublikasikan. Jalankan API di Playground untuk melihat responsnya.
Jelajahi lebih lanjut
| API | Harga | Respons |
|---|---|---|
Google Play Books SearchAPI ini Google Play | $0.00015 per panggilan | JSON |
Google Play | $0.00015 per panggilan | JSON |
Google Play | $0.00015 per panggilan | JSON |
Google Play | $0.00015 per panggilan | JSON Asinkron |
Google Play | $0.00015 per panggilan | JSON |
Google Play | $0.00015 per panggilan | JSON Asinkron |
Pertanyaan
Kirim permintaan POST ke https://api.sandbase.ai/v1/api/google-play/books dengan kunci API SandBase Anda di header Authorization (Bearer) dan parameter sebagai body JSON. Anda juga dapat mencobanya di Playground di halaman ini tanpa menulis kode.
$0.00015 per panggilan, ditagihkan dari saldo SandBase Anda. Anda hanya dikenai biaya untuk panggilan yang Anda lakukan; tidak ada langganan.
Tidak ada parameter yang wajib. Opsional: hl (string), gl (string), q (string), chart (string), next_page_token (string) dan section_page_token (string) dan 5 lainnya. Tabel Parameters dan Playground di halaman ini mencantumkan setiap field.
Respons JSON yang dikembalikan dalam permintaan HTTP yang sama (sinkron). README di halaman ini menyertakan contoh respons.
Tidak. Google Play Books Search berjalan melalui SandBase, jadi satu kunci API SandBase mencakup endpoint ini dan setiap API serta model lain di katalog. Anda tidak perlu mendaftar akses API Google Play secara terpisah.