/news-api

a guide about how to use Webz.io Free News API

Webz.io Free News API Lite Guide

Webz.io created the free News API Lite so students, developers, and researchers could easily incorporate high-quality, relevant news information into their non-commercial projects. The API gives you limited access to Webz.io vast repository of global news content, including up to 30 days of historical news data. It also includes advanced search capabilities so you can quickly refine and target your news data searches. With access to relevant and timely news data, you can discover trends and analyze sentiment. You can build innovative applications and dashboards powered by news data.

Getting Started in 3 easy steps

You only need to complete three steps to use the News API Lite.

1. Request an API Key

2. Make an API Request

Use the API key provided to make your first call to the API. Make sure you also specify a search term in the request. For example, the following API request will return news articles related to the search term “Bitcoin.” The default time frame is 3 days, but you can set this to up to 30 days.

  • https://api.webz.io/newsApiLite?token=[token]&q=Bitcoin.

Here is a screenshot showing a part of the API call results in a web browser:

3. Explore Webz.io news data

Experiment with different API call configurations, refining your searches with advanced features like filters and Boolean queries. For example, you could search for news articles about U.S. President Joe Biden or his presidential challenger Donald Trump, refining the search to return articles with negative sentiment:

https://api.webz.io/newsApiLite?token=[token]&ts=0&q=title%3A(Trump%20OR%20Biden)%20sentiment%3Anegative

This query includes negative news posts about President Biden or Donald Trump in the past 30 days. Here is a screenshot of the call results in a web browser:

Limitations

  • Up to 1,000 calls per month.
  • Returns 10 articles per call.