TL;DR
Chronicling America is the Library of Congress's free API providing access to over 18 million digitized newspaper pages published in the US between 1777 and 1963. You can search by keyword, state, newspaper title, date range, and even retrieve OCR text of individual pages. Returns JSON or XML — no API key required. It is the definitive source for US historical newspaper research, with papers from all 50 states and US territories.
Quick start: http://chroniclingamerica.loc.gov/newspapers.json
No API key needed — completely open government data!
How to Use This API
1. List All Digitized Newspapers
Returns metadata about every newspaper in the collection, including title, place of publication, years, and LCCN (Library of Congress Control Number):
http://chroniclingamerica.loc.gov/newspapers.json
2. Search by Keyword and State
Search for articles containing "election" in New York newspapers published in 1912:
http://chroniclingamerica.loc.gov/search/pages/results/?state=New+York&date1=1912&date2=1912&proxtext=election&format=json
Parameters: proxtext (search term), state, date1/date2 (year range), format=json.
3. JavaScript — Search with Filters
const params = new URLSearchParams({
proxtext: 'immigration',
state: 'Illinois',
date1: '1900',
date2: '1910',
format: 'json'
});
fetch('http://chroniclingamerica.loc.gov/search/pages/results/?' + params)
.then(r => r.json())
.then(data => {
console.log('Total results:', data.totalItems);
data.items.forEach(page => {
console.log(page.title, '-', page.date, '-', page.url);
});
});
4. Python — Get OCR Text of a Page
import requests
# First find a newspaper page ID, then get OCR text
page_id = 'sn84026749/1885-06-19/ed-1/seq-1'
ocr = requests.get(
f'http://chroniclingamerica.loc.gov/lccn/{page_id}/ocr.txt'
).text
print(ocr[:500]) # First 500 chars of transcribed text
http://chroniclingamerica.loc.gov/newspapers.json
Frequently Asked Questions
- What date range does the collection cover?
- Newspapers published between 1777 and 1963 are included, with the bulk from 1880 to 1922.
- Can I search by state or city?
- Yes. Use the
stateparameter (e.g.,state=Texas) orcityparameter. Browse newspapers.json for valid location metadata. - Does it return full article text?
- Yes. Each page has OCR-generated text available at
/lccn/{lccn}/{date}/ed-{n}/seq-{n}/ocr.txt. Quality varies with the original print condition. - What formats does the API support?
- JSON for search results and metadata. Additionally, page images are available as JPEG 2000 files and PDFs via the IIIF image API.
- Is there text from non-English newspapers?
- Yes. The collection includes newspapers published in over 40 languages, including German, French, Spanish, Norwegian, and Chinese.
- How many newspapers are digitized?
- As of 2026, over 3,800 newspaper titles and 18+ million pages from 50 states and US territories.
API Details
- API URL
http://chroniclingamerica.loc.gov/- Documentation
- chroniclingamerica.loc.gov/about/api/
- Category
- News
- Authentication
- Not Required
- Geographic Coverage
- United States — all 50 states and territories
What You Can Build
- Historical research tool for genealogy and family history
- Election coverage archive search across decades of US political history
- Classroom application comparing how different states covered major events
- Data journalism project tracking language change over 150+ years
- Local history map showing newspapers by city and publication period