Chronicling America API
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
Example 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
// ⚠️ Note: This URL may be a documentation page. Check official docs for actual API endpoint.
const url = "http://chroniclingamerica.loc.gov/about/api/";
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
Matrix Score Breakdown
Fully tested on Apr 5, 2026
Technical Specifications
Related Tags
Similar APIs
View All →Graphs for Coronavirus
Graphs for Coronavirus provides programmatic access to each country separately and worldwide graphs for coronavirus.
Inshorts News
⭐ Beginner's PickThe Inshorts News API is an unofficial, open-source wrapper that fetches bite-sized news summaries from the Inshorts mobile app.
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.