hlstring
Storefront language, such as en, de, or zh-TW. Maximum 32 characters.
Standard: "en"
https://api.sandbase.ai/v1/api/google-play/booksSearch Google Play ebooks and audiobooks by keyword or browse categories and charts.
Ihre Ausgabe wird hier angezeigt
Vervollständigen Sie die Eingaben und klicken Sie dann auf Ausführen.
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.
Jetzt loslegen
Plattform-API-Endpunkt mit einheitlicher Authentifizierung und Nutzungsnachverfolgung.
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"
}'Legen Sie Ihren SandBase API-Schlüssel in Ihrer Serverumgebung fest. Anfragen verwenden Bearer-Authentifizierung.
export SANDBASE_API_KEY="YOUR_API_KEY"Bewahren Sie Ihren Schlüssel auf dem Server auf. Geben Sie ihn nicht in Browser-Code preis.
hlstringStorefront language, such as en, de, or zh-TW. Maximum 32 characters.
Standard: "en"
glstringTwo-letter country code.
Standard: "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.
Mögliche Werte: 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
Gespeicherte Beispielantwort für diese API; beim Anzeigen wird keine Live-Anfrage gesendet.
Es wurde keine gespeicherte Antwort veröffentlicht. Führen Sie die API in Playground aus, um die Antwort zu prüfen.
Mehr entdecken
| API | Preis | Antwort |
|---|---|---|
Google Play Books SearchDiese API Google Play | $0.00015 pro Aufruf | JSON |
Google Play | $0.00015 pro Aufruf | JSON |
Google Play | $0.00015 pro Aufruf | JSON |
Google Play | $0.00015 pro Aufruf | Asynchrones JSON |
Google Play | $0.00015 pro Aufruf | JSON |
Google Play | $0.00015 pro Aufruf | Asynchrones JSON |
Fragen
Senden Sie eine POST-Anfrage an https://api.sandbase.ai/v1/api/google-play/books mit Ihrem SandBase API-Schlüssel im Authorization-Header (Bearer) und den Parametern als JSON-Body. Sie können das auch ohne Code direkt auf dieser Seite im Playground testen.
$0.00015 pro Aufruf, abgerechnet von Ihrem SandBase-Guthaben. Es werden nur die von Ihnen getätigten Aufrufe berechnet; es gibt kein Abo.
Es sind keine Parameter erforderlich. Optional: hl (string), gl (string), q (string), chart (string), next_page_token (string) und section_page_token (string) und 5 weitere. Die Parametertabelle und der Playground auf dieser Seite listen jedes Feld auf.
Eine JSON-Antwort, die in derselben HTTP-Anfrage zurückgegeben wird (synchron). Die README auf dieser Seite enthält eine Beispielantwort.
Nein. Google Play Books Search läuft über SandBase, daher deckt ein SandBase API-Schlüssel diesen Endpunkt und jede andere API sowie jedes Modell im Katalog ab. Sie müssen keinen separaten Zugang für Google Play API beantragen.