币界网API
v1.0.0查询加密货币快讯。触发场景:查询币圈快讯、获取加密货币新闻、crypto news、币圈资讯。
MIT-0
Security Scan
OpenClaw
Benign
high confidencePurpose & 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.
Assessment
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.Like a lobster shell, security has layers — review code before you run it.
latest
License
MIT-0
Free to use, modify, and redistribute. No attribution required.
Runtime requirements
📰 Clawdis
OSmacOS · Linux · Windows
Binscurl
EnvCOINMETA_API_KEY
Primary envCOINMETA_API_KEY
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 | - | 提示重试 |
Files
1 totalSelect a file
Select a file to preview.
Comments
Loading comments…
