The World News API gives you access to thousands of news sources in over 50 languages from over 150 countries.
Go to siteThe World News API provides access to news articles from around the world in real-time. With it, you can fetch the latest news by category, country, language, and keyword. In Pipedream, this powerful API integrates into workflows, allowing you to automate actions based on current events, monitor specific topics, and even enrich your applications with timely content.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
world_news_api: {
type: "app",
app: "world_news_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.worldnewsapi.com/search-news`,
params: {
"api-key": `${this.world_news_api.$auth.api_key}`,
text: `{your_text}`,
},
})
},
})
News Alert System: Trigger a workflow on Pipedream with new articles matching specific keywords. Use this to send alerts through email, SMS, or chat applications like Slack whenever news emerges on your topics of interest.
Content Aggregator: Collect and aggregate news from various countries and categories, then store them in a Pipedream data store. Periodically, you could run a workflow that pushes this aggregated content to a web service or a CMS like WordPress.
Sentiment Analysis: Conduct sentiment analysis on news headlines or content fetched by the World News API. Connect to a sentiment analysis service like MonkeyLearn within a Pipedream workflow to gauge public sentiment on the latest news stories.
Emit new event whenever recent news are published. Calling this endpoint requires 1 point per page, up to 1000 news. See the docs here
Extract a news article from a website to a well structure JSON object. See the docs here. Calling this endpoint requires 1 point, plus 2 points if analyze is true.
Retrieve the latitude and longitude of a location name. See the docs here. Calling this endpoint requires 1 point.
Search and filter news. See the docs here. Calling this endpoint requires 1 point
World News API uses API keys for authentication. When you connect your World News API account, Pipedream securely stores the keys so you can easily authenticate to World News API APIs in both code and no-code steps.
To retrieve your API Key,