Open Library API
The Open Library API offers metadata for books from the Internet Archive’s book collection.
Details
Section titled “Details”- Website: openlibrary.org
- Supported formats: books
- Authentication: No authentication required
- Rate limiting: Cover access is rate-limited when not using CoverID or OLID by max 100 requests/IP every 5 minutes. This plugin uses OLID, so there shouldn’t be a rate limit.
- SFW filter support: No
Search by ID
Section titled “Search by ID”The ID can be one of three types:
/works/ID (recommended)/books/ID (for specific editions)/isbn/ID (ISBN)
Works ID (Recommended)
Section titled “Works ID (Recommended)”The works ID identifies the overall work, encompassing all editions.
Finding the Works ID
Section titled “Finding the Works ID”- Navigate to a book page on Open Library
- Look near the top of the page above the title
- You’ll see text like “An edition of [Book Title] (Year)”
- Click on it or look at the URL
- The works ID is in the format
/works/OL#######W
Example
Section titled “Example”For “Fantastic Mr. Fox”:
- URL:
https://openlibrary.org/works/OL45804W - ID:
/works/OL45804W
Books ID (Specific Edition)
Section titled “Books ID (Specific Edition)”The books ID identifies a specific edition of a work.
Finding the Books ID
Section titled “Finding the Books ID”- Navigate to a specific edition page
- Look at the URL
- The ID is in the format
/books/OL#######M
Example
Section titled “Example”For a specific edition of “Fantastic Mr. Fox”:
- URL:
https://openlibrary.org/books/OL3567303M/ - ID:
/books/OL3567303M
Which ID to Use?
Section titled “Which ID to Use?”- Works ID: Use when you want general information about the book
- Books ID: Use when you want a specific edition (with specific ISBN, publisher, etc.)
- ISBN: Use when you have the ISBN and want that specific printing