Crypto Market Data 🪙
Query cryptocurrency market data from CoinGecko through AIsa.
Use this skill when you need current prices, historical charts, OHLC candles, token lookup by contract address, market-cap rankings, exchange data, categories, trending searches, or crypto news from a single CLI.
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 (get one at aisa.one).
What you 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 (for example
bitcoin, ethereum, solana), fiat/crypto vs_currency codes (usd, eur, btc), category IDs, exchange IDs, or supported 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: price dictionaries, coin and exchange objects, arrays of timestamped
[ts, value] pairs for charts, [ts, o, h, l, c] tuples for OHLC, ticker arrays, and related market-data 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 (
ethereum, binance-smart-chain, polygon-pos, and similar supported platforms).
- You need exchange-level data such as trust scores, volumes, or per-pair tickers.
- You want to screen categories such as 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 prediction-market order-book depth for platforms 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:
- Simple Price — current price for one or more coins in any supported currencies
- Supported Currencies — list of all supported fiat and crypto
vs_currency codes
- Coin Price by Token Address — current price of tokens by contract address on a supported platform
- Coins List (ID Map) — directory of all coins with id, symbol, and name
- Coins Markets — all coins with full market data (price, market cap, volume, etc.)
- Coin Data by ID — current coin info including price, markets, links, community and developer data
- Coin Tickers — exchange-listed trading pairs for a coin
- Coin Historical Data — historical snapshot (price, market cap, volume) for a given date
- Coin Historical Chart — historical market data over the last N days
- Coin Market Chart Range — historical market data within an explicit UNIX timestamp range
- Coin OHLC — OHLC candles for a coin
- Coin Data by Token Address — full coin data by contract address on a supported platform
- Coin Historical Chart by Contract — historical market data for a token by contract address
- Categories List — all coin categories used by CoinGecko
- Categories with Market Data — categories with market cap, volume, and top-3 coins
- Exchanges List — all exchanges with current trading volume and metadata
- Exchanges List (ID Map) — exchange identifiers and names for mapping
- Exchange Data by ID — detailed data for a single exchange (volume, tickers, trust score)
- Exchange Tickers — trading pairs listed on a given exchange
- Crypto News — latest crypto news articles aggregated by CoinGecko
- Trending Search — top-7 trending coin searches in the last 24 hours
See the full AIsa API Reference for the complete catalog.
License
MIT — see LICENSE at the repo root.
1---2name: crypto-market-data-63description: 'Query real-time and historical cryptocurrency market data via CoinGecko through AIsa — simple prices, coin details, historical charts, OHLC candles, token prices by contract address, market-cap rankings, exchange data and tickers, categories, trending searches, and crypto news. Use when you need crypto market research, price tracking, token lookup, portfolio analysis, or market-cap screening. Use when: the user needs market data, stock analysis, dividend research, or read-only financial data workflows.'4license: MIT5compatibility: Designed for Agent Skills compatible clients such as OpenClaw, Claude Code, Hermes, and GitHub-backed skill catalogs. Requires system binaries curl, python3, environment variables AISA_API_KEY and internet access to api.aisa.one.6metadata:7 source: https://skillmd.com/skills/baofeng-tech/crypto-market-data-68 author: AIsa9 version: 1.0.010 homepage: https://aisa.one11 repository: https://github.com/baofeng-tech/agent-skills-so12 tags: x,search,research,market,stock,aisa13 platforms: agentskills.io,agentskills.so,github14 primary_env: AISA_API_KEY15allowed-tools: Read Bash Grep16---1718# Crypto Market Data 🪙1920Query cryptocurrency market data from CoinGecko through AIsa.2122Use this skill when you need current prices, historical charts, OHLC candles, token lookup by contract address, market-cap rankings, exchange data, categories, trending searches, or crypto news from a single CLI.2324## Compatibility2526Works with any [agentskills.io](https://agentskills.io)-compatible harness, including:2728- **Claude Code** and **Claude**29- **OpenAI Codex**30- **Cursor**31- **Gemini CLI**32- **OpenCode**, **Goose**, **OpenClaw**, **Hermes**33- and other tools that implement the [Agent Skills specification](https://agentskills.io/specification)3435Requires Python 3, a POSIX shell, and `AISA_API_KEY` (get one at [aisa.one](https://aisa.one)).3637## What you can do3839### Price tracking40```text41"What is the current price of bitcoin and ethereum in USD and EUR?"42```4344### Historical charts45```text46"Get the last 30 days of BTC price data in USD"47```4849### OHLC candles50```text51"Pull 7-day OHLC candles for solana"52```5354### Token lookup by contract address55```text56"Find the CoinGecko price for USDC at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum"57```5859### Market-cap screening60```text61"List the top 25 coins by market cap with 24h change"62```6364### Exchange research65```text66"What are Binance's top trading pairs by trust score?"67```6869### Trend discovery70```text71"What are the top trending coin searches on CoinGecko right now?"72```7374### Category breakdown75```text76"Rank DeFi coin categories by market cap"77```7879## Quick start8081```bash82export AISA_API_KEY="your-key"83```8485### Simple prices8687```bash88# Current price of bitcoin and ethereum in USD + EUR with 24h change89python3 scripts/coingecko_client.py simple price \90 --ids bitcoin,ethereum --vs usd,eur --include-24hr-change9192# All supported fiat/crypto currencies usable as vs_currency93python3 scripts/coingecko_client.py simple supported-currencies9495# Price by on-chain contract address (USDC on Ethereum)96python3 scripts/coingecko_client.py simple token-price \97 --platform ethereum \98 --addresses 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 \99 --vs usd --include-24hr-vol100```101102### Coin data, markets, and history103104```bash105# Full coin data for bitcoin106python3 scripts/coingecko_client.py coins data --id bitcoin107108# Top 25 coins by market cap (USD)109python3 scripts/coingecko_client.py coins markets \110 --vs usd --order market_cap_desc --per-page 25111112# Directory of all coins with ids/symbols/names113python3 scripts/coingecko_client.py coins list114115# Historical snapshot for a specific date (dd-mm-yyyy)116python3 scripts/coingecko_client.py coins history \117 --id bitcoin --date 01-01-2024118119# 30-day daily market chart for BTC in USD120python3 scripts/coingecko_client.py coins chart \121 --id bitcoin --vs usd --days 30122123# Explicit UNIX timestamp range124python3 scripts/coingecko_client.py coins chart-range \125 --id bitcoin --vs usd --from 1704067200 --to 1706745600126127# 7-day OHLC candles128python3 scripts/coingecko_client.py coins ohlc \129 --id bitcoin --vs usd --days 7130131# Exchange-listed trading pairs for a coin132python3 scripts/coingecko_client.py coins tickers \133 --id bitcoin --order trust_score_desc134135# Full data / chart by contract address136python3 scripts/coingecko_client.py coins contract \137 --platform ethereum \138 --address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48139140python3 scripts/coingecko_client.py coins contract-chart \141 --platform ethereum \142 --address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 \143 --vs usd --days 14144```145146### Categories147148```bash149# All category IDs and names150python3 scripts/coingecko_client.py categories list151152# Category leaderboard (market cap, volume, top-3 coins)153python3 scripts/coingecko_client.py categories markets \154 --order market_cap_desc155```156157### Exchanges158159```bash160# Exchanges with current trading volume and metadata161python3 scripts/coingecko_client.py exchanges list --per-page 50162163# Just the ID -> name map (useful for resolving user input)164python3 scripts/coingecko_client.py exchanges id-map165166# Detailed data for a specific exchange167python3 scripts/coingecko_client.py exchanges data --id binance168169# Trading pairs on a specific exchange170python3 scripts/coingecko_client.py exchanges tickers \171 --id binance --order trust_score_desc172```173174### News and trending175176```bash177python3 scripts/coingecko_client.py news178python3 scripts/coingecko_client.py trending179```180181## Inputs and outputs182183- **Input:** coin IDs (for example `bitcoin`, `ethereum`, `solana`), fiat/crypto `vs_currency` codes (`usd`, `eur`, `btc`), category IDs, exchange IDs, or supported platform + contract address pairs. Use `coins list` and `exchanges id-map` to resolve user-friendly names to CoinGecko IDs.184- **Output:** JSON printed to stdout, matching the CoinGecko schema for each endpoint: price dictionaries, coin and exchange objects, arrays of timestamped `[ts, value]` pairs for charts, `[ts, o, h, l, c]` tuples for OHLC, ticker arrays, and related market-data payloads.185186## When to use / When not to use187188**Use when:**189- You need current or historical **crypto** prices, market caps, volumes, or charts.190- You need to look up a token by its **on-chain contract address** (`ethereum`, `binance-smart-chain`, `polygon-pos`, and similar supported platforms).191- You need **exchange-level** data such as trust scores, volumes, or per-pair tickers.192- You want to screen categories such as DeFi, AI, or L1s, or surface trending coins.193194**Do not use when:**195- You need **equities or traditional finance** data — use the `marketpulse` skill.196- You need **prediction-market order-book depth** for platforms such as Polymarket or Kalshi — use `prediction-market-data`.197- You need **on-chain wallet balances, transfers, or gas traces** — CoinGecko is a pricing and market-data source, not a node RPC.198199## Requirements200201- Python 3, `curl`, POSIX shell202- `AISA_API_KEY` — required, get one at [aisa.one](https://aisa.one)203204## API reference205206This skill calls the following AIsa CoinGecko endpoints directly:207208- [Simple Price](https://aisa.one/docs/api-reference/coingecko/simple-price) — current price for one or more coins in any supported currencies209- [Supported Currencies](https://aisa.one/docs/api-reference/coingecko/supported-currencies) — list of all supported fiat and crypto `vs_currency` codes210- [Coin Price by Token Address](https://aisa.one/docs/api-reference/coingecko/coin-price-by-token-address) — current price of tokens by contract address on a supported platform211- [Coins List (ID Map)](https://aisa.one/docs/api-reference/coingecko/coins-list) — directory of all coins with id, symbol, and name212- [Coins Markets](https://aisa.one/docs/api-reference/coingecko/coins-markets) — all coins with full market data (price, market cap, volume, etc.)213- [Coin Data by ID](https://aisa.one/docs/api-reference/coingecko/coin-data-by-id) — current coin info including price, markets, links, community and developer data214- [Coin Tickers](https://aisa.one/docs/api-reference/coingecko/coin-tickers) — exchange-listed trading pairs for a coin215- [Coin Historical Data](https://aisa.one/docs/api-reference/coingecko/coin-historical-data) — historical snapshot (price, market cap, volume) for a given date216- [Coin Historical Chart](https://aisa.one/docs/api-reference/coingecko/coin-historical-chart) — historical market data over the last N days217- [Coin Market Chart Range](https://aisa.one/docs/api-reference/coingecko/coin-market-chart-range) — historical market data within an explicit UNIX timestamp range218- [Coin OHLC](https://aisa.one/docs/api-reference/coingecko/coin-ohlc) — OHLC candles for a coin219- [Coin Data by Token Address](https://aisa.one/docs/api-reference/coingecko/coin-data-by-token-address) — full coin data by contract address on a supported platform220- [Coin Historical Chart by Contract](https://aisa.one/docs/api-reference/coingecko/coin-historical-chart-by-contract) — historical market data for a token by contract address221- [Categories List](https://aisa.one/docs/api-reference/coingecko/categories-list) — all coin categories used by CoinGecko222- [Categories with Market Data](https://aisa.one/docs/api-reference/coingecko/categories-with-market-data) — categories with market cap, volume, and top-3 coins223- [Exchanges List](https://aisa.one/docs/api-reference/coingecko/exchanges-list) — all exchanges with current trading volume and metadata224- [Exchanges List (ID Map)](https://aisa.one/docs/api-reference/coingecko/exchanges-list-id-map) — exchange identifiers and names for mapping225- [Exchange Data by ID](https://aisa.one/docs/api-reference/coingecko/exchange-data-by-id) — detailed data for a single exchange (volume, tickers, trust score)226- [Exchange Tickers](https://aisa.one/docs/api-reference/coingecko/exchange-tickers) — trading pairs listed on a given exchange227- [Crypto News](https://aisa.one/docs/api-reference/coingecko/crypto-news) — latest crypto news articles aggregated by CoinGecko228- [Trending Search](https://aisa.one/docs/api-reference/coingecko/trending-search) — top-7 trending coin searches in the last 24 hours229230See the [full AIsa API Reference](https://aisa.one/docs/api-reference) for the complete catalog.231232## License233234MIT — see [LICENSE](../LICENSE) at the repo root.