Trending Books API
The books Open Library readers logged most over the last day, week, month or year, ranked: work id, title, authors, first publish year, edition count, languages, cover and e-book access, stamped with the time the list was read.
$0.50 per 1,000 records
You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.
Data from openlibrary.org/trending/daily
Get this data
Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.
Try it
Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key
For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
- Small runs answer in the same request; longer ones answer
202with a run to poll. fieldsreturns only the fields you name. The examples send the ones picked on this page.Idempotency-Keyis optional. A retry with it is never charged twice.- You pay for records returned. Zero records cost zero.
curl -X POST "https://pullrow.dev/v1/apis/open-library-trending/run" \
-H "Authorization: Bearer $PULLROW_API_KEY" \
-H "Content-Type: application/json" \
-d '{"input":{"period":"daily"},"max_items":50}'Inputs
Send them as input in the request body. Leave one out to use its default.
What's in each record
16 fields: 15 here, 1 technical one under Technical details.
Basics
- Rank
Position on the trending list; 1 is the most logged book.
Example 1
- Period
The list the book was read from: daily, weekly, monthly or yearly.
Example daily
- Work key
Open Library's work id, such as OL17930368W: one id for all editions of a book.
Example OL17930368W
- Title
Title of the work.
Example Atomic Habits
- Authors
Author names, as Open Library lists them.
Example James Clear
- Author keys
Open Library ids of those authors, such as OL7422948A, in the same order.
Example OL7422948A
- Edition count
Number of editions Open Library lists for the work (printings, translations, formats).
Example 42
- Languages
Languages of its editions as three-letter codes, such as eng or spa.
Example eng, ger
- Ebook access
E-book access on Open Library: public (free to read), borrowable, printdisabled (print-disabled readers only) or no_ebook.
Example printdisabled
- Has fulltext
Yes when Open Library holds a scanned copy of some edition.
Example Yes
Dates
- First publish year
The year the work first came out, as Open Library records it.
Example 2016
- Checked
When the trending list was read (UTC).
Example Dec 6, 2026
Links
- Link
The book's page on Open Library.
Pictures and media
- Cover
The cover image, large size, from covers.openlibrary.org.
Example Open the image
- Cover edition key
Open Library id of the edition the cover comes from, such as OL36647151M.
Example OL36647151M
Technical detailsField names and types for developers, and the 1 field hidden above
Hidden by default
This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.
- Cover ID
cover_idOpen Library's id of the work's cover image.
Field names and types
The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.
| Field name | Type | Shown on this page as | Filled |
|---|---|---|---|
rank | number | Rank | 3 of 3 |
period | text | Period | 3 of 3 |
work_key | text | Work key | 3 of 3 |
url | link | Link | 3 of 3 |
title | text | Title | 3 of 3 |
authors | list | Authors | 3 of 3 |
author_keys | list | Author keys | 3 of 3 |
first_publish_year | number | First publish year | 3 of 3 |
edition_count | number | Edition count | 3 of 3 |
languages | list | Languages | 3 of 3 |
cover_id | number | Cover ID (hidden) | 3 of 3 |
cover_url | image link | Cover | 3 of 3 |
cover_edition_key | text | Cover edition key | 2 of 3 |
ebook_access | text | Ebook access | 3 of 3 |
has_fulltext | yes or no | Has fulltext | 3 of 3 |
checked_at | date and time | Checked | 3 of 3 |
How it reads the site
Runs on a reader we built and maintain by hand for this site.
Save as pipeline
A pipeline remembers this API, your inputs and the fields you picked. It can run on a schedule and email you the results.
Sample records
| Record | Title | Rank | Period | Work key | Authors | Author keys | Edition count | Languages | Ebook access | Has fulltext | First publish year | Checked | Link | Cover | Cover edition key |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Atomic Habits | 1 | daily | OL17930368W | James Clear | OL7422948A | 42 | eng, ger, spa, por | printdisabled | Yes | 2016 | Dec 6, 2026 | openlibrary.org/works/OL17930368W | covers.openlibrary.org/b/id/12539702-L.jpg | OL36647151M |
| 2 | The Hunger Games | 2 | daily | OL5735363W | Suzanne Collins | OL1394359A | 143 | eng, vie, tgl, jpn | borrowable | Yes | 2008 | Dec 6, 2026 | openlibrary.org/works/OL5735363W | covers.openlibrary.org/b/id/12646537-L.jpg | — |
| 3 | Rich Dad, Poor Dad | 3 | daily | OL2010879W | Robert T. Kiyosaki | OL242220A | 112 | eng, ger, ita, spa | borrowable | Yes | 1997 | Dec 6, 2026 | openlibrary.org/works/OL2010879W | covers.openlibrary.org/b/id/8315603-L.jpg | OL26632040M |
Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.
Reliability
Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.
Incidents and repairs
How it is kept working What a repair can't do
A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.
- You pay only for records returned. A run that returns none costs nothing.
- Ranks follow how often Open Library readers logged a book (want to read, reading, read) during the period. They reflect Open Library's own readers, not book sales.
- Up to 1,000 books per run, from the top of the list. The list keeps changing during the day, so ranks read a few seconds apart can shift and a book can rarely be missed or skipped at a page edge.
- Open Library keeps no rank history: run it on a schedule to build one; checked_at marks when each list was read.
- The yearly list is slow to compute at the source, about 8 seconds per 100 books. Requests are spaced about a second apart to keep the load on Open Library low.
- Open Library's catalog is built by libraries and volunteers: first_publish_year and languages are sometimes missing or incomplete.
- Open Library data is open (mostly CC0 or public domain): credit Open Library (openlibrary.org) when you publish it. Cover images carry their own rights.
Version history
A run uses the live version unless the request names another one with version.
Manage this API
Only your workspace sees this part.
Automatic repair
Off: a rebuilt version is stored and waits for you in the version history.
Delete this API
Removes the API, its versions and the saved records of its runs. Calls to its address then answer 404. Records already charged stay charged. This cannot be undone.