{"uid":"cap_ZHpU4OF4xx5g1-KxF7PWR","slug":"open-library-book-search-lookup-api-c612fec6","name":"Open Library Book Search & Lookup API","description":"Pay-per-call structured web data. Failed or empty runs are not charged.","url":"https://api.scrapeforagents.tech/v1/open?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"language":{"type":"string","default":"","description":"Optional three-letter catalog language code, such as eng or spa, to filter searches. Direct work URLs are unaffected."},"maxItems":{"type":"integer","default":100,"minimum":0,"description":"Maximum unique work records across all inputs. Set to 0 for no explicit limit."},"startUrls":{"type":"array","description":"Optional public work URLs or IDs, such as https://openlibrary.org/works/OL66554W. Work records are processed before searches."},"searchQueries":{"type":"array","description":"Keywords, titles, or ISBNs to search in the public catalog. Results are deduplicated by work ID."},"includeWorkDetails":{"type":"boolean","default":false,"description":"Fetch each matching work record to add a description and fill some missing details. This uses an extra request per result."}}},"responseSchema":{"type":"json","example":{"count":1,"items":[{"title":null,"workId":null,"workUrl":null,"subtitle":null,"authorKeys":null,"authorNames":null,"editionCount":null,"firstPublishYear":null}],"product":"open"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.025","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_g5VculHOzkLSQGUOPQSPd","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Searches and retrieves structured book/work records from the Open Library public catalog by keyword, title, ISBN, or direct work URL","exampleAgentPrompt":"Search Open Library for books about 'machine learning' in English, return up to 20 results, and include full work details like descriptions for each one.","exampleUseCases":[{"title":"Author bibliography lookup","prompt":"Find me all Open Library works by Ursula K. Le Guin — up to 50 results — with descriptions included so I can see what each book is about."},{"title":"ISBN to book metadata","prompt":"Look up the book with ISBN 9780743273565 on Open Library and give me the title, authors, edition count, and year it was first published."},{"title":"Multilingual catalog search","prompt":"Search Open Library for books about 'magical realism' in Spanish — up to 30 results — and include the work details so I get descriptions too."}],"resultDescription":"Returns a JSON object with a count and an array of work records, each containing the work ID, work URL, title, subtitle, author keys, author names, edition count, first publish year, and optionally a description if includeWorkDetails was true.","failureModes":["Empty results array when no catalog matches found for the search query","Missing fields (e.g. subtitle, firstPublishYear) for works with incomplete Open Library records","Rate limiting or timeout if many work detail fetches are requested simultaneously","Invalid language code returns no filtered results or falls back to unfiltered","Malformed work URL input causes that entry to be skipped silently"],"whenToPreferThis":"Choose this endpoint when you need structured bibliographic data from the Open Library public catalog — especially for ISBN lookups, author bibliography searches, or enriching a list of book titles with metadata like edition counts and publication years. Prefer it over general web scraping when you want deduplicated, schema-consistent book records without parsing HTML.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T00:47:09.474Z","isFirstParty":false,"canonicalSlug":"open-library-book-search-lookup-api-c612fec6"}