Bug 39865

Summary: Consider updating OpenLibrary covers search API
Product: Koha Reporter: Oliver Behnke <oliver.behnke>
Component: OPACAssignee: Owen Leonard <oleonard>
Status: NEW --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low    
Version: 24.11   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Oliver Behnke 2025-05-09 08:47:44 UTC
Koha currently uses OpenLibrary's "Legacy Book API" [1] to fetch book covers which "is a legacy endpoint and may be phased out in the future". Also, it's inefficient.

The replacement seems to be the dedicated "Covers API" [2]. One drawback, though, it's currently rate limited to 100 requests per IP per five minutes. That might quickly be exhausted on the OPAC search result page.

Thanks

[1] https://openlibrary.org/dev/docs/api/books
[2] https://openlibrary.org/dev/docs/api/covers