Install
openclaw skills install @pavanxs/sonarbay-newsSearch and analyze global news using SonarBay News Intelligence. Provides real-time access to 7 days of worldwide news coverage via CLI or REST API. Use when the user needs news search, trending entities, mention counts over time, or any news-related data analysis.
openclaw skills install @pavanxs/sonarbay-newsReal-time access to 7 days of global news, updated every 15 minutes. ~100K+ articles from thousands of sources worldwide.
The primary way to access SonarBay.
# Mac/Linux
curl -fsSL https://sonarbay.com/install.sh | sh
# Windows (PowerShell)
irm https://sonarbay.com/install.ps1 | iex
sonarbay search "AI regulation"
sonarbay search "climate change" -n 20 -s newest
sonarbay search "Tesla" --country US --source reuters.com
| Flag | Description |
|---|---|
-n <num> | Results per page (default: 10) |
-p <num> | Page number (default: 1) |
-s <sort> | relevance (default), newest, oldest |
--country <code> | Filter by country code (e.g. US, IN, DE) |
--source <domain> | Filter by source domain |
--json | Raw JSON output for piping |
sonarbay trending
sonarbay trending -t organizations -w 48h -n 10
| Flag | Description |
|---|---|
-t <type> | persons (default), organizations, countries, source |
-w <window> | Time window: 1h, 6h, 12h, 24h (default), 48h, 7d |
-n <num> | Number of results (default: 20) |
sonarbay counts "bitcoin" -i 1h -w 72
| Flag | Description |
|---|---|
-i <interval> | Bucket size: 15m, 1h (default), 6h, 1d |
-w <hours> | Lookback window in hours (default: 24) |
sonarbay status # Health check
sonarbay update # Self-update to latest version
sonarbay --version # Show version
Every command supports --json for scripting and piping:
sonarbay search "OpenAI" --json | jq '.results[].title'
sonarbay trending --json | jq '.trending[:5]'
sonarbay counts "inflation" --json | jq '.buckets[] | select(.count > 100)'
sonarbay counts "topic" -w 72 to see the trendsonarbay search "topic" -s newest to find what triggered a spikesonarbay trending -t persons or -t organizations--source filtersIf the CLI is not available, use the REST API directly.
Base URL: https://sonarbay.com
| Endpoint | Description |
|---|---|
GET /v1/search?q=<query>&per_page=10&sort=relevance | Search articles |
GET /v1/trending?type=persons&hours=24&limit=20 | Trending entities |
GET /v1/counts?q=<query>&interval=1h&hours=24 | Time-series counts |
GET /v1/article/<id> | Single article by ID |
GET /v1/status | Health check |
All endpoints return JSON. No authentication required.