API · Google Play
GET /googleplay/books/search
Search Google Play books and audiobooks, or browse a books category.
| Request | GET /v1/googleplay/books/search |
| Operation id | googleplay.books.search |
| Cost | 1 credit, refunded if the call fails |
| Auth | API key: Authorization: Bearer <key> or x-api-key. |
Search Google Play books and audiobooks, or browse a books category.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | no | What to search for. Example: harry potter. |
category | string | no | Category id to browse instead (coll_1689). |
type | "ebook" | "audiobook" | no | One of ebook, audiobook. |
age | "5_and_under" | "6-8" | "9-12" | no | One of 5_and_under, 6-8, 9-12. |
price | "free" | "paid" | no | One of free, paid. |
country | string | no | Storefront country: ISO code (us, gb, de) or full name. Default us. Example: us. |
language | string | no | Language code (en, de, ja…). Default en. Example: en. |
cursor | string | no | The previous page’s next_cursor; omit for the first page. |
Responses
| Status | Meaning | Schema |
|---|---|---|
200 | Clusters of books. | GooglePlayMediaSearch |
400 | Invalid input. Nothing was charged. | Error |
401 | Missing or invalid API key. | Error |
402 | Not enough credits, a spend cap was reached, or payment is required. | Error |
403 | The target is private, or the account is suspended. | Error |
404 | The app, book or film does not exist in that storefront. | Error |
429 | Too many requests. Wait for Retry-After seconds. | Error |
503 | Google Play is temporarily unavailable. Retryable; nothing was charged. | Error |
GooglePlayMediaSearch fields
| Field | Type | Description |
|---|---|---|
store | "books" | "movies" | |
query | string | null | |
category | string | null | |
clusters | object[] |
Errors use one shape everywhere; see Errors for every code and what to do.