100 free credits. No credit card required. Get a key

Google Play Books search API

Books and audiobooks matching a query or in a category, grouped as Google Play groups them, with prices and ratings.

GET /v1/googleplay/books/search1 credit per callRefunded on failure
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/googleplay/books/search?query=harry%20potter",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
Response
200 · 1 credit
{
"store": "books",
"query": "harry potter",
"category": null,
"clusters": [
{
"title": "Series",
"key": "20:search_cluster:44",
"next_cursor": null,
"items": [
{
"id": "nDAqGwAAABC3KM",
"type": 10,
"title": "Harry Potter",
"url": "https://play.google.com/store/books/series?id=nDAqGwAAABC3KM",
"icon": "https://play-lh.googleusercontent.com/RtFZaxpHTzjrFJoNF8fkQQoPgPeEtV9S1ljKppgV6wDqykCOTA2ZpmcCZDUd3eeDE5-g7siUYlHWg9OnyQ",
"score": null,
"scoreText": null,
"genre": null,
"price": null,
"currency": null,
"priceText": null,
"developer": null,
"installs": null,
"summary": null,
"contentRating": null,
"subtitle": "7 books"
},
{
"id": "AaM0HAAAABA0vM",
"type": 10,
"title": "Unicorn Western",
"url": "https://play.google.com/store/books/series?id=AaM0HAAAABA0vM",
"icon": "https://play-lh.googleusercontent.com/yxkntanYbTLXTXEBo4blREikLKsEEqjyfROXB0oLd26I-GFxdjAudpVnCF4TKM-T8QkOX6w6a-IgRTrK",
"score": null,
"scoreText": null,
"genre": null,
"price": null,
"currency": null,
"priceText": null,
"developer": null,
"installs": null,
"summary": null,
"contentRating": null,
"subtitle": "11 books"
}
]
},
{
"title": "Ebooks",
"key": "20:search_cluster:5",
"next_cursor": null,
"items": [
{
"id": "wrOQLV6xB-wC",
"type": 9,
"title": "Harry Potter and the Sorcerer's Stone",
"url": "https://play.google.com/store/books/details/J_K_Rowling_Harry_Potter_and_the_Sorcerer_s_Stone?id=wrOQLV6xB-wC",
"icon": "https://play.google.com/books/content/images/frontcover/wrOQLV6xB-wC?fife",
"score": 4.765712,
"scoreText": "4.8",
"genre": "Children's books",
"price": 12.99,
"currency": "USD",
"priceText": "$12.99",
"developer": "J.K. Rowling",
"installs": null,
"summary": "A new era of Hogwarts begins. The HBO Original Series Harry Potter and the Philosopher's Stone is coming this Christmas.…",
"contentRating": null,
"subtitle": "Book 1"
},
{
"id": "_oaAHiFOZmgC",
"type": 9,
"title": "Harry Potter and the Deathly Hallows",
"url": "https://play.google.com/store/books/details/J_K_Rowling_Harry_Potter_and_the_Deathly_Hallows?id=_oaAHiFOZmgC",
"icon": "https://play.google.com/books/content/images/frontcover/_oaAHiFOZmgC?fife",
"score": 4.8298507,
"scoreText": "4.8",
"genre": "Children's books",
"price": 12.99,
"currency": "USD",
"priceText": "$12.99",
"developer": "J.K. Rowling",
"installs": null,
"summary": "'Give me Harry Potter,' said Voldemort's voice, 'and none shall be harmed. Give me Harry Potter, and I shall leave the s…",
"contentRating": null,
"subtitle": "Book 7"
},
"… 2 more"
]
},
"… 1 more"
]
}

Parameters

NameTypeDescription
queryquerystringWhat to search for. Example: harry potter.
categoryquerystringCategory id to browse instead (coll_1689).
typequery"ebook" | "audiobook"One of ebook, audiobook.
agequery"5_and_under" | "6-8" | "9-12"One of 5_and_under, 6-8, 9-12.
pricequery"free" | "paid"One of free, paid.
countryquerystringStorefront country: ISO code (us, gb, de) or full name. Default us. Example: us.
languagequerystringLanguage code (en, de, ja…). Default en. Example: en.
cursorquerystringThe previous page’s next_cursor; omit for the first page.
Response fields

200 with a GooglePlayMediaSearch, in Google Play’s own field names (appId, score, ratings, installs).

FieldTypeDescription
store"books" | "movies"
querystring | null
categorystring | null
clustersobject[]
Status codes
StatusMeaning
200Clusters of books.
400Invalid input. Nothing was charged.
401Missing or invalid API key.
402Not enough credits, a spend cap was reached, or payment is required.
403The target is private, or the account is suspended.
404The app, book or film does not exist in that storefront.
429Too many requests. Wait for Retry-After seconds.
503Google Play is temporarily unavailable. Retryable; nothing was charged.

Every error has code, message, hint and retryable. All error codes

Google Play is a trademark of Google LLC. We are not affiliated with or endorsed by Google.