Open Library ApiSAFE
🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.
Overview
🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.
e1ba289846fdOBSERVED · 2026-10-08Host compatibility
What the documentation claims. We have not run a compatibility test.
| Host | Status | Notes |
|---|---|---|
| openclaw | mentioned |
What it tells the agent
The instruction file, verbatim from the audited commit — this is the text the model reads, and the surface the audit's instruction layer examines. Quoted here so you can judge it without cloning anything.
---
name: open-library-api
description: "Search and access book metadata via the Open Library API"
metadata:
openclaw:
emoji: "📕"
category: "literature"
subcategory: "search"
keywords: ["Open Library", "book search", "ISBN lookup", "Internet Archive", "book metadata", "digital library"]
source: "https://openlibrary.org/"
---
# Open Library API
## Overview
Open Library (by the Internet Archive) catalogs every book ever published — 40M+ editions, 20M+ unique works. The API provides book search, ISBN/OCLC lookup, cover images, and reading access for 2M+ borrowable ebooks. Particularly useful for monograph discovery, edition tracking, and bibliographic verification. Free, no authentication required.
## API Endpoints
### Search Books
```bash
# Full-text search
curl "https://openlibrary.org/search.json?q=machine+learning&limit=20"
# Search by title
curl "https://openlibrary.org/search.json?title=deep+learning&limit=10"
# Search by author
curl "https://openlibrary.org/search.json?author=goodfellow&title=deep+learning"
# Filter by subject
curl "https://openlibrary.org/search.json?q=statistics&subject=data+analysis"
# Filter by publication year
curl "https://openlibrary.org/search.json?q=artificial+intelligence&first_publish_year=2020"
# Sort by edition count
curl "https://openlibrary.org/search.json?q=calculus&sort=editions"
```
### Book Details
```bash
# Get work (canonical book entity)
curl "https://openlibrary.org/works/OL45804W.json"
# Get edition
curl "https://openlibrary.org/books/OL7353617M.json"
# Get by ISBN
curl "https://openlibrary.org/isbn/9780262035613.json"
# Bibliographic data via Books API
curl "https://openlibrary.org/api/books?bibkeys=ISBN:9780262035613&format=json&jscmd=data"
```
### Cover Images
```bash
# By ISBN (S/M/L sizes)
https://covers.openlibrary.org/b/isbn/9780262035613-M.jpg
# By OLID
https://covers.openlibrary.org/b/olid/OL7353617M-L.jpg
```
### Author Data
```bash
# Get author
curl "https://openlibrary.org/authors/OL34184A.json"
# Search authors
curl "https://openlibrary.org/search/authors.json?q=hinton"
# Author's works
curl "https://openlibrary.org/authors/OL34184A/works.json?limit=20"
```
### Search Parameters
| Parameter | Description | Example |
|-----------|-------------|---------|
| `q` | General search | `q=neural+networks` |
| `title` | Title search | `title=deep+learning` |
| `author` | Author search | `author=bengio` |
| `subject` | Subject filter | `subject=computer+science` |
| `isbn` | ISBN lookup | `isbn=9780262035613` |
| `first_publish_year` | Publication year | `first_publish_year=2020` |
| `limit` | Results (max 100) | `limit=50` |
| `offset` | Pagination | `offset=50` |
| `sort` | Sort order | `new`, `editions`, `old` |
| `fields` | Return fields | `key,title,author_name` |
## Response Structure (Search)
```json
{
"numFound": 1250,
"docs": [
{
"key": "/works/OL45804W",
"title": "Deep Learning",
"author_name": ["Ian Goodfellow", "Yoshua Bengio", "Aaron Courville"],
"first_publish_year": 2016,
"isbn": ["9780262035613"],
"publisher": ["MIT Press"],
"subject": ["Machine learning", "Neural networks"],
"edition_count": 8,
"cover_i": 8739161,
"ebook_access": "borrowable"
}
]
}
```
## Python Usage
```python
import requests
BASE_URL = "https://openlibrary.org"
def search_books(query: str, limit: int = 20,
subject: str = None) -> list:
"""Search Open Library for books."""
params = {"q": query, "limit": limit}
if subject:
params["subject"] = subject
resp = requests.get(f"{BASE_URL}/search.json", params=params)
resp.raise_for_status()
data = resp.json()
results = []
for doc in data.get("docs", []):
results.append({
"key": doc.get("key"),
"title": doc.get("title"),
"authors": doc.get("author_name", []),
"year": doc.get("first_publish_year"),
"publisher": doc.get("publisher", [None])[0],
"isbn": doc.get("isbn", [None])[0],
"editions": doc.get("edition_count", 0),
"subjects": doc.get("subject", [])[:5],
"ebook": doc.get("ebook_access"),
})
return results
def get_by_isbn(isbn: str) -> dict:
"""Look up a book by ISBN."""
resp = requests.get(
f"{BASE_URL}/api/books",
params={
"bibkeys": f"ISBN:{isbn}",
"format": "json",
"jscmd": "data",
},
)
resp.raise_for_status()
data = resp.json()
return data.get(f"ISBN:{isbn}", {})
def get_author_works(author_key: str, limit: int = 20) -> list:
"""Get works by an author."""
resp = requests.get(
f"{BASE_URL}/authors/{author_key}/works.json",
params={"limit": limit},
)
resp.raise_for_status()
return resp.json().get("entries", [])
# Example: search CS textbooks
books = search_books("algorithms data structures",
subject="computer science")
for b in books[:5]:
print(f"[{b['year']}] {b['title']} — {', '.join(b['authors'][:2])}")
print(f" Publisher: {b['publisher']} | Editions: {b['editions']}")
# Example: ISBN lookup
info = get_by_isbn("9780262035613")
print(f"Title: {info.get('title')}")
print(f"URL: {info.get('url')}")
```
## References
- [Open Library](https://openlibrary.org/)
- [Open Library API](https://openlibrary.org/developers/api)
- [Open Library Data Dumps](https://openlibrary.org/developers/dumps)Trust audit
SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.
| Layer | What it checks | Result |
|---|---|---|
| L0 | Provenance & inventory | PASS |
| L1 | Static analysis of the code | NA |
| L2 | Instruction surface (what it tells the agent) | PASS |
| L3 | Class-specific surface | PASS |
| L4 | Behavioural (sandbox) | SKIPPED |
What the source does
- Filesystem
- none-observed
- Network
- none-observed
- Shell
- none-observed
- Dependencies
- pinned
- Secrets in source
- none-found
Findings (0)
No findings outside the package's declared scope.
Gates applied: no_behavioural_pass.
e1ba289846fdfull audit observations/trust-audit/skill/brycewang-stanford__open-library-api.json · Report an issue / request a re-scanAudit history
Every audit this skill has had.
| Date | Source | Verdict | Grade | Score | Change |
|---|---|---|---|---|---|
| 2026-10-08 | e1ba289846fd | SAFE | B | 89 | first audit |
Questions
What does the Open Library Api skill do?
🔬 A curated collection of 23,000+ agent skills for empirical research across 8 social science disciplines. | 精选 23,000+ AI Agent 技能库,覆盖8大社会科学学科的实证研究。CoPaper.AI 20分钟完成一篇可复现的规范实证论文,并支持用户上传 Skills。-- Maintained by CoPaper.AI from Stanford REAP.
Is Open Library Api safe to install?
The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean skill reads B.
What can Open Library Api access on my machine?
The audit observed no filesystem, network or shell use at all in its source.
Which assistants does Open Library Api work with?
Its documentation mentions openclaw. That is what the text claims, not a compatibility test we ran.
How current is this page?
The grade is for one exact copy of the source (e1ba289846fd), read on 2026-10-08. The repository is watched, and a new audit runs when it changes — this is the first audit.