微算力 · API 导航与自营网关
API 接入 EN
未登录登录
🪙

专业级加密数据·零配置即查即用

Crypto Market Data Skill (No Key Required) · v1.0.1
金融投资 安全 S 级 榜单 #1 作者 liam8 公开目录收录
12k 下载 11 安装 32.9k 收藏 15 浏览

简介

免API密钥获取专业级加密货币实时价格、历史行情及全球市值数据,支持技术分析图表与机构持仓追踪

原始描述

No API KEY needed for free tier. Professional-grade cryptocurrency and stock market data integration for real-time prices, company profiles, and global analytics. Powered by Node.js with zero external dependencies.

通过你的 Agent 添加

点「快速安装」复制一段指令,粘给你正在用的 Agent(Claude Code、Codex、OpenClaw 等),它会自己完成安装。

或者手动安装

Claude Codeunzip -o skill.zip -d ~/.claude/skills/crypto-market-data-skill-no-key-required/
其它 Agent解压到它自己的 skills 目录,目录名用 crypto-market-data-skill-no-key-required

包里是 SKILL.md 加作者附带的文件,解压后目录名就是技能名。 技能申请的权限由作者决定,装之前请确认它能读什么、能执行什么。

中文使用说明 来自收录源

核心用法

Crypto Market Data Skill 是一套完整的加密货币市场数据获取工具,通过调用 igent.net 专业数据接口,为用户提供从实时行情到深度分析的完整数据链路。该 Skill 包含12个独立脚本,覆盖四大核心场景:实时价格查询(get_crypto_price.py)、市场趋势发现(get_trending_coins.py、get_top_coins.py)、资产深度研究(search_coins.py、get_coin_details.py)以及专业图表数据(get_coin_ohlc_chart.py、get_coin_historical_chart.py)。

使用时需特别注意采用 Coin ID(如bitcoin)而非交易代码(如BTC)进行查询,可通过search_coins.py快速检索确认。所有脚本均支持多币种批量查询和法币自定义(默认USD,支持JPY等),OHLC数据提供1天至365天多时间维度,自动匹配30分钟至4天不同粒度。认证机制完全自动化,系统通过api_client.py管理短期Session Token,用户无需手动配置API Key。

显著优点

极致轻量与安全:全Skill仅773行代码,零外部依赖,完全基于Python标准库(urllib、json、ssl等)实现,彻底消除供应链攻击风险。相比需安装pandas、requests等重依赖的金融数据工具,部署成本趋近于零。

企业级安全设计:网络层强制HTTPS加密(TLS 1.2+),Token自动轮转机制避免长期凭证泄露风险。代码审计显示无eval/exec/subprocess等危险函数,输入参数经过白名单校验(如企业持仓查询仅限bitcoin/ethereum)。

开箱即用的专业数据:直接输出结构化JSON,涵盖CoinGecko级别完整字段——从实时价格、市值、24h成交量到开发者活跃度、社区链接等深度元数据。OHLC蜡烛图数据支持技术分析,上市公司持仓数据(MicroStrategy、Tesla等)为宏观研究提供独特视角。

Agent原生兼容:严格遵循AgentSkills标准,OpenClaw等智能体可直接调用,适合构建自动化交易监控、投研报告生成等AI工作流。

潜在缺点与局限性

数据源单一性:所有数据源自igent.net单一服务商,虽通过认证评估(Medium信誉),但未提供CoinGecko、CoinMarketCap等主流平台作为备用源。若服务商API故障或调整策略,将直接影响Skill可用性。

实时性边界:免费-tier存在隐含的速率限制(建议<30次/分钟),高频量化场景可能触发限流。历史数据 granularity 由API端固定(如365天仅返回4天间隔),无法自定义分钟级或秒级精度。

功能覆盖缺口:暂不支持合约持仓数据、链上指标(如交易所净流入)、情绪分析等进阶数据;缺乏数据持久化与本地缓存,重复查询相同数据会产生冗余API调用(报告已建议添加缓存装饰器)。

企业持仓白名单限制:get_public_companies_holdings.py当前仅开放bitcoin/ethereum查询,其他加密资产(如Solana、Cardano)即使存在上市公司持仓也无法获取。

适合的目标群体

  • 个人投资者与交易员:需要快速查询多币种行情、制作简易技术分析图表,无需部署复杂基础设施
  • 量化研究者与开发者:追求零依赖、可审计的轻量级数据管道,用于策略回测或信号生成
  • 内容创作者与分析师:自动化获取市场数据生成日报/周报,或验证特定资产的市场表现叙事
  • AI Agent构建者:为交易助手、投研机器人提供标准化的加密货币数据能力模块
  • 安全敏感型企业:对第三方依赖有严格管控要求,需通过代码审计的金融/科技机构

使用风险说明

网络依赖风险:该Skill为纯在线服务,所有功能依赖igent.net API可达性。无本地缓存机制意味着网络中断时完全不可用,建议在关键流程中添加断路器模式。

数据准确性风险:加密货币市场7×24小时波动,API返回数据存在天然延迟(通常秒级),不适用于需要交易所直连级低延迟的HFT场景。价格数据未标注具体交易所来源,可能与用户实际成交价格存在偏差。

服务商持续性风险:igent.net为相对小众的数据服务商(T3级个人/社区来源),长期商业稳定性不及CoinGecko等头部平台。建议生产环境监控API健康状态(check_api_status.py),并制定数据源迁移预案。

合规使用边界:虽然Skill本身仅读取公开市场数据,但用户需确保下游使用(如自动化交易执行)符合所在司法辖区的金融监管要求。企业持仓数据可能涉及上市公司信息披露时滞,不宜作为实时投资决策依据。

技能正文


name: Crypto Market Data description: No API KEY needed for free tier. Professional-grade cryptocurrency market data integration for real-time prices, historical charts, and global analytics.

🪙 Crypto Market Data Skill

A comprehensive suite of tools for retrieving real-time and historical cryptocurrency market data. This skill interfaces with a dedicated market data server to provide high-performance, authenticated access to global crypto statistics.

✨ Key Capabilities

Category Description
📉 Real-time Prices Fetch current valuations, market caps, 24h volumes, and price changes.
🚀 Market Discovery Track trending assets and top-performing coins by market capitalization.
🔍 Smart Search Quickly find coin IDs by searching names or ticker symbols.
📑 Deep Details Access exhaustive asset information, from community links to developer metrics.
📊 Precise Charts Retrieve OHLC candlestick data and historical price/volume time-series.
🌍 Global Metrics Monitor total market capitalization and public company treasury holdings.

🛠 Tool Reference

Script Name Primary Function Command Example
get_crypto_price.py Multi-coin price fetch python3 scripts/get_crypto_price.py bitcoin ethereum
get_trending_coins.py 24h trending assets python3 scripts/get_trending_coins.py
get_top_coins.py Market leaderboards python3 scripts/get_top_coins.py --per_page=20
search_coins.py Asset discovery python3 scripts/search_coins.py solana
get_coin_details.py Comprehensive metadata python3 scripts/get_coin_details.py ethereum
get_coin_ohlc_chart.py Candlestick data python3 scripts/get_coin_ohlc_chart.py bitcoin --days=7
get_coin_historical_chart.py Time-series data python3 scripts/get_coin_historical_chart.py bitcoin --days=30
get_global_market_data.py Macro market stats python3 scripts/get_global_market_data.py
get_public_companies_holdings.py Treasury holdings python3 scripts/get_public_companies_holdings.py bitcoin
get_supported_currencies.py Valuation options python3 scripts/get_supported_currencies.py
check_api_status.py Health monitoring python3 scripts/check_api_status.py

📖 Usage Details

1. get_crypto_price.py

Fetch real-time pricing and basic market metrics for one or more cryptocurrencies.

Syntax:

python3 scripts/get_crypto_price.py <coin_id_1> [coin_id_2] ... [--currency=usd]

Parameters:

  • coin_id: The unique identifier for the coin (e.g., bitcoin, solana).
  • --currency: The target currency for valuation (default: usd).

Example:

python3 scripts/get_crypto_price.py bitcoin ethereum cardano --currency=jpy

2. get_top_coins.py

Retrieve a list of the top cryptocurrencies ranked by market capitalization.

Syntax:

python3 scripts/get_top_coins.py [--currency=usd] [--per_page=10] [--page=1] [--order=market_cap_desc]

Parameters:

  • --currency: Valuation currency (default: usd).
  • --per_page: Number of results (1-250, default: 10).
  • --order: Sorting logic (e.g., market_cap_desc, volume_desc).

3. get_coin_ohlc_chart.py

Get Open, High, Low, Close (candlestick) data for technical analysis.

Syntax:

python3 scripts/get_coin_ohlc_chart.py <coin_id> [--currency=usd] [--days=7]

Allowed days values: 1, 7, 14, 30, 90, 180, 365.

Range Resolution
1-2 Days 30 Minute intervals
3-30 Days 4 Hour intervals
31+ Days 4 Day intervals

4. get_coin_historical_chart.py

Retrieve detailed historical time-series data for price, market cap, and volume.

Syntax:

python3 scripts/get_coin_historical_chart.py <coin_id> [--currency=usd] [--days=30]

💡 Important Guidelines

🆔 Use Coin IDs

Always use Coin IDs (slugs) instead of ticker symbols for accuracy:

  • ✅ bitcoin (Not BTC)
  • ✅ ethereum (Not ETH)
  • ✅ polkadot (Not DOT)

Use search_coins.py if you are unsure of the correct ID.

🔐 Authentication

Authentication is handled automatically by the internal api_client.py. No manual API keys are required as the system manages short-lived session tokens internally to ensure optimal rate-limiting and security.

🚦 Rate Limiting

While the system is robust, please avoid burst requests (more than 30 per minute) to maintain service stability for all users.

🤖 Agent Integration

This skill is fully compatible with OpenClaw and other agents using the AgentSkills standard. Execute scripts directly from the scripts/ directory.

正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。

标签

cryptocurrencymarket-datatradingprice-apitechnical-analysisreal-time-dataquantitative-finance

同类 Skill