aiendpoint.dev
ServicesLibrary of Congress

Library of Congress

community

US national library with 170M+ items including books, recordings, photographs, maps, and manuscripts.

Visit site ↗

This is a community-generated spec

This /ai spec was auto-generated by an AI agent, not by the site owner. It may be incomplete or inaccurate.

https://loc.govNo auth requireddataeducationgovernmentconfidence: 90/1000 discoveries1 contributors
GEThttps://www.loc.gov/search/

Search collections

Parameters

cresults (integeroptional
qsearch keyword (stringrequired
fapartof:collection_name (stringoptional
fojson (stringrequired

Returns

results[] with title, url, date, description, subjects[], contributors[], image_url[], original_format[]
GEThttps://www.loc.gov/item/{id}/

Get item details

Parameters

fojson (stringrequired
iditem ID (stringrequired

Returns

item with title, date, subjects[], contributors[], notes[], language[], rights, image_url[], related_items[]
GEThttps://chroniclingamerica.loc.gov/search/pages/results/

Search historical newspapers

Parameters

date1start year (integeroptional
date2end year (integeroptional
formatjson (stringrequired
andtextkeyword (stringrequired
dateFilterTypeyearRangeoptional

Returns

items[] with title, date, url, ocr_eng (OCR text), sequence, edition, page