Page Summary
-
The API endpoint for performing a book search is
GET https://www.googleapis.com/books/v1/volumes?q={search terms}. -
A full-text search query string is required for a book search using the
qparameter. -
Numerous optional parameters are available to filter and refine search results, such as
download,filter,langRestrict, andmaxResults. -
Successful responses include a list of volume resources in the
itemsarray and the total number of volumes found intotalItems. -
No request body is needed for this method.
Performs a book search. Try it now .
Request
HTTP Request
GET https://www.googleapis.com/books/v1/volumes? q
= {search terms}
Parameters
q
string
download
string
Acceptable values are:
- "
epub" - All volumes with epub.
filter
string
Acceptable values are:
- "
ebooks" - All Google eBooks. - "
free-ebooks" - Google eBook with full volume text viewability. - "
full" - Public can view entire volume text. - "
paid-ebooks" - Google eBook with a price. - "
partial" - Public able to see parts of text.
langRestrict
string
libraryRestrict
string
Acceptable values are:
- "
my-library" - Restrict to the user's library, any shelf. - "
no-restrict" - Do not restrict based on user's library.
maxResults
unsigned integer
0
to 40
, inclusive.orderBy
string
Acceptable values are:
- "
newest" - Most recently published. - "
relevance" - Relevance to search terms.
partner
string
printType
string
Acceptable values are:
- "
all" - All volume content types. - "
books" - Just books. - "
magazines" - Just magazines.
projection
string
Acceptable values are:
- "
full" - Includes all volume data. - "
lite" - Includes a subset of fields in volumeInfo and accessInfo.
showPreorders
boolean
source
string
startIndex
unsigned integer
Request Body
Do not supply a request body with this method.
Response
If successful, this method returns a response body with the following structure:
{
"kind" : "books#volumes" ,
"items" : [
volume Resource
],
"totalItems" :( value )
}
| Property Name | Value | Description | Notes |
|---|---|---|---|
kind
|
string
|
Resource type. | |
items[]
|
list
|
A list of volumes. | |
totalItems
|
integer
|
Total number of volumes found. This might be greater than the number of volumes returned in this response if results have been paginated. |
Try It!
Use the explorer below to call this method on live data and see the response.

