← 返回 Skills 市场
semithin

币界网API

作者 CoinMeta · GitHub ↗ · v1.0.0 · MIT-0
darwinlinuxwin32 ✓ 安全检测通过
137
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install coinmeta-api
功能描述
查询加密货币快讯。触发场景:查询币圈快讯、获取加密货币新闻、crypto news、币圈资讯。
使用说明 (SKILL.md)

CoinMeta API

查询加密货币快讯数据。

Base URL: https://api.coinmeta.com Auth: Header X-Api-Key: $COINMETA_API_KEY Response format: {"code": 200, "data": [...], "msg": "success"} — code 200 = success


快讯列表

Endpoint: POST https://api.coinmeta.com/open/v1/newsflash/list

curl示例:

curl -s -X POST -H "Accept:*/*" \
  -H "X-Api-Key: ${COINMETA_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{"page":1,"size":10}' \
  "https://api.coinmeta.com/open/v1/newsflash/list"

请求参数:

参数 类型 说明
page int 页码,默认1
size int 每页数量,默认10

响应字段:

字段 类型 说明
id int 快讯ID
views int 浏览量
title string 标题
content string 内容(HTML)
createdAt int 创建时间戳

关键词搜索

Endpoint: POST https://www.coinmeta.com/open/v1/newsflash/search

curl -s -X POST -H "Accept:*/*" \
  -H "X-Api-Key: ${COINMETA_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{"page":1,"size":10,"keyword":"btc"}' \
  "https://www.coinmeta.com/open/v1/newsflash/search"

请求参数:

参数 类型 说明
page int 页码,默认1
size int 每页数量,默认10
keyword string 搜索关键词,必填

输出格式:

📰 加密货币快讯 · 第[N]页

1. [标题]
   浏览: [views] · [时间]
   [摘要...]

2. [标题]
   浏览: [views] · [时间]
   [摘要...]
...

解析规则:

  • createdAt 是Unix时间戳,转换为可读时间
  • content 包含HTML标签,需去除标签显示纯文本

Error Handling

code msg 说明
401 Missing API key API key未设置,请设置COINMETA_API_KEY环境变量
401 Invalid API key API key无效,请检查是否正确
422 参数错误 请求参数有误,检查page/size等参数
!= 200 其他 请求失败,显示msg内容
network error - 提示重试
安全使用建议
This skill appears coherent: it only needs curl and COINMETA_API_KEY to call CoinMeta endpoints for crypto news. Before installing, verify you trust coinmeta.com (and confirm whether the API host should be api.coinmeta.com vs www.coinmeta.com). Provide only a dedicated API key with minimal privileges you can revoke if needed. Remember the key will be sent to the remote service in a request header, so don't reuse a high-privilege secret. If you have doubts about the provider, ask for official API docs or use a throwaway/test key first.
功能分析
Type: OpenClaw Skill Name: coinmeta-api Version: 1.0.0 The skill bundle provides a standard interface for querying cryptocurrency news from the CoinMeta API. It uses curl to interact with legitimate-looking endpoints (api.coinmeta.com and www.coinmeta.com) and requires a specific API key (COINMETA_API_KEY) as documented in SKILL.md. No malicious patterns, data exfiltration, or prompt injection attempts were identified.
能力评估
Purpose & Capability
Name/description (crypto news) align with required pieces: curl and a single API key (COINMETA_API_KEY). One minor inconsistency: SKILL.md lists base URL as https://api.coinmeta.com but the search endpoint uses https://www.coinmeta.com; this could be a harmless hostname variant but is worth a quick check.
Instruction Scope
SKILL.md only instructs making POST requests to the listed endpoints, sending X-Api-Key header, converting timestamps and stripping HTML — all within the expected scope for a news API integration. It does not ask to read unrelated files, other env vars, or transmit data to unexpected endpoints (aside from the API hosts).
Install Mechanism
Instruction-only skill with no install spec and only a dependency on curl. No downloads or archives are written to disk.
Credentials
Only one secret (COINMETA_API_KEY) is required and is the declared primary credential, which is proportional for an authenticated API. Reminder: the agent will send that key in an HTTP header to the coinmeta hosts — ensure you trust that service before providing the key.
Persistence & Privilege
always is false and there is no request to modify other skills or system config. The skill does not request persistent or elevated privileges.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install coinmeta-api
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /coinmeta-api 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release with core features for querying crypto news updates. - Supports fetching lists of crypto news (快讯) via CoinMeta API. - Enables keyword-based newsflash search. - Includes clear API authentication via X-Api-Key header. - Provides detailed parameters and response field documentation. - Handles common error codes and gives relevant feedback for API and network issues.
元数据
Slug coinmeta-api
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

币界网API 是什么?

查询加密货币快讯。触发场景:查询币圈快讯、获取加密货币新闻、crypto news、币圈资讯。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 137 次。

如何安装 币界网API?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install coinmeta-api」即可一键安装,无需额外配置。

币界网API 是免费的吗?

是的,币界网API 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

币界网API 支持哪些平台?

币界网API 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(darwin, linux, win32)。

谁开发了 币界网API?

由 CoinMeta(@semithin)开发并维护,当前版本 v1.0.0。

💬 留言讨论