Get Newspaper Page
libofcongress_get_newspaper_pageRetrieve the full OCR text of a specific historical newspaper page along with publication metadata. Pass the url field from a libofcongress_search_newspapers result — do not construct this URL manually. OCR quality varies by digitization batch and era: 19th-century and degraded materials may contain fragmented text, garbled words, and line-break artifacts that are surfaced as-is. When a page exists but has no digitized text, ocr_available is false and ocr_text is empty — this is a data property, not an error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_url | Yes | The url field from a libofcongress_search_newspapers result (e.g., "https://www.loc.gov/resource/sn83045462/1905-03-15/ed-1/seq-1/"). Always pass the value directly from search results — do not construct or modify this URL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | Issue publication date. | |
| error | No | Present when the call failed. Absent on success. | |
| state | No | State where the newspaper was published. | |
| notice | No | Set when ocr_available is true but ocr_text is empty — the page has digitized OCR, but the text service did not return it this call. Distinguishes a transient retrieval miss from a genuinely image-only page (where ocr_available is false). Absent when OCR text was returned or the page has no OCR. | |
| edition | No | Edition or publication context identifier. | |
| ocr_text | No | Full plain-text OCR content for the page. Empty string when ocr_available is false. May contain fragmented words, line-break artifacts, and misspellings inherent to historical OCR — do not attempt to repair. | |
| page_url | No | The LOC resource URL for this newspaper page. | |
| sequence | No | Page sequence number within the issue. | |
| ocr_available | No | True when digitized OCR text exists for this page. False for image-only digitization batches where OCR has not been applied. | |
| newspaper_title | No | Title of the newspaper publication. |