Search Historical Newspapers
libofcongress_search_newspapersSearch historical newspaper pages in the Chronicling America corpus. Returns matching pages with OCR text excerpts (~500 characters), publication title, date, state, and the page URL needed for libofcongress_get_newspaper_page. Filters by keyword, date range, US state, and newspaper title. The OCR excerpts are sufficient for relevance assessment — call libofcongress_get_newspaper_page with the returned url field to read the full page text. OCR quality varies: 19th-century and degraded materials may contain fragmented or garbled text.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-indexed page number for paginating results. | |
| limit | No | Results per page. Default 25, max 100. | |
| query | Yes | Keyword search across OCR text and newspaper metadata. | |
| state | No | Filter to newspapers published in this US state. Use the full state name, lowercase (e.g., "oklahoma", "new york"). | |
| date_end | No | End year for date filter, inclusive (e.g., 1920). Omit for no upper bound. | |
| date_start | No | Start year for date filter, inclusive (e.g., 1900). Omit for no lower bound. | |
| newspaper_title | No | Filter to a specific newspaper by title (partial match accepted). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Current 1-indexed page number. | |
| error | No | Present when the call failed. Absent on success. | |
| items | No | Newspaper page results matching the search query and filters. | |
| pages | No | Total retrievable pages. For result sets larger than LOC will page through (~100,000 pages) this is capped, and a notice discloses how to reach the rest (partition by date/state). | |
| total | No | Total number of matching newspaper pages in the result set. | |
| notice | No | Recovery hint when results are empty or a page is out of range — echoes applied filters and suggests how to broaden. Absent on successful result pages. | |
| has_next | No | True when a retrievable next page follows this one. Never promises a page past LOC's ~100,000-item retrieval ceiling. | |
| totalCount | No | Total matching newspaper pages — mirrors output.total for agent reasoning. | |
| effectiveQuery | No | The keyword query as submitted to the Chronicling America API, after trimming. |