Overview
Chronicling America provides free access to millions of digitized historic US newspaper pages from the Library of Congress, spanning from 1770 to 1963. No API key is required, making it perfect for beginners interested in history, data journalism, or natural language processing projects. You can search by keyword, date range, state, or newspaper title.
Beginner Tip
Start with a specific keyword and a narrow date range to get manageable results since the dataset is enormous. The API returns links to JPEG and PDF scans alongside OCR text, which may contain recognition errors from the digitization process.
Available Data
The kind of data this API exposes, based on its documentation. We could not call the endpoint to confirm the exact field names.
Example Response
Illustrative shape only — we were not able to call this endpoint (it requires credentials or exposes no public sample URL), so the fields below show the kind of data this API returns rather than a recorded response.
{
"title": "The Great Gatsby",
"authors": [
"F. Scott Fitzgerald"
],
"publishedDate": "1925-04-10",
"pageCount": 218,
"categories": [
"Fiction"
],
"imageLinks": {
"thumbnail": "https://books.google.com/..."
},
"averageRating": 4
} Field Reference
items Array of newspaper page records matching the search query items[].title Name of the newspaper the page belongs to items[].date Publication date of the newspaper page in YYYYMMDD format items[].ocr_eng Full OCR-extracted text content from the newspaper page items[].url URL to the page detail on Chronicling America website totalItems Total number of pages matching the search across all results Implementation Example
Calls a real endpoint of this API. Replace any placeholder credentials with your own key.
const url = "https://chroniclingamerica.loc.gov/search/pages/results/?andtext=election&dateFilterType=yearRange&date1=1900&date2=1910&format=json&rows=5";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data); What Can You Build?
Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.
Common Errors & Troubleshooting
Generated guidance based on this API's documentation, not observed by us. Treat it as a starting point and check against the provider's own error reference.
Metadata Score Breakdown
Estimated from metadata — endpoint not independently tested
Metadata estimate · endpoint not independently tested
Technical Specifications
Related Tags
Similar APIs
View All →Spaceflight News
⭐ Beginner's PickSpaceflight News API is a free, open REST API that delivers the latest news, blogs, and reports specifically about spaceflight, rockets, and space exploration.
Associated Press
The Associated Press Developer API gives you programmatic access to AP news content and metadata, one of the most trusted wire services in the world.
Currents
⭐ Beginner's PickCurrents API delivers the latest news from thousands of sources, blogs, and online forums in real time.
MarketAux
MarketAux delivers real-time financial news with sentiment analysis, ticker tagging, and market statistics in a clean JSON format.
NewsData
⭐ Beginner's PickNewsData.io provides live and breaking news headlines sourced from thousands of reputable news outlets around the world.