Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기

Google Play Books Search

API 문서
https://api.sandbase.ai/v1/api/google-play/books

Search Google Play ebooks and audiobooks by keyword or browse categories and charts.

가격
$0.00015USD / 호출
메서드
POST
응답
JSON
매개변수
필수 0개 · 선택 사항 11개

Playground

입력
Storefront language, such as en, de, or zh-TW. Maximum 32 characters.
Two-letter country code.
At most 2,048 UTF-8 bytes.
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.
Use the returned next_page_token with the same parameters. Excludes chart, section_page_token, and see_more_token.
Continue one result group using its returned token and the same parameters. Excludes the other pagination selectors and chart.
Open a result collection using its returned token and the same parameters. Excludes the other pagination selectors and chart.
Native book category identifier, such as coll_1689 for children's books. Excludes q.
Children's age range. Requires books_category=coll_1689.
1 for free books or 2 for paid books. Requires q.
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 call is not billed and returns 503 request_deadline_exceeded with retryable=true an
출력준비됨

출력이 여기에 표시됩니다

입력을 완료한 다음 Run을 클릭하세요.

API README

Google Play Books Search API

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.

Use cases

  • Compare ebook and audiobook prices for a title across the Google Play storefront.
  • List every book in a series, such as Dune, with its position in the series.
  • Build a catalog of a author's works with links to each Google Play page.
  • Track discounts by comparing extracted_original_price with extracted_price on audiobooks.

Request

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.

Parameters

NameTypeRequiredDescription
agestringNoChildren's age range. Requires books_category=coll_1689.
books_categorystringNoNative book category identifier, such as coll_1689 for children's books. Excludes q.
chartstringNoChart 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.
glstringNoTwo-letter country code.
hlstringNoStorefront language, such as en, de, or zh-TW. Maximum 32 characters.
next_page_tokenstringNoUse the returned next_page_token with the same parameters. Excludes chart, section_page_token, and see_more_token.
priceintegerNo1 for free books or 2 for paid books. Requires q.
qstringNoAt most 2,048 UTF-8 bytes.
section_page_tokenstringNoContinue one result group using its returned token and the same parameters. Excludes the other pagination selectors and chart.
see_more_tokenstringNoOpen a result collection using its returned token and the same parameters. Excludes the other pagination selectors and chart.
timeoutnumberNoOptional 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

Example response

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"
    }
  ]
}

Response fields

FieldMeaning
organic_results[]One result group. Each group has a title such as Series, Ebooks or Audiobooks, and a list of items.
organic_results[].items[].titleName of the item. Series items include it; book items in this response do not.
organic_results[].items[].author / categoryAuthor name and genre label of a book or audiobook.
organic_results[].items[].linkGoogle Play URL for the item. Book and audiobook links contain an id query value.
organic_results[].items[].product_idID of a series item. It also appears in the series link.
organic_results[].items[].format / extensionformat 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 / currencyPrice 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_priceList 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_tokenTokens for loading more items in this group or opening its full collection.
organic_results[].see_more_linkGoogle Play URL of the full collection for this group.

Notes

  • Pass 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.
  • Not every item has every field. Series items have no price, and some books have no description.

Pricing

$0.00015 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

더 살펴보기

관련 API

모든 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

질문

FAQ

Google Play Books Search API를 어떻게 사용하나요?

Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/google-play/books에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.

Google Play Books Search API 비용은 얼마인가요?

호출당 $0.00015, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.

Google Play Books Search API는 어떤 매개변수를 받나요?

필수 매개변수는 없습니다. 선택: hl (string), gl (string), q (string), chart (string), next_page_token (string) 및 section_page_token (string) 외 5개. 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.

Google Play Books Search API는 무엇을 반환하나요?

같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.

Google Play 개발자 계정이나 API 키가 필요한가요?

아니요. Google Play Books Search은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Google Play API 액세스를 별도로 신청할 필요는 없습니다.