News API Lite gives students, developers, and researchers limited, free access to global news data for non-commercial projects. It includes up to 30 days of historical news and advanced search capabilities.
Request a token through the News API Lite sign-up page. See the News API Lite guide for a walkthrough.
Use the API key you received with a search term. The default time frame is three days; requests can cover up to 30 days. See the News API quickstart for the request structure.
News API Lite supports the advanced filters available in the News API. For example, search for negative coverage of either candidate:
title:(Trump OR Biden) sentiment:negative
See Filters for the available search filters.
Each response includes up to 10 results and metadata, including the next URL for the next matching batch. See Response Format for output fields.
Follow the URL in next until all matching posts are consumed.
The default result set includes articles collected during the last three days. Add the ts parameter with a Unix timestamp in milliseconds to search up to 30 days of history. Use ts=0 for the oldest available results in that window.