← Back to Skills Marketplace
semithin

币界网API

by CoinMeta · GitHub ↗ · v1.0.0 · MIT-0
darwinlinuxwin32 ✓ Security Clean
137
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install coinmeta-api
Description
查询加密货币快讯。触发场景:查询币圈快讯、获取加密货币新闻、crypto news、币圈资讯。
README (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 - 提示重试
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install coinmeta-api
  3. After installation, invoke the skill by name or use /coinmeta-api
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug coinmeta-api
Version 1.0.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is 币界网API?

查询加密货币快讯。触发场景:查询币圈快讯、获取加密货币新闻、crypto news、币圈资讯。 It is an AI Agent Skill for Claude Code / OpenClaw, with 137 downloads so far.

How do I install 币界网API?

Run "/install coinmeta-api" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is 币界网API free?

Yes, 币界网API is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does 币界网API support?

币界网API is cross-platform and runs anywhere OpenClaw / Claude Code is available (darwin, linux, win32).

Who created 币界网API?

It is built and maintained by CoinMeta (@semithin); the current version is v1.0.0.

💬 Comments