Learn how to verify the news sources covered by News API v3
/source
endpoint, including how to handle large numbers of sources efficiently.
Understand key parameters
/sources
endpoint, use at least one of the
following key parameters:lang
: The language(s) of the sources.countries
: The countries where the news publishers are located.predefined_sources
: Predefined top sources per country.source_name
: Text to search within source names. You can specify any word,
term, phrase, or outlet name.source_url
: The domain(s) of the news publication to search for. When
specifying this parameter, you can only use include_additional_info
as an
extra parameter.include_additional_info
: Set to true
to get extra details about each
source.from_rank
and to_rank
: Filter sources by their SEO rank.Construct a query and make an API request
Analyze the response
source_name
does not perform an exact match and returns all
sources that contain the specified term anywhere in their names.Check coverage for specific sources
source_url
parameter
for precise filtering:aiohttp
and asyncio
libraries for concurrent requests,
providing better performance and scalability.
NEWSCATCHER_API_KEY
in your environment before running the script.source_urls.csv
.uncovered_sources.csv
containing the URLs not covered by News API v3.uncovered_sources.csv
file to our support team. As News
API v3 is a flexible, corporate-level solution, we can manually add the sources
you need for your application.
read_sources_from_csv
function if your file has a different
structure.include_additional_info
parameter to get insights into source
reliability and output volume.source_name
for a broader search and the source_url
for more precise
results.