OpenLibrary ISBN-10 / ISBN-13 Book Lookup
Resolve an ISBN-10 or ISBN-13 to structured OpenLibrary bibliographic metadata, authors, publishers, page count, and cover.
curl -sG "https://api.agentapigate.ai/v1/books/openlibrary/isbn_lookup" \ --data-urlencode "isbn=9781449373320" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# OpenLibrary ISBN-10 / ISBN-13 Book Lookup (`books.openlibrary.isbn_lookup`) **isbn**: 9781449373320 · **key**: /books/OL26780701M · **title**: Designing Data-Intensive Applications: The Big Ideas Behind Reliable, Scalable, and Maintainable Systems · **publish_date**: Apr 02, 2017 · **number_of_pages**: 624 ## authors - [1] name: Martin Kleppmann, url: http://openlibrary.org/authors/OL7477772A/Martin_Kleppmann ## publishers - [1] O'Reilly Media ## cover - **small**: https://covers.openlibrary.org/b/id/8434671-S.jpg - **medium**: https://covers.openlibrary.org/b/id/8434671-M.jpg - **large**: https://covers.openlibrary.org/b/id/8434671-L.jpg
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:books.openlibrary.isbn_lookup · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| isbn | string | required | 9781449373320 | ISBN-10 or ISBN-13 identifier, hyphens permitted (e.g. "9781449373320" or "978-1-4493-7332-0") |
| format | enum | optional | json | compact | md | Response format; compact or md cuts LLM tokens. |
| dry_run | 0 | 1 | optional | 1 | Returns exact pre-flight price quote & validation at $0.00 cost. |
| Access Rail / Metric | Value | Policy & SLA |
|---|---|---|
| API Key (PAYG) | $0.0020 / call | $0/mo · Balance never expires |
| Remote MCP Tool | books_openlibrary_isbn_lookup | OAuth 2.1 Hub & /mcp/search |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 231 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 1240t → 172t (-87%) | Partner credit: eligible |
| Data Attribution | Source: Internet Archive Open Library Bibliographic Catalog (openlibrary.org — CC0 / Public Bibliographic Data) | |
More books.openlibrary Sibling Endpoints
Search OpenLibrary bibliographic works by title, author, or topic with ISBNs, edition counts, publish years, and ratings.
Fetch all cataloged literary works for an OpenLibrary author OLID with work keys, titles, subjects, and revision timestamps.
Frequently Asked Questions
How do I call OpenLibrary ISBN-10 / ISBN-13 Book Lookup (books.openlibrary.isbn_lookup) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/books/openlibrary/isbn_lookup with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool books_openlibrary_isbn_lookup on https://mcp.agentapigate.ai/mcp.
What does books.openlibrary.isbn_lookup cost per call and are failed calls billed?
Each successful HTTP 200 response costs $0.002 USD from a non-expiring PAYG balance ($0/month minimum). Upstream errors, empty responses, and ?dry_run=1 pre-flight quotes always bill $0.00.
How does ?format=md or ?format=compact optimize AI agent token usage on books.openlibrary.isbn_lookup?
Passing ?format=md transforms the response into normalized Markdown (~172 tokens vs ~1240 raw tokens, saving 87% of LLM context budget) while preserving structured JSON via ?format=json.
Can I restrict an AI agent key to only search endpoints with a daily USD cap?
Yes. Create a scoped aag_agent_* sub-key via POST /v1/keys with allowed_packs: ["search"], optional allowed_endpoints: ["books.openlibrary.isbn_lookup"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.