News API has 2 main endpoints:
/v2/everything– search every article published by over 80,000 different sources large and small in the last 4 years. This endpoint is ideal for news analysis and article discovery.
- Top headlines
/v2/top-headlines– returns breaking news headlines for countries, categories, and singular publishers. This is perfect for use with news tickers or anywhere you want to use live up-to-date news headlines.
There is also a minor endpoint that can be used to retrieve a small subset of the publishers we can scan:
/v2/top-headlines/sources– returns information (including name, description, and category) about the most notable sources available for obtaining top headlines from. This list could be piped directly through to your users when showing them some of the options available.