Skip to content

Getting Started with News API Examples ​

Find a request example for the filter you need. Each example includes code you can copy and a short explanation of the results.

Open the examples library to choose a filter.

The examples cover:

  • Filtering by headlines
  • Working with different languages
  • Filtering by categories and topics
  • Sentiment analysis
  • Working with news sources
  • Filtering by dates

Replace the example API key with your own before running a request.