Google Books
图书
- 认证方式
- OAuth
- HTTPS
- Yes
- CORS
- Unknown
- 分类
- 书籍
简介
Google Books API 可以搜索 Google Books 语料库——数百万册扫描图书——并获取卷册元数据:书名、作者、封面、简介、ISBN、页数,以及(可用的)预览/阅读链接。基础搜索免密钥;用户书架和阅读进度需要 OAuth。
注(2026-08 实测):无密钥的搜索配额被大量共享——突发请求会返回 HTTP 429。请在 Google Cloud Console 注册免费 API 密钥获取自己的配额。
快速开始
搜索卷册(免密钥、实测可用但有限流):
curl "https://www.googleapis.com/books/v1/volumes?q=harry+potter&maxResults=5"
按 ID 获取卷册:
curl "https://www.googleapis.com/books/v1/volumes/zyTCAlFPjgYC"
带密钥(推荐):
curl "https://www.googleapis.com/books/v1/volumes?q=subject:science&key=YOUR_KEY"
卷册数据包含
volumeInfo:书名、作者、出版社、出版日期、简介、页数、分类、平均评分、imageLinks(缩略图)、industryIdentifiers(ISBN-10/13)、previewLink、infoLink。
认证方式
- 免密钥:基础搜索无需密钥(共享配额,负载高时 429)。
- API 密钥:Google Cloud Console 免费申请(启用 Books API)——专属配额。
- OAuth:用户级功能(书架、阅读进度)——本条目 OAuth 标记即指此。
速率限制与注意事项
- 免密钥配额小且共享;做正经事请申请密钥。
q支持字段查询:intitle:、inauthor:、isbn:、subject:、inpublisher:。country参数影响预览/阅读链接的可用性。- 搜索结果含
accessInfo(可读性、PDF/EPUB 可用性)。
常见问题
Google Books API 免费吗? 是的——免密钥可搜索;免费 API 密钥提供个人配额。
为什么没有密钥会 429? 匿名配额在所有用户间共享——请注册密钥。
能通过它读全文吗? 只在出版商允许预览/嵌入的地方可以——API 返回 Google Books 能展示的内容。
书籍 分类更多
| API | Auth | HTTPS | CORS | |
|---|---|---|---|---|
| A Bíblia Digital Do not worry about managing the multiple versions of the Bible | API Key | Yes | No | ↗ |
| Amanah Sunnah Semantic search across Quran, Hadith, Tafsir & 18K+ Rijal narrators | API Key | Yes | Yes | ↗ |
| Bhagavad Gita Bhagavad Gita text | OAuth | Yes | Yes | ↗ |
| Bhagavad Gita Open Source Shrimad Bhagavad Gita API including 21+ authors translation in Sanskrit/English/Hindi | API Key | Yes | Yes | ↗ |
| Bhagavad Gita telugu Bhagavad Gita API in telugu and odia languages | No auth | Yes | Yes | ↗ |