hlstring
Storefront language, such as en, de, or zh-TW. Maximum 32 characters.
기본값: "en"
https://api.sandbase.ai/v1/api/google-play/booksSearch Google Play ebooks and audiobooks by keyword or browse categories and charts.
출력이 여기에 표시됩니다
입력을 완료한 다음 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.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
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 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
hlstringStorefront language, such as en, de, or zh-TW. Maximum 32 characters.
기본값: "en"
glstringTwo-letter country code.
기본값: "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.
가능한 값: 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
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
저장된 응답이 게시되지 않았습니다. Playground에서 API를 실행해 응답을 확인하세요.
더 살펴보기
| API | 가격 | 응답 |
|---|---|---|
Google Play | $0.00015 / 호출 | JSON |
Google Play | $0.00015 / 호출 | JSON |
Google Play | $0.00015 / 호출 | JSON |
Google Play | $0.00015 / 호출 | 비동기 JSON |
Google Play | $0.00015 / 호출 | JSON |
Google Play | $0.00015 / 호출 | 비동기 JSON |
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/google-play/books에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.00015, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수 매개변수는 없습니다. 선택: hl (string), gl (string), q (string), chart (string), next_page_token (string) 및 section_page_token (string) 외 5개. 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. Google Play Books Search은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Google Play API 액세스를 별도로 신청할 필요는 없습니다.