Loading...
Loading...
Compare original and translation side by side
$OPENNEWS_TOKENhttps://ai.6551.io$OPENNEWS_TOKENhttps://ai.6551.ioAuthorization: Bearer $OPENNEWS_TOKENAuthorization: Bearer $OPENNEWS_TOKENcurl -s -H "Authorization: Bearer $OPENNEWS_TOKEN" \
"https://ai.6551.io/open/news_type"newslistingonchainmememarketcurl -s -H "Authorization: Bearer $OPENNEWS_TOKEN" \
"https://ai.6551.io/open/news_type"newslistingonchainmememarketPOST /open/news_searchcurl -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}'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}'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}'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}'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}'POST /open/news_searchcurl -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}'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}'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}'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}'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}'| Parameter | Type | Required | Description |
|---|---|---|---|
| integer | yes | Max results per page (1-100) |
| integer | yes | Page number (1-based) |
| string | no | Full-text keyword search |
| string[] | no | Filter by coin symbols (e.g. |
| map[string][]string | no | Filter by engine and news types |
| boolean | no | Only return news with associated coins |
| 参数名称 | 类型 | 是否必填 | 描述 |
|---|---|---|---|
| integer | 是 | 每页最大结果数(1-100) |
| integer | 是 | 页码(从1开始) |
| string | 否 | 全文关键词搜索 |
| string[] | 否 | 按币种符号筛选(例如 |
| map[string][]string | 否 | 按引擎类型和新闻类型筛选 |
| boolean | 否 | 仅返回关联币种的新闻 |
{
"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
}{
"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
}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}'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}'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)]'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)]'status == "done"status == "done"