OpenLibrary Author Works Bibliography
Fetch all cataloged literary works for an OpenLibrary author OLID with work keys, titles, subjects, and revision timestamps.
curl -sG "https://api.agentapigate.ai/v1/books/openlibrary/author_works" \ --data-urlencode "author_key=OL23919A" \ --data-urlencode "limit=15" \ --data-urlencode "format=md" \ -H "Authorization: Bearer aag_live_YOUR_KEY" \ -H "X-AAG-Max-Cost: 0.0100"
# OpenLibrary Author Works Bibliography (`books.openlibrary.author_works`) **author_key**: OL23919A · **size**: 422 · **count**: 15 · **attribution**: Source: Internet Archive Open Library Bibliographic Catalog (openlibrary.org — CC0 / Public Bibliographic Data) ## entries - [1] key: /works/OL35207075W, title: Career of Evil, covers: 14224633, created: 2023-04-20T06:52:57.596683, last_modified: 2026-11-24T17:31:52.120954 - [2] key: /works/OL17360811W, title: Harry Potter and the Cursed Child, subjects: Drama, Fantasy, Magic, Juvenile Drama, Good and evil, Literature, subject_places: London, covers: 8763851, 9326661, 10551120, 12669658, 7876652 - [3] key: /works/OL46092343W, title: Harry potter hila piedra filosofal, created: 2026-10-08T00:57:39.684149, last_modified: 2026-10-08T00:57:39.684149, url: https://openlibrary.org/works/OL46092343W - [4] key: /works/OL46092342W, title: Harry potter hila piedra filosofal, created: 2026-10-08T00:57:39.146015, last_modified: 2026-10-08T00:57:39.146015, url: https://openlibrary.org/works/OL46092342W - [5] key: /works/OL46092341W, title: Harry potter hila piedra filosofal, created: 2026-10-08T00:57:37.418698, last_modified: 2026-10-08T00:57:37.418698, url: https://openlibrary.org/works/OL46092341W - [6] key: /works/OL34974873W, title: Bèsties fantàstiques. Els secrets de Dumbledore, covers: 13925683, created: 2023-04-13T05:10:02.330346, last_modified: 2026-09-01T18:43:09.846706 - [7] key: /works/OL19347126W, title: Hogwarts Library, subtitle: The Complete Set, subjects: English Fantasy fiction, Children's stories, English, Child and youth fiction, covers: 8761963, 10862585, 13229354 - [8] key: /works/OL45860018W, title: חיות הפלא והיכן למצוא אותן, subjects: Witches, Juvenile fiction, Wizards, Magic, created: 2026-08-05T02:46:37.352418, last_modified: 2026-08-05T02:46:37.352418 - [9] key: /works/OL45832987W, title: 哈利波特完整系列 (哈利·波特 (Harry Potter)), created: 2026-07-28T09:04:52.818599, last_modified: 2026-07-28T09:04:59.850429, url: https://openlibrary.org/works/OL45832987W - [10] key: /works/OL45832887W, title: Harry Potter and the Philosopher's Stone - Ukrainian Edition, created: 2026-07-28T08:15:56.155956, last_modified: 2026-07-28T08:41:01.147831, url: https://openlibrary.org/works/OL45832887W - [11] key: /works/OL45830660W, title: 哈利波特与魔法石(赫奇帕奇)(精), created: 2026-07-27T16:03:00.692275, last_modified: 2026-07-27T16:03:00.692275, url: https://openlibrary.org/works/OL45830660W - [12] key: /works/OL45830565W, title: HARRY POTTER À L'ÉCOLE DES SORCIERS, ÉDITION DU 20E ANNIVERSAIRE (CHINOISE SIMPLIFIÉE), created: 2026-07-27T15:39:24.134988, last_modified: 2026-07-27T15:39:24.134988, url: https://openlibrary.org/works/OL45830565W - [13] key: /works/OL45820336W, title: ハリー・ポッターと炎のゴブレット: Harry Potter and the Goblet of Fire ハリー・ポッタ, created: 2026-07-24T11:51:36.276392, last_modified: 2026-07-24T11:51:36.276392, url: https://openlibrary.org/works/OL45820336W - [14] key: /works/OL45740719W, title: [Harry Potter and the chamber of secrets, subjects: Wizards, Juvenile fiction, created: 2026-07-09T22:48:23.748287, last_modified: 2026-07-09T22:48:23.748287 - [15] key: /works/OL45340131W, title: Profesor Dumbledore, created: 2026-05-05T12:44:29.330522, last_modified: 2026-05-05T12:44:29.330522, url: https://openlibrary.org/works/OL45340131W
Endpoint Parameters, Cost & Token Economy Reference
Endpoint ID:books.openlibrary.author_works · Method: GET| Parameter | Type | Req | Sample / Default | Description |
|---|---|---|---|---|
| author_key | string | required | OL23919A | OpenLibrary author OLID (e.g. "OL23919A" or "/authors/OL23919A") |
| limit | number | optional | 15 | Maximum works returned (1-50, default 15) |
| offset | number | optional | 0 | Pagination offset (default 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_author_works | OAuth 2.1 Hub & /mcp/search |
| x402 Base USDC | $0.0020 / call | Zero-signup USDC enabled |
| P50 Latency | 327 ms | $0 billed on empty or 4xx/5xx |
| Token Economy | 3159t → 960t (-70%) | 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.
Resolve an ISBN-10 or ISBN-13 to structured OpenLibrary bibliographic metadata, authors, publishers, page count, and cover.
Frequently Asked Questions
How do I call OpenLibrary Author Works Bibliography (books.openlibrary.author_works) over REST and Remote MCP?
Send GET requests to https://api.agentapigate.ai/v1/books/openlibrary/author_works with an aag_live_* / aag_agent_* Bearer key, pay per call via x402 USDC, or call MCP tool books_openlibrary_author_works on https://mcp.agentapigate.ai/mcp.
What does books.openlibrary.author_works 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.author_works?
Passing ?format=md transforms the response into normalized Markdown (~960 tokens vs ~3159 raw tokens, saving 70% 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.author_works"], read_only: true, and a hard daily_cap_usd enforced atomically in Redis.