SerpBase

Google Books Search

Search Google Books using a title, author or keyword query. Book discovery does not include unrestricted book downloads.

Endpoint
POST https://api.serpbase.dev/google/books
Price
1 credit
Authentication
X-API-Key

You pay for successful requests only. Each endpoint has a fixed price in credits — most cost 1 or 2 — and a request that fails gives its credits back automatically. Billing →

Example

cURL
curl -X POST 'https://api.serpbase.dev/google/books' \
  -H "Content-Type: application/json" \
  -H 'X-API-Key: YOUR_API_KEY' \
  --max-time 60 \
  -d '{"query":"clean code"}'
Response · real, shortened
{
  "status": 0,
  "credits_charged": 1,
  "request_id": "r-4b27fe8a36d9ac303a5da7dd",
  "product_id": "google_books_search",
  "query": "clean code",
  "organic": [
    {
      "date": "2009",
      "display_link": "books.google.com › books",
      "display_url": "books.google.com › books",
      "link": "https://books.google.com/books?id=hjEFCAAAQBAJ&printsec=frontcover&dq=clean+code&hl=en&newbks=1&newb…",
      "position": 1,
      "published_at": "2009",
      "rank": 1,
      "sitelinks": [
        {
          "display_url": "books.google.com",
          "link": "https://books.google.com/books?id=hjEFCAAAQBAJ&printsec=frontcover&dq=clean+code&hl=en&newbks=1&newb…",
          "source_url": "https://books.google.com/books?id=hjEFCAAAQBAJ&printsec=frontcover&dq=clean+code&hl=en&newbks=1&newb…",
          "title": "Preview",
          "url": "https://books.google.com/books?id=hjEFCAAAQBAJ&printsec=frontcover&dq=clean+code&hl=en&newbks=1&newb…"
        }
      ],
      "snippet": "This title shows the process of cleaning code.",
      "source_url": "https://books.google.com/books?id=hjEFCAAAQBAJ&printsec=frontcover&dq=clean+code&hl=en&newbks=1&newb…",
      "title": "Clean Code: A Handbook of Agile Software Craftsmanship",
      "url": "https://books.google.com/books?id=hjEFCAAAQBAJ&printsec=frontcover&dq=clean+code&hl=en&newbks=1&newb…"
    },
    {
      "display_link": "books.google.com › books",
      "display_url": "books.google.com › books",
      "link": "https://books.google.com/books?id=Gwdx0QEACAAJ&dq=clean+code&hl=en&newbks=1&newbks_redir=1&sa=X&ved=…",
      "position": 3,
      "rank": 2,
      "sitelinks": [
        {
          "display_url": "books.google.com",
          "link": "https://books.google.com/books?id=Gwdx0QEACAAJ&dq=clean+code&hl=en&newbks=1&newbks_redir=1&sa=X&ved=…",
          "source_url": "https://www.google.com/books/edition/Clean_Code/Gwdx0QEACAAJ?hl=en&gl=us&kptab=editions&sa=X&ved=2ah…",
          "title": "More editions",
          "url": "https://books.google.com/books?id=Gwdx0QEACAAJ&dq=clean+code&hl=en&newbks=1&newbks_redir=1&sa=X&ved=…"
        }
      ],
      "snippet": "This new edition of the classic guide to software craftsmanship --a comprehensive rewrite of the ori…",
      "source_url": "https://books.google.com/books?id=Gwdx0QEACAAJ&dq=clean+code&hl=en&newbks=1&newbks_redir=1&sa=X&ved=…",
      "title": "Clean Code: A Handbook of Agile Software Craftsmanship",
      "url": "https://books.google.com/books?id=Gwdx0QEACAAJ&dq=clean+code&hl=en&newbks=1&newbks_redir=1&sa=X&ved=…"
    }
  ],
  "page": 1,
  "related_searches": [
    "inauthor:\"Robert C. Martin\"",
    "inauthor:\"Robert Martin\""
  ],
  "result_stats": "About 5,780,000 results (0.66s)",
  "search_type": "search"
}
Parameters · What comes back

Frequently asked questions

How much does the Google Books Search API cost?

Each request costs 1 credit. Credits come from prepaid packs or the monthly plan, and new accounts start with free credits.

How do I call the Google Books Search API?

Send a POST request to https://api.serpbase.dev/google/books with your API key in the X-API-Key header. The response is JSON; check status (0 means success).

Is the Google Books Search API available now?

Yes. Any active API key can call it.