newsapi-search
Search news articles via NewsAPI with filtering by time windows, sources, domains, and languages.
Why use this skill?
Integrate real-time news and archival search into your OpenClaw agents. Filter by source, domain, country, and time for precision data gathering.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/dexiaong/newsapi-searcheWhat This Skill Does
The newsapi-search skill provides a powerful interface for OpenClaw agents to query, filter, and retrieve news data from over 5,000 global sources. By integrating with the NewsAPI infrastructure, this skill allows users to perform both broad, deep-archival searches for articles across specific domains and timeframes, as well as rapid lookups for breaking headlines. Whether you need to track trending technology topics, gather market intelligence from specific financial outlets, or monitor breaking global events by category and country, this tool offers a programmatic, high-precision solution for information retrieval.
Installation
To integrate this skill into your OpenClaw environment, execute the following command in your terminal:
clawhub install openclaw/skills/skills/dexiaong/newsapi-searche
After installation, you must configure your API credentials to enable data access. Navigate to your configuration directory and add your key to the ~/.openclaw/.env file:
NEWSAPI_KEY=your_api_key_here
You can acquire a free tier API key (providing 100 requests per day) at https://newsapi.org.
Use Cases
This skill is indispensable for professionals and researchers who need automated news curation. Use it to:
- Market Research: Monitor specific industries by querying niche domains or tracking relevant keywords over custom date ranges.
- Content Curation: Aggregate high-quality news content for newsletters or briefing reports by filtering out low-quality domains.
- Situational Awareness: Set up automated agent tasks that pull daily top-headlines for specific regions or categories to keep stakeholders informed.
- Sentiment Analysis: Fetch large datasets of articles regarding a specific company or policy to perform subsequent data analysis with other agent skills.
Example Prompts
- "Find the top 5 trending headlines in technology for the United States today and summarize the main focus."
- "Search for articles about sustainable energy published in the last 7 days from bbc-news and reuters only, excluding any editorial opinion pieces."
- "List all available news sources that cover business in Canada and then pull the latest headlines from those sources."
Tips & Limitations
- Rate Limiting: The free NewsAPI tier is limited to 100 requests per day. Monitor your agent frequency to avoid service interruptions.
- Filtering: Use the
excludeflag to strip out unreliable domains; this significantly increases the signal-to-noise ratio of your search results. - Query Complexity: Leverage advanced syntax like parentheses and boolean operators (AND/OR) to refine large result sets.
- Headline Restrictions: Remember that you cannot combine specific sources with country or category filters when using the
--headlinesmode; the API requires these to be separate requests.
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-searche": {
"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.
chaterimo
AI Customer Service for Shopify & E-commerce - Query conversations, analyze chatbot performance, and manage your Chaterimo AI assistant
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.
arb-injection
BYOCB ArbInjectionSkill: Scan EVM smart contracts for arbitrary call injection vulnerabilities. Monitor chains in real-time or scan specific addresses.