
The news ‘sources’ endpoint of NewsData.io, provides names of randomly selected 100 domains from a country, category or language. In this article, we’ll deep dive into the use of the News “Sources” endpoint and explore the features it comes with.
Benefits of News Sources Endpoints
Source Credibility
By accessing metadata about news sources, users can gauge the credibility, reputation, and focus of each outlet.
Comprehensive Insights
Whether you’re a journalist, researcher, or data enthusiast, this endpoint offers a wealth of data for in-depth exploration.
Enhanced Context
Understanding the origin of news articles enhances your ability to critically assess the content and its potential biases.
Request parameters of news ‘sources’ endpoint
1. Language
You can search the news sources from a specific language using this parameter. You can check the documentation for all the language codes.
Given below are some examples for better understanding.
- If you want to fetch news sources in the French language only, the request parameter will be such that language=fr, where ‘fr’ means French.
https://newsdata.io/api/1/sources?apikey=YOUR_API_KEY&language=fr
This query will fetch only those news sources which are in French language.

- If you want to fetch news sources in the English language only, the request parameter will be such that language=en, where ‘en’ means English.
https://newsdata.io/api/1/sources?apikey=YOUR_API_KEY&language=en
This query will fetch only those sources which give news in English.

To fetch news sources in different languages visit the documentation and check out the language code and modify your request accordingly.
2. Country
You can search the news sources from a specific country using this parameter. You can check the codes for all the countries here.
Given below are some examples for better understanding.
- If you want to fetch news sources from Australia, the request parameter will be such that country=au, where ‘au’ means Australia.
https://newsdata.io/api/1/sources?apikey=YOUR_API_KEY&country=au
This will fetch the news sources from the specific country, Australia here, only.

- If you want to fetch news sources from India, the request parameter will be such that country=in, where ‘in’ means India.
https://newsdata.io/api/1/sources?apikey=YOUR_API_KEY&country=in
This will fetch the news sources from the specific country, India here, only.

3. Category
You can search the news sources for a specific category using this parameter. You can check the documentation for all the category codes.
Given below are some examples for better understanding.
- If you want to fetch sources related to the politics category only, the request parameter will be such that ‘category=politics‘.
https://newsdata.io/api/1/sources?apikey=YOUR_API_KEY&category=politics
This query will fetch only those sources which are related to the politics category.

- If you want to fetch sources related to the top category only, the request parameter will be such that ‘category=top‘.
https://newsdata.io/api/1/sources?apikey=YOUR_API_KEY&category=top
This query will fetch only those sources which are related to the top category.

NewsData.io provides 17 different categories such as business, crime, domestic, education, entertainment, environment, food, health, lifestyle, other, politics, science, sports, technology, top, tourism, and world. Through these categories you can filter your news.
4. Priority Domain
You can search the news sources from a specific rank using this parameter. The ‘prioritydomain’ parameter is further divided into 3 categories:
- Top: Fetches 100 news sources ranking within the top 10% of all the sources available.
If you want to fetch top news sources only, the request parameter will be such that ‘prioritydomain=top’.https://newsdata.io/api/1/sources?apikey=YOUR_API_KEY&prioritydomain=top
This query will fetch only those news sources which rank within the top 10%.
- Top: Fetches 100 news sources ranking within the top 10% of all the sources available.

- Medium: Fetches 100 news sources ranking within the top 30% of all the sources available.
If you want to fetch articles from medium news sources only, the request parameter will be such that ‘prioritydomain=medium’.https://newsdata.io/api/1/sources?apikey=YOUR_API_KEY&prioritydomain=medium
This query will fetch only those news sources which rank within the top 30%.
- Medium: Fetches 100 news sources ranking within the top 30% of all the sources available.

- Low: Fetches 100 news sources ranking within the top 50% of all the sources available.
If you want to fetch low news sources only, the request parameter will be such that ‘prioritydomain=low’.https://newsdata.io/api/1/sources?apikey=YOUR_API_KEY&prioritydomain=low
This query will fetch only those news sources which rank within the top 50%.

These were the request parameters you can use while fetching data using news ‘sources‘ endpoint.
Aditi Chaudhary is an enthusiastic content writer at Newsdata.io, where she covers topics related to real-time news, News APIs, data-driven journalism, and emerging trends in media and technology. Aditi is passionate about storytelling, research, and creating content that informs and inspires. As a student of Journalism and Mass Communication with a strong interest in the evolving landscape of digital media, she aims to merge her creativity with credibility to expand her knowledge and bring innovation into every piece she creates.