Fetch NewsAPI
Type:
fetch_newsapi• Category:flow• Tags:news,data,eventregistry
Description
Fetch news articles from EventRegistry NewsAPI with advanced filtering by categories, sources, and date ranges. Provides comprehensive news data from major financial publications.
Parameters
| Name | Type | Description | Required | Default |
|---|---|---|---|---|
apiKey | string | EventRegistry API key | no | |
categories | array | Category URIs | no | ["dmoz/Business/Investing/Stocks_and_Bonds","dmoz/Society/Government/Finance"] |
sources | array | Source URIs | no | ["finance.yahoo.com","investing.com","reuters.com","marketwatch.com","foxbusiness.com","bloomberg.com","cnbc.com","nytimes.com"] |
lang | string | Language code | no | "eng" |
dateFrom | date | Start ISO datetime | no | |
dateTo | date | End ISO datetime | no | |
limit | number | Max articles (1-500) | no | 100 |
Help
Fetch NewsAPI retrieves news articles from EventRegistry's comprehensive news database.
Use {{ ... }} in parameters to pull from workflow vars/data.
How It Works:
- Connects to EventRegistry NewsAPI using your API key.
- Filters articles by categories (business/finance topics) and trusted news sources.
- Supports date range filtering and language selection.
- Returns structured article data with titles, content, dates, and sources.
Getting an API Key:
- Visit https://eventregistry.org/ and create a free account.
- Generate an API key in your dashboard.
- Set the key in your environment as EVENT_REGISTRY_API_KEY or pass it in apiKey parameter.
Parameters Guide:
apiKey: Your EventRegistry API key (can also use EVENT_REGISTRY_API_KEY env var).categories: Array of category URIs. Default includes business/investing/finance topics. Examples: "dmoz/Business/Investing/Stocks_and_Bonds", "dmoz/Society/Government/Finance"sources: Array of news source URIs. Default includes major financial publications. Examples: "finance.yahoo.com", "bloomberg.com", "reuters.com", "cnbc.com"lang: Language code (default: 'eng' for English).dateFrom/dateTo: ISO date range to filter articles (YYYY-MM-DD format).limit: Maximum articles to return (1-500, default 100).
Usage Examples:
- Basic financial news: Use default categories and sources
- Specific date range: dateFrom="2025-11-01", dateTo="2025-11-15"
- Custom sources: sources=["bloomberg.com", "wsj.com"]
- From workflow: apiKey={{vars.api_key}}, limit={{vars.article_count}}
Understanding Results:
title: Article headlinebody: Full article textdate: Publication timestampsource: News source nameurl: Direct link to article
Tips for Best Results:
- Use specific category URIs for targeted results
- Combine with date filtering for time-sensitive analysis
- Higher limits may take longer to process
- Check EventRegistry documentation for available categories and sources
Rate Limits & Quotas:
- Free tier: Limited requests per day
- Paid plans: Higher limits and premium features
- Monitor your usage in EventRegistry dashboard
For support, visit https://eventregistry.org/support or check their API documentation.