The Guardian is a British daily newspaper known for its investigative journalism, covering world news, politics, culture, science, and the environment.
With the World News API you can programmatically access news articles from The Guardian (theguardian.com). On average, over 200 articles per day are indexed from this source.
The source is based in United Kingdom and publishes primarily in the language code en. For every API endpoint that supports the news-sources parameter, use https://www.theguardian.com to retrieve news exclusively from The Guardian.
Historically, you can search news from The Guardian starting January 1st, 2022.
Here are some examples showing how to search news, filter by category, and retrieve specific articles from The Guardian. Be sure to check out the in-depth documentation as each API offers many different parameters to explore.
news-sources=https://www.theguardian.com news-sources=https://www.theguardian.com text=technology news-sources=https://www.theguardian.com categories=politics news-sources=https://www.theguardian.com Each article in the response includes a sentiment score ranging from -1 (very negative) to 1 (very positive), enabling sentiment analysis of The Guardian's coverage.
Use the Search News endpoint with the parameter news-sources=https://www.theguardian.com. This returns only articles published by The Guardian. You can further filter by keyword, category, date range, and more.
World News API indexes over 200 articles per day from The Guardian. Coverage includes all major sections and categories published on theguardian.com.
Yes, World News API stores articles from The Guardian starting from January 1st, 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 The Guardian 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 The Guardian news data. 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? Select from the list below or browse all media outlets.