Back to Registry
View Author Profile
Official Verified
Finloop News Skills
Skill by czzlegend
skill-install — Terminal
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/czzlegend/finloop-news-skillsOr
请为我安装如下skill
name:
finloop_news (Finloop资讯skill)
description:
本 Skill 基于 Finloop 权威数据源,提供金融资讯检索与实时行情查询能力。支持市场时段资讯、分类资讯查询、AI热闻追踪、实时股票行情等功能,用于获取涉及时效性信息或特定事件信息的任务,包括新闻、公告、研报、政策、市场动态、股票行情等。避免AI在搜索金融场景信息时,参考到非权威、及过时的信息。
安装方式
通过 npm/npx 安装(推荐)
# 安装到本地项目
npx finloop-news-skills install finloop-news-skill
name: Finloop 资讯API调用技能 description: 当需要调用Finloop资讯相关接口时,请参考此规范。包括市场时段资讯、资讯列表、AI热闻、股票行情等接口。
指令
- 必须直接使用 HTTP 请求调用接口:使用 fetch、axios、curl 或其他 HTTP 客户端直接调用接口,禁止创建任何封装函数或 JS 文件
- 禁止创建封装函数:不要创建任何
.js、.ts文件来封装接口调用,必须直接使用 HTTP 请求 - 接口基础域名:
- 资讯相关接口:
https://ai-uat.finloopfintech.com - 股票行情接口:
https://papi-uat.finloopg.com
- 资讯相关接口:
- 请求头:
Content-Type: application/json - 响应格式:接口返回的数据结构为
{ code: 200, data: {...} },需要从响应中提取data字段 - 错误处理:需要检查响应状态码和错误信息,进行适当的错误处理
接口列表
1. 市场时段资讯接口
接口信息:
- 接口地址:
/flp-news-api/v1/news-agent/financeBreakfast - 请求方法:POST
- 完整路径:
https://ai-uat.finloopfintech.com/flp-news-api/v1/news-agent/financeBreakfast
参数:
- 此接口为 POST 请求,请求体参数根据实际业务需求确定
时间逻辑说明:
- 此接口会根据当前时间自动返回不同类型的内容:
- 财经早餐:通常在早晨时段返回(
tag: 1) - 港股午盘:通常在中午时段返回(
tag: 3) - 港股收盘:通常在收盘时段返回(
tag: 2,也称为"收盘汇")
- 财经早餐:通常在早晨时段返回(
- 接口会根据服务器当前时间自动判断应该返回哪种类型的内容
- 无需在请求中指定时间或类型,接口会自动返回对应时段的内容
响应参数:
title: 标题(string)- 根据时间返回"财经早餐"、"港股午盘"或"港股收盘"等keyword: 关键词(Array)- 例如:["加密货币", "产业趋势"]publish_time: 发布时间(string)summary: 摘要(string)newsCount: 过去一天资讯数量(number)sentiment: 市场情绪(string)- 枚举值title_original: 原始title(string)tag: 类型标识(int)1: 财经早餐2: 港股收盘(收盘汇)3: 港股午盘
使用说明:
- 此接口用于获取首页市场时段资讯(财经早餐、港股午盘或港股收盘)
- 接口会根据当前时间自动返回对应时段的内容,无需指定时间参数
- 返回数据包含关键词、摘要、市场情绪等综合信息
2. 资讯列表接口
接口信息:
- 接口地址:
/flp-news-api/v1/news-agent/informationList - 请求方法:POST
- 完整路径示例:
https://ai-uat.finloopfintech.com/flp-news-api/v1/news-agent/informationList
请求参数:
- 必填参数:
category: 新闻分类(string),可选值:"discover","subscribe","ai","rwa","macro","industry","market","company","viewpoint","fund","bond","bill","stock"page_size: 每页加载条数(number,注意:参数名使用下划线page_size,不是驼峰pageSize)
- 可选参数:
keyword: 关键词检索(string)news_id: 分页游标,最后一条新闻的ID(用于分页加载)user_id: 用户ID(string,订阅分类时必填)
请求说明:
- 基础调用:POST 请求,请求体包含
category和page_size - 带分页:在请求体中添加
news_id参数 - 带搜索关键词:在请求体中添加
keyword参数
响应参数:
information_list: 资讯列表数组(注意:字段名使用下划线)total: 总条数(number)- 例如:120hasMore: 是否存在更多新闻(Boolean)
informationList 子参数: 每个资讯对象包含:
newId: 资讯ID(string)- 例如:"AICL000001"tags: 资讯标签(Array)- 例如:["AI 热闻"]title: 资讯标题(string)summary: 资讯摘要(string)imgUrl: 资讯封面图(string)publishTime: 发布时间(string)wordCount: 正文字数(number)readTime: 预计阅读时间(分钟)(number)influence: 影响力(string)- 枚举值influenceScore: 影响力得分(string)- 枚举值marketTrends: 市场趋势列表(...
Metadata
AI Skill Finder
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 skill Add to Configuration
Paste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-czzlegend-finloop-news-skills": {
"enabled": true,
"auto_update": true
}
}
}Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.