📦 Opennews — 技能工具

v0.1.0

[自动翻译] Crypto news search, AI ratings, trading signals, and real-time updates via the OpenNews 6551 API. Supports keyword search, coin filtering, source filt...

0· 391·1 当前·1 累计
by @infra403·MIT-0
下载技能包
License
MIT-0
最后更新
2026/2/26
0
安全扫描
VirusTotal
无害
查看报告
OpenClaw
安全
medium confidence
The skill is coherent with its stated purpose (querying the OpenNews 6551 API) and only requests a single API token and curl; minor metadata inconsistencies exist but there is no evidence of malicious behavior.
安全有层次,运行前请审查代码。

License

MIT-0

可自由使用、修改和再分发,无需署名。

运行时依赖

无特殊依赖

版本

latestv0.1.02026/2/26

Initial release of OpenNews crypto news skill. - Search and filter crypto news by keyword, coin, source, and category via the OpenNews 6551 API. - View AI-powered article ratings, trading signals, and summaries. - Supports real-time news feeds over WebSocket. - Requires an API token (`OPENNEWS_TOKEN`) for authentication. - Includes common workflows and cURL examples for market overviews and high-impact news filtering.

无害

安装命令

点击复制
官方npx clawhub@latest install opennews-2
🇨🇳 镜像加速npx clawhub@latest install opennews-2 --registry https://cn.longxiaskill.com

技能文档

Query crypto news from the 6551 platform REST API. All endpoints require a Bearer token via $OPENNEWS_TOKEN.

Get your token: https://6551.io/mcp

Base URL: https://ai.6551.io

Authentication

All requests require the header:

Authorization: Bearer $OPENNEWS_TOKEN

News Operations

1. Get News Sources

Fetch all available news source categories organized by engine type.

curl -s -H "Authorization: Bearer $OPENNEWS_TOKEN" \
  "https://ai.6551.io/open/news_type"

Returns a tree with engine types (news, listing, onchain, meme, market) and their sub-categories.

2. Search News

POST /open/news_search is the primary search endpoint.

Get latest news:

curl -s -X POST "https://ai.6551.io/open/news_search" \
  -H "Authorization: Bearer $OPENNEWS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"limit": 10, "page": 1}'

Search by keyword:

curl -s -X POST "https://ai.6551.io/open/news_search" \
  -H "Authorization: Bearer $OPENNEWS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"q": "bitcoin ETF", "limit": 10, "page": 1}'

Search by coin symbol:

curl -s -X POST "https://ai.6551.io/open/news_search" \
  -H "Authorization: Bearer $OPENNEWS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"coins": ["BTC"], "limit": 10, "page": 1}'

Filter by engine type and news type:

curl -s -X POST "https://ai.6551.io/open/news_search" \
  -H "Authorization: Bearer $OPENNEWS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"engineTypes": {"news": ["Bloomberg", "Reuters"]}, "limit": 10, "page": 1}'

Only news with coins:

curl -s -X POST "https://ai.6551.io/open/news_search" \
  -H "Authorization: Bearer $OPENNEWS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"hasCoin": true, "limit": 10, "page": 1}'

News Search Parameters

ParameterTypeRequiredDescription
limitintegeryesMax results per page (1-100)
pageintegeryesPage number (1-based)
qstringnoFull-text keyword search
coinsstring[]noFilter by coin symbols (e.g. ["BTC","ETH"])
engineTypesmap[string][]stringnoFilter by engine and news types
hasCoinbooleannoOnly return news with associated coins

Data Structures

News Article

{
  "id": "unique-article-id",
  "text": "Article headline / content",
  "newsType": "Bloomberg",
  "engineType": "news",
  "link": "https://...",
  "coins": [{"symbol": "BTC", "market_type": "spot", "match": "title"}],
  "aiRating": {
    "score": 85,
    "grade": "A",
    "signal": "long",
    "status": "done",
    "summary": "Chinese summary",
    "enSummary": "English summary"
  },
  "ts": 1708473600000
}

Common Workflows

Quick Market Overview

curl -s -X POST "https://ai.6551.io/open/news_search" \
  -H "Authorization: Bearer $OPENNEWS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"limit": 10, "page": 1}' | jq '.data[] | {text, newsType, signal: .aiRating.signal}'

High-Impact News (score >= 80)

curl -s -X POST "https://ai.6551.io/open/news_search" \
  -H "Authorization: Bearer $OPENNEWS_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"limit": 50, "page": 1}' | jq '[.data[] | select(.aiRating.score >= 80)]'

Notes

  • Get your API token at https://6551.io/mcp
  • Rate limits apply; max 100 results per request
  • AI ratings may not be available on all articles (check status == "done")
数据来源:ClawHub ↗ · 中文优化:龙虾技能库