Open Library Search API
Search millions of books and covers
Live Technical Metrics
Pre-calculated · updated every 20 min| Uptime Status | ✅ Operational (HTTP 200) |
|---|---|
| Server Latency | 🟡 483 ms — Moderate |
| Hosting Server | nginx/1.30.4 |
| Content-Type | application/json |
| Cache-Control | Not set |
| CORS Support | ✅ Enabled — safe for browser fetch() |
| Authentication | ✅ None required — call the API directly without a key |
| Category | Books |
- Endpoint:
- https://openlibrary.org/search.json
- Last HTTP status:
- 200
- Measured latency:
- 483 ms
Quick Integration Code
✅ No API key neededfetch("https://openlibrary.org/search.json")
.then(response => {
if (!response.ok) throw new Error(`HTTP ${response.status}`);
return response.json();
})
.then(data => console.log(data))
.catch(error => console.error("Request failed:", error));
import requests
url = "https://openlibrary.org/search.json"
headers = {
"Accept": "application/json",
# "Authorization": "Bearer YOUR_TOKEN_HERE",
}
response = requests.get(url, headers=headers, timeout=10)
response.raise_for_status()
data = response.json()
print(data)
curl -X GET "https://openlibrary.org/search.json" \
-H "Accept: application/json" \
-H "User-Agent: MyApp/1.0" \
--max-time 10 \
--silent | python3 -m json.tool
Sample JSON Response — Books
Books{
"numFound": 1,
"start": 0,
"docs": [
{
"key": "/works/OL82563W",
"title": "The Great Gatsby",
"author_name": [
"F. Scott Fitzgerald"
],
"first_publish_year": 1925,
"isbn": [
"9780743273565"
],
"subject": [
"Fiction",
"American literature"
],
"language": [
"eng"
]
}
]
}