← Back to Skills Marketplace
baofeng-tech

Crypto Market Data

by baofeng-tech · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
18
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install crypto-market-data-aisa
Description
Query real-time and historical cryptocurrency market data via CoinGecko — simple prices, coin details, historical charts, OHLC candles, token prices by contr...
README (SKILL.md)

Crypto Market Data 🪙

Query cryptocurrency prices, charts, exchange data, categories, trending searches, and news through AIsa's CoinGecko-backed API.

Use this skill when you need current or historical crypto market data, token lookup by contract address, market-cap screening, exchange research, or category-level analysis.

Compatibility

Works with any agentskills.io-compatible harness, including:

  • Claude Code and Claude
  • OpenAI Codex
  • Cursor
  • Gemini CLI
  • OpenCode, Goose, OpenClaw, Hermes
  • and other tools that implement the Agent Skills specification

Requires Python 3, a POSIX shell, and AISA_API_KEY from aisa.one.

What this skill can do

Price tracking

"What is the current price of bitcoin and ethereum in USD and EUR?"

Historical charts

"Get the last 30 days of BTC price data in USD"

OHLC candles

"Pull 7-day OHLC candles for solana"

Token lookup by contract address

"Find the CoinGecko price for USDC at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum"

Market-cap screening

"List the top 25 coins by market cap with 24h change"

Exchange research

"What are Binance's top trading pairs by trust score?"

Trend discovery

"What are the top trending coin searches on CoinGecko right now?"

Category breakdown

"Rank DeFi coin categories by market cap"

Quick start

export AISA_API_KEY="your-key"

Simple prices

# Current price of bitcoin and ethereum in USD + EUR with 24h change
python3 scripts/coingecko_client.py simple price \
  --ids bitcoin,ethereum --vs usd,eur --include-24hr-change

# All supported fiat/crypto currencies usable as vs_currency
python3 scripts/coingecko_client.py simple supported-currencies

# Price by on-chain contract address (USDC on Ethereum)
python3 scripts/coingecko_client.py simple token-price \
  --platform ethereum \
  --addresses 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 \
  --vs usd --include-24hr-vol

Coin data, markets, and history

# Full coin data for bitcoin
python3 scripts/coingecko_client.py coins data --id bitcoin

# Top 25 coins by market cap (USD)
python3 scripts/coingecko_client.py coins markets \
  --vs usd --order market_cap_desc --per-page 25

# Directory of all coins with ids/symbols/names
python3 scripts/coingecko_client.py coins list

# Historical snapshot for a specific date (dd-mm-yyyy)
python3 scripts/coingecko_client.py coins history \
  --id bitcoin --date 01-01-2024

# 30-day daily market chart for BTC in USD
python3 scripts/coingecko_client.py coins chart \
  --id bitcoin --vs usd --days 30

# Explicit UNIX timestamp range
python3 scripts/coingecko_client.py coins chart-range \
  --id bitcoin --vs usd --from 1704067200 --to 1706745600

# 7-day OHLC candles
python3 scripts/coingecko_client.py coins ohlc \
  --id bitcoin --vs usd --days 7

# Exchange-listed trading pairs for a coin
python3 scripts/coingecko_client.py coins tickers \
  --id bitcoin --order trust_score_desc

# Full data / chart by contract address
python3 scripts/coingecko_client.py coins contract \
  --platform ethereum \
  --address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48

python3 scripts/coingecko_client.py coins contract-chart \
  --platform ethereum \
  --address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 \
  --vs usd --days 14

Categories

# All category IDs and names
python3 scripts/coingecko_client.py categories list

# Category leaderboard (market cap, volume, top-3 coins)
python3 scripts/coingecko_client.py categories markets \
  --order market_cap_desc

Exchanges

# Exchanges with current trading volume and metadata
python3 scripts/coingecko_client.py exchanges list --per-page 50

# Just the ID -> name map (useful for resolving user input)
python3 scripts/coingecko_client.py exchanges id-map

# Detailed data for a specific exchange
python3 scripts/coingecko_client.py exchanges data --id binance

# Trading pairs on a specific exchange
python3 scripts/coingecko_client.py exchanges tickers \
  --id binance --order trust_score_desc

News and trending

python3 scripts/coingecko_client.py news
python3 scripts/coingecko_client.py trending

Inputs and outputs

  • Input: coin IDs such as bitcoin, ethereum, and solana; fiat or crypto vs_currency codes such as usd, eur, and btc; category IDs; exchange IDs; or platform + contract-address pairs. Use coins list and exchanges id-map to resolve user-friendly names to CoinGecko IDs.
  • Output: JSON printed to stdout, matching the CoinGecko schema for each endpoint. Depending on the command, outputs include price dictionaries, coin or exchange objects, arrays of timestamped [ts, value] pairs for charts, [ts, o, h, l, c] tuples for OHLC, ticker arrays, and news or trending payloads.

When to use / When not to use

Use when:

  • You need current or historical crypto prices, market caps, volumes, or charts.
  • You need to look up a token by its on-chain contract address such as ethereum, binance-smart-chain, or polygon-pos.
  • You need exchange-level data such as trust scores, volumes, and per-pair tickers.
  • You want to screen categories like DeFi, AI, or L1s, or surface trending coins.

Do not use when:

  • You need equities or traditional finance data — use the marketpulse skill.
  • You need order-book depth on prediction markets such as Polymarket or Kalshi — use prediction-market-data.
  • You need on-chain wallet balances, transfers, or gas traces — CoinGecko is a pricing and market-data source, not a node RPC.

Requirements

  • Python 3
  • curl
  • POSIX shell
  • AISA_API_KEY — required; get one at aisa.one

API reference

This skill calls the following AIsa CoinGecko endpoints directly:

See the full AIsa API Reference for the complete catalog.

License

MIT — see LICENSE at the repo root.

Usage Guidance
This skill looks appropriate for read-only cryptocurrency market research. Before installing, confirm you are comfortable providing an AISA_API_KEY and having crypto lookup queries sent to AIsa; do not treat it as a stock or dividend research tool unless the provider explicitly supports those datasets.
Capability Analysis
Type: OpenClaw Skill Name: crypto-market-data-aisa Version: 1.0.1 The skill is a standard API client for fetching cryptocurrency market data from the AIsa API (api.aisa.one). The Python script (scripts/coingecko_client.py) uses the standard library's urllib to perform GET requests and properly sanitizes parameters using urllib.parse.quote. There is no evidence of data exfiltration, malicious execution, or harmful prompt injection in the SKILL.md instructions; all functionality is strictly aligned with the stated purpose of crypto market research.
Capability Tags
cryptorequires-walletrequires-sensitive-credentials
Capability Assessment
Purpose & Capability
The core purpose and code are coherent for CoinGecko-backed cryptocurrency market data. One description line also mentions stock analysis and dividend research, which is broader than the visible crypto-only endpoints.
Instruction Scope
Instructions are mainly user-directed command examples for read-only market data lookups; no destructive actions, forced tool use, or prompt-override behavior is shown.
Install Mechanism
There is no install spec or package installation flow; the skill uses a bundled Python script and requires python3.
Credentials
The skill requires AISA_API_KEY and makes HTTPS requests to api.aisa.one, which is proportionate to its stated external market-data API purpose.
Persistence & Privilege
No persistence, background workers, local credential stores, privileged file writes, or autonomous long-running behavior are evident from the provided artifacts.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install crypto-market-data-aisa
  3. After installation, invoke the skill by name or use /crypto-market-data-aisa
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Added detailed usage instructions, command examples, and feature descriptions to SKILL.md. - Clarified compatibility, requirements, and when to use the skill. - Expanded quick start and API reference documentation for improved onboarding. - No changes to core functionality; update is documentation-focused.
Metadata
Slug crypto-market-data-aisa
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Crypto Market Data?

Query real-time and historical cryptocurrency market data via CoinGecko — simple prices, coin details, historical charts, OHLC candles, token prices by contr... It is an AI Agent Skill for Claude Code / OpenClaw, with 18 downloads so far.

How do I install Crypto Market Data?

Run "/install crypto-market-data-aisa" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Crypto Market Data free?

Yes, Crypto Market Data is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Crypto Market Data support?

Crypto Market Data is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Crypto Market Data?

It is built and maintained by baofeng-tech (@baofeng-tech); the current version is v1.0.1.

💬 Comments