OpenLibrary Bibliographic Book Search
Search OpenLibrary bibliographic works by title, author, or topic with ISBNs, edition counts, publish years, and ratings.
curl -sG "https://api.agentapigate.ai/v1/books/openlibrary/search" \ --data-urlencode "q=distributed systems" \ --data-urlencode "limit=10" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# OpenLibrary Bibliographic Book Search (`books.openlibrary.search`) **count**: 10 ### 1. Distributed Systems (https://openlibrary.org/works/OL1970672W) - key=/works/OL1970672W | author_name=Andrew S. Tanenbaum, Maarten Van Steen, Maarten van Steen | author_key=OL236786A, OL7516190A, OL444542A | first_publish_year=2001 | edition_count=11 | ebook_access=printdisabled | language=eng, spa | cover_i=9378755 ### 2. Security Engineering (https://openlibrary.org/works/OL8229364W) - key=/works/OL8229364W | author_name=Ross J. Anderson | author_key=OL2738672A | first_publish_year=2001 | edition_count=16 | ebook_access=printdisabled | language=eng | cover_i=4970809 ### 3. Distributed systems (https://openlibrary.org/works/OL3609847W) - key=/works/OL3609847W | author_name=George F. Coulouris | author_key=OL612873A | first_publish_year=1988 | edition_count=5 | ebook_access=printdisabled | language=eng | cover_i=135471 ### 4. Distributed Systems (https://openlibrary.org/works/OL21415109W) - key=/works/OL21415109W | author_name=Coulouris, Jean Dollimore, Tim Kindberg, Gordon Blair | author_key=OL3011940A, OL2670689A, OL2670690A, OL389444A | first_publish_year=2005 | edition_count=4 | ebook_access=printdisabled | language=eng | cover_i=12597626 ### 5. Distribution system modeling and analysis (https://openlibrary.org/works/OL8636270W) - key=/works/OL8636270W | author_name=William H. Kersting | author_key=OL2908333A | first_publish_year=2001 | edition_count=9 | ebook_access=no_ebook | language=eng | cover_i=13194090 ### 6. Distributed Systems (https://openlibrary.org/works/OL8948590W) - key=/works/OL8948590W | author_name=Sukumar Ghosh | author_key=OL3098988A | first_publish_year=2006 | edition_count=12 | ebook_access=no_ebook | language=eng | cover_i=1950585 ### 7. Designing Distributed Systems (https://openlibrary.org/works/OL19543542W) - key=/works/OL19543542W | subtitle=Patterns and Paradigms for Scalable, Reliable Services | author_name=Brendan Burns | author_key=OL7494734A | first_publish_year=2018 | edition_count=3 | ebook_access=no_ebook | language=jpn, eng ### 8. Distributed systems (https://openlibrary.org/works/OL15643318W) - key=/works/OL15643318W | author_name=George F. Coulouris | author_key=OL612873A | first_publish_year=1996 | edition_count=1 | ebook_access=printdisabled | language=eng | cover_i=6688999 ### 9. Electric power distribution system engineering (https://openlibrary.org/works/OL2694024W) - key=/works/OL2694024W | author_name=Turan Gönen | author_key=OL393748A | first_publish_year=1986 | edition_count=2 | ebook_access=no_ebook | language=eng | cover_i=4209439 ### 10. Electric Distribution Systems (https://openlibrary.org/works/OL21460035W) - key=/works/OL21460035W | author_name=Abdelhay A. Sallam, Om P. Malik | author_key=OL8211774A, OL8207224A | first_publish_year=2011 | edition_count=9 | ebook_access=no_ebook | language=eng | cover_i=13340952
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:books.openlibrary.search · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| q | string | required | distributed systems | Book search query across title, author, or subject (e.g. "distributed systems", "compiler design") |
| author | string | optional | — | Optional author name filter |
| subject | string | optional | — | Optional subject filter |
| page | number | optional | 1 | Search result page (default 1) |
| limit | number | optional | 10 | Maximum bibliographic works returned (1-50, default 10) |
| 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_search | OAuth 2.1 Hub & /mcp/search |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 1410 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 2968t → 782t (-74%) | Partner credit: eligible |
| Data Attribution | Source: Internet Archive Open Library Bibliographic Catalog (openlibrary.org — CC0 / Public Bibliographic Data) | |
More books.openlibrary Sibling Endpoints
Resolve an ISBN-10 or ISBN-13 to structured OpenLibrary bibliographic metadata, authors, publishers, page count, and cover.
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 Bibliographic Book Search (books.openlibrary.search) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/books/openlibrary/search with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool books_openlibrary_search on https://mcp.agentapigate.ai/mcp.
What does books.openlibrary.search 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.search?
Passing ?format=md transforms the response into normalized Markdown (~782 tokens vs ~2968 raw tokens, saving 74% 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.search"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.