币界网API

v1.0.0

查询加密货币快讯。触发场景:查询币圈快讯、获取加密货币新闻、crypto news、币圈资讯。

0· 59·0 current·0 all-time
byCoinMeta@semithin
MIT-0
Download zip
LicenseMIT-0 · Free to use, modify, and redistribute. No attribution required.
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
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.
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.

latestvk97ab348917gw9d86b1yf61v9n83q6hv

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"

请求参数:

参数类型说明
pageint页码,默认1
sizeint每页数量,默认10

响应字段:

字段类型说明
idint快讯ID
viewsint浏览量
titlestring标题
contentstring内容(HTML)
createdAtint创建时间戳

关键词搜索

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"

请求参数:

参数类型说明
pageint页码,默认1
sizeint每页数量,默认10
keywordstring搜索关键词,必填

输出格式:

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

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

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

解析规则:

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

Error Handling

codemsg说明
401Missing API keyAPI key未设置,请设置COINMETA_API_KEY环境变量
401Invalid API keyAPI key无效,请检查是否正确
422参数错误请求参数有误,检查page/size等参数
!= 200其他请求失败,显示msg内容
network error-提示重试

Files

1 total
Select a file
Select a file to preview.

Comments

Loading comments…