newsapi-search
Search news articles via NewsAPI with filtering by time windows, sources, domains, and languages.
Why use this skill?
Integrate real-time news aggregation into OpenClaw with the newsapi-search skill. Filter by source, domain, and time for smarter intelligence.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/dexiaong/newsapi-searchezzWhat This Skill Does
The newsapi-search skill provides a powerful interface for the OpenClaw AI agent to interface with NewsAPI, a massive index of over 5,000 global news sources. It allows users to perform both broad, historical searches across the web and targeted queries for breaking headlines. Whether you are conducting competitive intelligence, aggregating specific industry news, or monitoring global events, this skill enables programmatic access to reliable data sources without manual browsing. It supports advanced filtering by language, time windows, specific domains, and source-level authority.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/dexiaong/newsapi-searchezz
After installation, you must configure your API key to authenticate with NewsAPI. Create or edit the ~/.openclaw/.env file and append the following line with your key obtained from https://newsapi.org:
NEWSAPI_KEY=your_api_key
Use Cases
- Market Research: Automatically track daily shifts in stock market news or industry trends by pulling headlines from major financial publications.
- Content Curation: Filter out low-quality noise by excluding specific domains and limiting results to verified news sources for daily briefing generation.
- Automated Monitoring: Use the time window filters to set up recurring cron-based tasks that summarize news from the last 24 hours regarding a specific subject or company.
- Sentiment Analysis: Gather large datasets of recent news articles for natural language processing tasks to determine public sentiment on current events.
Example Prompts
- "Find me the most relevant news articles about the progress of fusion energy from the last 7 days, but exclude results from tech blogs."
- "Show me the top business headlines for the United States today and summarize the main economic themes."
- "Search for all news mentions of 'OpenAI' from verified tech domains like bbc.co.uk and nytimes.com within the last 48 hours."
Tips & Limitations
- Rate Limits: The free tier of NewsAPI is limited to 100 requests per day. Ensure your scripts or agent prompts are optimized to avoid hitting this cap during automated tasks.
- Endpoint Restrictions: Be mindful that in 'Top Headlines' mode, you cannot combine
--countryor--categorywith--sourcesdue to API constraints. - Query Complexity: Use the advanced query syntax (AND/OR, grouping) to refine your results efficiently and reduce the need for multiple API calls. Always prefer using specific domains if you are looking for high-quality, trustworthy information.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-dexiaong-newsapi-searchezz": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: external-api, network-access
Related Skills
omnicog
Universal service integration for OpenClaw — connect Reddit, Steam, Spotify, GitHub, Discord, and more with a single API.
lulu-monitor
AI-powered LuLu Firewall companion for macOS. Monitors firewall alerts, analyzes connections with AI, sends Telegram notifications with Allow/Block buttons. Use when setting up LuLu integration, handling firewall callbacks, or troubleshooting LuLu Monitor issues.
gmail-client-PM
Read and send emails via Gmail. Use to list unread messages, read specific emails by ID, or send new emails.
parallel-task-executor
多任务并行执行管理器。接收多条指令并同步执行,支持优先级调度、任务依赖、结果收集和进度跟踪。适用于需要并发处理多个独立任务的场景。
chaterimo
AI Customer Service for Shopify & E-commerce - Query conversations, analyze chatbot performance, and manage your Chaterimo AI assistant