Search everything on loc.gov.
GET/search/
- Takes: Name
- Passive: the target is not contacted
Covers collection items, legislation, web pages, blog posts and events. Needs q.
Query parameters
qKeyword search across metadata and full text
foResponse format
faFilters as filter-name:value, multiple separated by a pipe
cResults per page
spPage number, from 1
sbSort order
atReturn only selected attributes
Response fields · 3ShowHide
results[]
Matching records
id
URL of the item
pagination
Paging information
curl 'https://www.loc.gov/search/?q=bridges&fo=json'{
"results": [
{
"id": "https://www.loc.gov/item/00000000/"
}
],
"pagination": {}
}