APIs / Google Books / Search
Google Books: Search
Search from Google Books as JSON. 1 credit per successful call.
GET /v1/google-books/search
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
q | string | Optional | Up to 300 characters |
author | string | Optional | Up to 150 characters |
title | string | Optional | Up to 200 characters |
publisher | string | Optional | Up to 150 characters |
subject | string | Optional | Up to 150 characters |
isbn | string | Optional | Any |
free_only | boolean | Optional | Any |
page | integer | Optional | Any |
limit | integer | Optional | Any |
language | string | Optional | Any |
lang | string | Optional | Any |
lr | string | Optional | Any |
langRestrict | string | Optional | Any |
print_type | string | Optional | Any |
printType | string | Optional | Any |
ebooks | string | Optional | Any |
filter | string | Optional | Any |
sort | string | Optional | Any |
orderby | string | Optional | Any |
country | string | Optional | Any |
Example request
Google Books
GET/v1/google-books/search?author=frank+herbert&title=dune&limit=2
{
"success": true,
"data": {
"query": "inauthor:\"frank herbert\" intitle:dune",
"total_results": 101,
"page": 1,
"limit": 2,
"has_next": true,
"items": [
{
"id": "DxmKzQEACAAJ",
"title": "Dune",
"authors": [
"Frank Herbert"
],
"publisher": "Hodder Paperbacks",
"published_date": "2021-01-27",
"description": "Before The Matrix, before Star Wars, before Ender's Game and Neuromancer, there was Dune, the first book in one of the greatest science fiction series ever written.",
"print_type": "book",
"isbn_10": "1529347858",
"isbn_13": "9781529347852",
"language": "en",
"categories": [
"Fiction"
],
"viewability": "none",
"embeddable": false,
"open_access": false,
"thumbnail_url": "https://books.google.com/books/content?id=DxmKzQEACAAJ&printsec=frontcover&img=1&zoom=5",
"cover_url": "https://books.google.com/books/content?id=DxmKzQEACAAJ&printsec=frontcover&img=1&zoom=1",
"info_url": "https://books.google.com/books?id=DxmKzQEACAAJ",
"preview_url": "https://books.google.com/books?id=DxmKzQEACAAJ&printsec=frontcover"
},
{
"id": "i9-wAAAAIAAJ",
"title": "Chapterhouse, Dune",
"authors": [
"Frank Herbert"
],
"publisher": "Putnam Publishing Group",
"published_date": "1985",
"description": "Science fiction-roman.",
"page_count": 510,
"print_type": "book",
"language": "en",
"categories": [
"Fiction"
],
"average_rating": 4.2,
"viewability": "none",
"embeddable": false,
"open_access": false,
"thumbnail_url": "https://books.google.com/books/content?id=i9-wAAAAIAAJ&printsec=frontcover&img=1&zoom=5",
"cover_url": "https://books.google.com/books/content?id=i9-wAAAAIAAJ&printsec=frontcover&img=1&zoom=1",
"info_url": "https://books.google.com/books?id=i9-wAAAAIAAJ",
"preview_url": "https://books.google.com/books?id=i9-wAAAAIAAJ&printsec=frontcover"
}
]
},
"meta": {
"endpoint_family": "search",
"request_id": "req_95964ec68cb64c8da2bde96af0b11e95",
"credits_charged": 1,
"credits_remaining": 1774
}
}200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.
Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.
Response fields
Each item in data.items has these 20 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.
| Field | Type |
|---|---|
id | string |
title | string |
authors | string[] |
publisher | string |
published_date | string |
description | string |
print_type | string |
isbn_10 | string |
isbn_13 | string |
language | string |
categories | string[] |
viewability | string |
embeddable | boolean |
open_access | boolean |
thumbnail_url | url |
cover_url | url |
info_url | url |
preview_url | url |
page_count | number |
average_rating | number |