Home / Entries
Library of Congress API
Library and archive data Free to use I do research, content or marketingI run a nonprofit
The collections of the Library of Congress as data: books, photos, maps, manuscripts, newspapers and more. Any loc.gov page built on the API returns its data as JSON or YAML when you ask.
- What you get
- The collections of the Library of Congress as data: books, photos, maps, manuscripts, newspapers and more. Any loc.gov page built on the API returns its data as JSON or YAML when you ask.
- Free limit
- Free. The Library documentation read for this entry states no key and no numeric quota.
- The one catch
- Not every part of loc.gov runs on this API. The Library own documentation lists whole sections, including the National Library Service site, the Publishers site and the research room sites, that return no API response.
- How to get the key
- No key. Add ?fo=json to a loc.gov collection, search or item URL; use fo=yaml for YAML instead.
- Paid path
- No paid tier. It is a free public service.
- Last checked
- Nov 23, 2026 (2026-11-23). Facts read on the vendor source page. How checks work: Where our data comes from.