Scraper API
Google Booksgoogle.books_searchAvailable
Google Books search
The books Google Books lists for the search, in its order: title and subtitle, authors, publisher, date, description, page count, ISBNs, language, subjects, rating where there is one, how much can be read on Google Books, and the addresses of its page, its preview and its cover.
Give it Words to search for, or Google Books' own operators such as isbn:, intitle: and inauthor:, and a page.
1 unit a run, for runs that return data. Runs that fail cost nothing. How units work
- Counted
- 1 unit a run
- Inputs
- 3, 1 required
- Record
- 22 fields
- A run takes
- up to 5 minutes
- Records kept
- 7 days
- Measured
- its success, on the status page
POST/v1/scrapers/google.books_search/runs
sent, and answered
a record of the run22 fields
ok1 unit a run
A record this scraper returned for this input. The first 9 of its 22 fields are set down here; the whole record is below.

What it is used for
- Complete a book catalogue
- Look a title up by ISBN or by words, and get its authors, publisher, date, page count, subjects and cover.
- Match editions
- Collect
isbn_10,isbn_13andidentifiersfor the books that match a title and an author. - Find what can be read
viewabilityandpreview_urlsay how much of each book Google Books lets a reader see.
What you send
Words to search for, or Google Books' own operators such as isbn:, intitle: and inauthor:, and a page. These are its 3 inputs, as its schema has them.
querystring Required- What to search for: words, or Google Books' operators, such as isbn:9780441172719 or inauthor:"Toni Morrison".
pageinteger Optional- The results page, from 1, up to 50.Default
1 numinteger Optional- Books a page: 1 to 20. 10 unless you say otherwise.Default
10
A request, ready to send
It starts a run with the input shown at the top of this page, waits up to 60 seconds for it, and reads its records. Put your key in the variable it reads.
# Start a run and wait up to 60 seconds for it to finish
curl -X POST "https://api.enrichednow.com/v1/scrapers/google.books_search/runs?wait=60" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"query":"dune"}}'
# Read its records, with the id the first call answered
curl "https://api.enrichednow.com/v1/runs/$RUN_ID/records?limit=100" \
-H "Authorization: Bearer $ENRICHEDNOW_API_KEY"from enrichednow import EnrichedNow
client = EnrichedNow() # reads ENRICHEDNOW_API_KEY
# Start a run, wait for it to end, and get its records
result = client.scrape("google.books_search", {"query": "dune"})
print(result.run.id, result.run.status, result.run.record_count)
# Read its records: pages are fetched as you go
for record in result.records:
print(record)Install it with pip install enrichednow, then save as run.py and run python3 run.py
import EnrichedNow from "enrichednow";
const client = new EnrichedNow(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
const { run, records } = await client.scrape("google.books_search", { query: "dune" });
console.log(run.id, run.status, run.record_count);
// Read its records: pages are fetched as you go
for await (const record of records) console.log(record);Install it with npm install enrichednow, then save as run.mjs and run node run.mjs
package main
import (
"context"
"fmt"
"log"
"time"
enrichednow "github.com/enrichednow/enrichednow-go"
)
func main() {
client, err := enrichednow.NewClient() // reads ENRICHEDNOW_API_KEY
if err != nil {
log.Fatal(err)
}
ctx, cancel := context.WithTimeout(context.Background(), 10*time.Minute)
defer cancel()
// Start a run, wait for it to end, and get its records
run, records, err := client.Scrape(ctx, "google.books_search", map[string]any{"query": "dune"})
if err != nil {
log.Fatal(err)
}
fmt.Println(run.ID, run.Status, run.RecordCount)
// Read its records: pages are fetched as you go
for records.Next() {
fmt.Println(string(records.Current()))
}
if err := records.Err(); err != nil {
log.Fatal(err)
}
}Install it with go get github.com/enrichednow/enrichednow-go@latest, then save as run.go and run go run run.go
import com.enrichednow.EnrichedNowClient;
import com.enrichednow.ScrapeResult;
import java.util.Map;
public class Run {
public static void main(String[] args) {
EnrichedNowClient client = EnrichedNowClient.fromEnv(); // reads ENRICHEDNOW_API_KEY
// Start a run, wait for it to end, and get its records
ScrapeResult result = client.scrape("google.books_search", Map.of("query", "dune"));
System.out.println(result.run().id() + " " + result.run().status() + " " + result.run().recordCount());
// Read its records: pages are fetched as you go
for (Map<String, Object> record : result.records()) {
System.out.println(record);
}
}
}Add com.enrichednow:enrichednow-java:0.4.0 to your Maven or Gradle build, then save as Run.java
enrichednow run google.books_search --input query=duneInstall it with curl -fsSL https://raw.githubusercontent.com/enrichednow/enrichednow-cli/main/install.sh | sh
What comes back
The books Google Books lists for the search, in its order: title and subtitle, authors, publisher, date, description, page count, ISBNs, language, subjects, rating where there is one, how much can be read on Google Books, and the addresses of its page, its preview and its cover. A record has 22 fields. One we could not read is null, never an empty string or a zero.
{
"query": "dune",
"position": 1,
"page": 1,
"volume_id": "ryot4Ag2GGQC",
"url": "https://books.google.com/books?id=ryot4Ag2GGQC",
"title": "Chapterhouse: Dune",
"subtitle": null,
"authors": [
"Frank Herbert"
],
"publisher": "Penguin",
"published": "1987",
"description": "Fifteen thousand years after Leto II's death, the remnants of the Bene Gesserit contend with the ruthless leaders of an alien culture to forge a new civilization and preserve the best of the Old Empire",
"page_count": 452,
"isbn_10": "0441102670",
"isbn_13": "9780441102679",
"identifiers": [],
"language": "en",
"subjects": [
"Fiction"
],
"rating": 4.2,
"viewability": "partial",
"preview_url": "https://books.google.com/books?id=ryot4Ag2GGQC&printsec=frontcover&dq=dune&cd=1&source=gbs_gdata",
"thumbnail": "https://books.google.com/books/content?id=ryot4Ag2GGQC&printsec=frontcover&img=1&zoom=5&edge=curl&source=gbs_gdata",
"fetched_at": "2026-11-19T18:07:40.349660Z"
}The scraper returned this record for the input above, reading a saved copy of the page, not the live site.
The fields of a record
querystring- The query that was asked.
positioninteger- The rank in the results, from 1, counted across pages.
pageinteger- The results page the book was on.
volume_idstring- Google Books' id of the volume, e.g.
B1hSG45JCX4C. urlstring- The book's page on Google Books.
titlestring- The title.
subtitlestring or null- The subtitle, when the entry has one.
authorslist of strings- The authors and editors, as the entry names them.
publisherstring or null- The publisher.
publishedstring or null- The publication date as the entry gives it: a day (
2005-08-02), a month (1987-06) or a year (1987). descriptionstring or null- The description the entry carries; the search feed cuts a long one.
page_countinteger or null- The number of pages the catalogue entry states. The book's own page on Google Books sometimes prints another count, such as that of the printed edition.
isbn_10string or null- The ten-digit ISBN.
isbn_13string or null- The thirteen-digit ISBN.
identifierslist of strings- Other identifiers the entry lists, each with its scheme, e.g.
OCLC:1234567,UOM:39015…. languagestring or null- The book's language, as a code, e.g.
en. subjectslist of strings- The subjects the book is filed under, e.g.
Fiction / Science Fiction / Space Opera. ratingnumber or null- The average rating on Google Books, 1 to 5; null when the book has none.
viewabilitystring or null- How much of the book can be read on Google Books: all of it, a preview, or nothing.
preview_urlstring or null- The address of the preview, when there is one.
thumbnailstring or null- The address of the cover's small picture.
fetched_atdatetime- When the results were read, in UTC.
Units and limits
- Counted per request
- Billed per request: a run that returns data costs 1 unit, however many records it returns.
- A miss costs nothing
- A run that fails, that meets something not supported yet, or that you cancel costs nothing. You pay for runs that return data.
- What bounds a run
- A run may take up to 5 minutes. Its records are read in pages of up to 1,000 and are kept for 7 days.
What it does not do
- Twenty books a page at most. A search that matches nothing, or a page past the last, is ok with no records.
- The book's text is not returned: where Google Books lets it be read, preview_url is where.
The bounds its schema sets
page- 1 to 50; 1 unless you say otherwise
num- 1 to 20; 10 unless you say otherwise
Questions
What does Google Books search return?
The books Google Books lists for the search, in its order: title and subtitle, authors, publisher, date, description, page count, ISBNs, language, subjects, rating where there is one, how much can be read on Google Books, and the addresses of its page, its preview and its cover. A record has 22 fields, among them query, position, page, volume_id, url and title. A value that could not be read is null, never an empty string or a zero.
What do I send?
Words to search for, or Google Books' own operators such as isbn:, intitle: and inauthor:, and a page. The input query is required. Optional: page and num.
How is it counted?
Billed per request: a run that returns data costs 1 unit, however many records it returns. A run that fails, that meets something not supported yet, or that you cancel costs nothing. The first 1,000 units each month are free.
How much does one run return?
Its schema sets these bounds: page 1 to 50 (1 unless you say otherwise); num 1 to 20 (10 unless you say otherwise). A run may take up to 5 minutes.
What does it not do?
Twenty books a page at most. A search that matches nothing, or a page past the last, is ok with no records. The book's text is not returned: where Google Books lets it be read, preview_url is where.
How long are the records kept, and in what format do they come?
Records are kept for 7 days after the run ended, and read in pages of up to 1,000. They come as JSON, as NDJSON with one record a line, or as CSV with a column for each field.
Can an AI assistant call it?
Yes. Through the EnrichedNow MCP server an assistant calls the tool run_scraper with the scraper_id google.books_search and the same input. It costs what the same API call costs.
Google Books
The books Google Books lists for a search, with what each catalogue entry states.
- Industry
- News, music and books
- Where
- Worldwide
- For
- Researchers
Run it on an input of your own.
Create an account, make a key, and send the request above with your own input. The first 1,000 units each month are free.