Search latest news from Al Jazeera
GET https://api.worldnewsapi.com/search-news?news-sources=https://www.aljazeera.com See the full documentation of how to search news.
Media outlet · Qatar
World News API is an Al Jazeera API: it indexes over 150 Al Jazeera articles a day from aljazeera.com and returns them as JSON, searchable back to January 1, 2022, by keyword, category, date and sentiment, or as an Al Jazeera RSS feed. With the World News API you can programmatically access news articles from Al Jazeera.
Al Jazeera is a Doha-based international news organization providing independent coverage of the Middle East, world affairs, and underreported stories.
The source is based in Qatar and publishes primarily in the language code en. For every API endpoint that supports the news-sources parameter, use https://www.aljazeera.com to retrieve news exclusively from Al Jazeera. Historically, you can search news from Al Jazeera starting January 1, 2022.
{
"news": [{
"title": "...",
"url": "https://www.aljazeera.com/...",
"language": "en",
"source_country": "qa",
"sentiment": -1 to 1
}]
} news-sourceshttps://www.aljazeera.comenAPI examples
Here are some examples showing how to search news, filter by category, and retrieve specific articles from Al Jazeera. Be sure to check out the in-depth documentation, as each API offers many different parameters to explore.
GET https://api.worldnewsapi.com/search-news?news-sources=https://www.aljazeera.com See the full documentation of how to search news.
GET https://api.worldnewsapi.com/search-news?news-sources=https://www.aljazeera.com&text=technology See the full documentation of how to search news by keyword.
GET https://api.worldnewsapi.com/search-news?news-sources=https://www.aljazeera.com&categories=politics See the full documentation of how to search news by category.
GET https://api.worldnewsapi.com/search-news?news-sources=https://www.aljazeera.com Each article in the response includes a sentiment score ranging from -1 (very negative) to 1 (very positive), enabling sentiment analysis of the coverage of Al Jazeera.
See the full documentation of how to search news.
Ten Al Jazeera articles about technology, each printed with its publish date, sentiment score and title.
news-sourceshttps://www.aljazeera.comtexttechnologynumber10 articles per requestimport requests response = requests.get( "https://api.worldnewsapi.com/search-news", params={"news-sources": "https://www.aljazeera.com", "text": "technology", "number": 10}, headers={"x-api-key": "YOUR_API_KEY"}, ) for article in response.json()["news"]: print(article["publish_date"], article["sentiment"], article["title"])
RSS feed
The Website to RSS Feed endpoint gives you an RSS feed of Al Jazeera, optionally with the full text of each article: point it at https://www.aljazeera.com and it returns the latest news from that page as a standard RSS 2.0 feed that any RSS reader can subscribe to. World News API builds the feed from the public pages of aljazeera.com; it is not an official feed of Al Jazeera.
urlRequired. The url of the site for which an RSS feed should be created.extract-newsOptional. Whether to extract the news for each link instead of just returning the link.api-keyRequired. Your API key.Costs 1 point per call, plus 0.5 points per item when extract-news=true.
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:atom="http://www.w3.org/2005/Atom"> <channel> <title>...</title> <link>https://www.aljazeera.com</link> <lastBuildDate>...</lastBuildDate> <item> <title>...</title> <link>https://www.aljazeera.com/...</link> <guid isPermaLink="true">...</guid> </item> ... </channel> </rss>
Put this URL, with your own API key, into any RSS reader. Each call costs 1 point, so a reader that checks the feed once an hour uses 24 of the free plan's 50 daily points.
Keep the feed URL private: it contains your API key, and anyone who has it can use up your points and, on a paid plan, run up overage charges. Use a self-hosted reader or a desktop reader without a cloud sync account: a cloud reader, or a desktop app that syncs through one, stores the URL, key included, on its servers. A reader that can send request headers can pass the key as x-api-key instead (see Authentication), which keeps it out of the URL; a cloud reader still stores it on its servers. If a feed URL leaks, use Generate New API Key in your console. The old key then stops working in every app that uses it, so put the new key into each of them.
With extract-news=true the API extracts the article behind each link, for 0.5 points per item on top of the 1 point per call. See the Website to RSS Feed documentation for all parameters and an example feed.
No. World News API indexes the public articles of Al Jazeera and is not affiliated with Al Jazeera.
Subscribe to https://api.worldnewsapi.com/feed.rss?url=https://www.aljazeera.com&api-key=YOUR_API_KEY in any RSS reader, with your own API key, and keep that URL private because it contains your key. World News API builds the feed from aljazeera.com; it is not an official feed of Al Jazeera. Add extract-news=true to get the article behind each link; a call costs 1 point, plus 0.5 points per item with extract-news. See the RSS feed section.
Use the Search News endpoint with the parameter news-sources=https://www.aljazeera.com. This returns only articles published by Al Jazeera. You can further filter by keyword, category, date range, and more.
World News API indexes over 150 articles per day from Al Jazeera. Coverage includes all major sections and categories published on aljazeera.com.
Yes, World News API stores articles from Al Jazeera starting from January 1, 2022. Use the earliest-publish-date and latest-publish-date parameters in the Search News endpoint to query historical articles.
Yes, the news-sources parameter accepts a comma-separated list of source URLs. For example, you can retrieve news from Al Jazeera and other outlets in a single request.
Yes. World News API offers a free plan with 50 daily API points, enough to start building and testing with news data from Al Jazeera. Sign up for a free API key to get started. Paid plans start at $39/month for higher volume needs.
Looking for a different news source? Browse all media outlets, news sources by country, or check whether a site is covered with Search News Sources.
Create a free key, add news-sources=https://www.aljazeera.com to your request and read the results as JSON.