Crypto Market Data 🪙
Complete cryptocurrency market data for autonomous agents. Powered by AIsa.
One API key. Prices, charts, tokens by contract address, exchanges, categories, and news — every CoinGecko surface under a single CLI.
Compatibility
Works with any agentskills.io-compatible
harness, including:
- Claude Code and Claude (Anthropic)
- OpenAI Codex
- Cursor
- Gemini CLI (Google)
- OpenCode, Goose, OpenClaw, Hermes
- and any other harness that implements the Agent Skills
specification
Requires Python 3, a POSIX shell, and AISA_API_KEY (get one at
aisa.one).
🔥 What Can You 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 {baseDir}/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 {baseDir}/scripts/coingecko_client.py simple supported-currencies
# Price by on-chain contract address (USDC on Ethereum)
python3 {baseDir}/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 {baseDir}/scripts/coingecko_client.py coins data --id bitcoin
# Top 25 coins by market cap (USD)
python3 {baseDir}/scripts/coingecko_client.py coins markets \
--vs usd --order market_cap_desc --per-page 25
# Directory of all coins with ids/symbols/names
python3 {baseDir}/scripts/coingecko_client.py coins list
# Historical snapshot for a specific date (dd-mm-yyyy)
python3 {baseDir}/scripts/coingecko_client.py coins history \
--id bitcoin --date 01-01-2024
# 30-day daily market chart for BTC in USD
python3 {baseDir}/scripts/coingecko_client.py coins chart \
--id bitcoin --vs usd --days 30
# Explicit UNIX timestamp range
python3 {baseDir}/scripts/coingecko_client.py coins chart-range \
--id bitcoin --vs usd --from 1704067200 --to 1706745600
# 7-day OHLC candles
python3 {baseDir}/scripts/coingecko_client.py coins ohlc \
--id bitcoin --vs usd --days 7
# Exchange-listed trading pairs for a coin
python3 {baseDir}/scripts/coingecko_client.py coins tickers \
--id bitcoin --order trust_score_desc
# Full data / chart by contract address
python3 {baseDir}/scripts/coingecko_client.py coins contract \
--platform ethereum \
--address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48
python3 {baseDir}/scripts/coingecko_client.py coins contract-chart \
--platform ethereum \
--address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 \
--vs usd --days 14
Categories
# All category IDs and names
python3 {baseDir}/scripts/coingecko_client.py categories list
# Category leaderboard (market cap, volume, top-3 coins)
python3 {baseDir}/scripts/coingecko_client.py categories markets \
--order market_cap_desc
Exchanges
# Exchanges with current trading volume and metadata
python3 {baseDir}/scripts/coingecko_client.py exchanges list --per-page 50
# Just the ID -> name map (useful for resolving user input)
python3 {baseDir}/scripts/coingecko_client.py exchanges id-map
# Detailed data for a specific exchange
python3 {baseDir}/scripts/coingecko_client.py exchanges data --id binance
# Trading pairs on a specific exchange
python3 {baseDir}/scripts/coingecko_client.py exchanges tickers \
--id binance --order trust_score_desc
News and trending
python3 {baseDir}/scripts/coingecko_client.py news
python3 {baseDir}/scripts/coingecko_client.py trending
Inputs and Outputs
- Input: coin IDs (e.g.
bitcoin, ethereum, solana), fiat/crypto vs_currency codes (usd, eur, btc), category/exchange IDs, or on-chain platform+contract-address pairs. Use coins list and exchanges id-map to resolve user-friendly names to CoinGecko IDs.
- Output: JSON responses printed to stdout, matching the CoinGecko schema for each endpoint (price dictionaries, coin/exchange objects, arrays of timestamped
[ts, value] pairs for charts, [ts, o, h, l, c] tuples for OHLC, ticker arrays, etc.).
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, etc.).
- You need exchange-level data — trust scores, volumes, per-pair tickers.
- You're screening across categories (DeFi, AI, L1s, etc.) or surfacing 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 (Polymarket, Kalshi) — use
prediction-market-data.
- You need on-chain wallet balances, transfers, or gas traces — CoinGecko is a pricing/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-data3description: Query real-time and historical cryptocurrency market data via CoinGecko — 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 for crypto research, price tracking, on-chain token lookup, portfolio analysis, and market-cap screening.4license: MIT5---6# Crypto Market Data 🪙78**Complete cryptocurrency market data for autonomous agents. Powered by AIsa.**910One API key. Prices, charts, tokens by contract address, exchanges, categories, and news — every CoinGecko surface under a single CLI.1112## Compatibility1314Works with any [agentskills.io](https://agentskills.io)-compatible15harness, including:1617- **Claude Code** and **Claude** (Anthropic)18- **OpenAI Codex**19- **Cursor**20- **Gemini CLI** (Google)21- **OpenCode**, **Goose**, **OpenClaw**, **Hermes**22- and any other harness that implements the [Agent Skills23 specification](https://agentskills.io/specification)2425Requires Python 3, a POSIX shell, and `AISA_API_KEY` (get one at26[aisa.one](https://aisa.one)).2728## 🔥 What Can You Do?2930### Price Tracking31```text32"What is the current price of bitcoin and ethereum in USD and EUR?"33```3435### Historical Charts36```text37"Get the last 30 days of BTC price data in USD"38```3940### OHLC Candles41```text42"Pull 7-day OHLC candles for solana"43```4445### Token Lookup by Contract Address46```text47"Find the CoinGecko price for USDC at 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 on Ethereum"48```4950### Market-Cap Screening51```text52"List the top 25 coins by market cap with 24h change"53```5455### Exchange Research56```text57"What are Binance's top trading pairs by trust score?"58```5960### Trend Discovery61```text62"What are the top trending coin searches on CoinGecko right now?"63```6465### Category Breakdown66```text67"Rank DeFi coin categories by market cap"68```6970## Quick Start7172```bash73export AISA_API_KEY="your-key"74```7576### Simple prices7778```bash79# Current price of bitcoin and ethereum in USD + EUR with 24h change80python3 {baseDir}/scripts/coingecko_client.py simple price \81 --ids bitcoin,ethereum --vs usd,eur --include-24hr-change8283# All supported fiat/crypto currencies usable as vs_currency84python3 {baseDir}/scripts/coingecko_client.py simple supported-currencies8586# Price by on-chain contract address (USDC on Ethereum)87python3 {baseDir}/scripts/coingecko_client.py simple token-price \88 --platform ethereum \89 --addresses 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 \90 --vs usd --include-24hr-vol91```9293### Coin data, markets, and history9495```bash96# Full coin data for bitcoin97python3 {baseDir}/scripts/coingecko_client.py coins data --id bitcoin9899# Top 25 coins by market cap (USD)100python3 {baseDir}/scripts/coingecko_client.py coins markets \101 --vs usd --order market_cap_desc --per-page 25102103# Directory of all coins with ids/symbols/names104python3 {baseDir}/scripts/coingecko_client.py coins list105106# Historical snapshot for a specific date (dd-mm-yyyy)107python3 {baseDir}/scripts/coingecko_client.py coins history \108 --id bitcoin --date 01-01-2024109110# 30-day daily market chart for BTC in USD111python3 {baseDir}/scripts/coingecko_client.py coins chart \112 --id bitcoin --vs usd --days 30113114# Explicit UNIX timestamp range115python3 {baseDir}/scripts/coingecko_client.py coins chart-range \116 --id bitcoin --vs usd --from 1704067200 --to 1706745600117118# 7-day OHLC candles119python3 {baseDir}/scripts/coingecko_client.py coins ohlc \120 --id bitcoin --vs usd --days 7121122# Exchange-listed trading pairs for a coin123python3 {baseDir}/scripts/coingecko_client.py coins tickers \124 --id bitcoin --order trust_score_desc125126# Full data / chart by contract address127python3 {baseDir}/scripts/coingecko_client.py coins contract \128 --platform ethereum \129 --address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48130131python3 {baseDir}/scripts/coingecko_client.py coins contract-chart \132 --platform ethereum \133 --address 0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48 \134 --vs usd --days 14135```136137### Categories138139```bash140# All category IDs and names141python3 {baseDir}/scripts/coingecko_client.py categories list142143# Category leaderboard (market cap, volume, top-3 coins)144python3 {baseDir}/scripts/coingecko_client.py categories markets \145 --order market_cap_desc146```147148### Exchanges149150```bash151# Exchanges with current trading volume and metadata152python3 {baseDir}/scripts/coingecko_client.py exchanges list --per-page 50153154# Just the ID -> name map (useful for resolving user input)155python3 {baseDir}/scripts/coingecko_client.py exchanges id-map156157# Detailed data for a specific exchange158python3 {baseDir}/scripts/coingecko_client.py exchanges data --id binance159160# Trading pairs on a specific exchange161python3 {baseDir}/scripts/coingecko_client.py exchanges tickers \162 --id binance --order trust_score_desc163```164165### News and trending166167```bash168python3 {baseDir}/scripts/coingecko_client.py news169python3 {baseDir}/scripts/coingecko_client.py trending170```171172## Inputs and Outputs173174- **Input:** coin IDs (e.g. `bitcoin`, `ethereum`, `solana`), fiat/crypto `vs_currency` codes (`usd`, `eur`, `btc`), category/exchange IDs, or on-chain platform+contract-address pairs. Use `coins list` and `exchanges id-map` to resolve user-friendly names to CoinGecko IDs.175- **Output:** JSON responses printed to stdout, matching the CoinGecko schema for each endpoint (price dictionaries, coin/exchange objects, arrays of timestamped `[ts, value]` pairs for charts, `[ts, o, h, l, c]` tuples for OHLC, ticker arrays, etc.).176177## When to use / When NOT to use178179**Use when:**180- You need current or historical **crypto** prices, market caps, volumes, or charts.181- You need to look up a token by its **on-chain contract address** (ethereum, binance-smart-chain, polygon-pos, etc.).182- You need **exchange-level** data — trust scores, volumes, per-pair tickers.183- You're screening across categories (DeFi, AI, L1s, etc.) or surfacing trending coins.184185**Do NOT use when:**186- You need **equities or traditional finance** data — use the `marketpulse` skill.187- You need **order-book depth on prediction markets** (Polymarket, Kalshi) — use `prediction-market-data`.188- You need **on-chain wallet balances, transfers, or gas traces** — CoinGecko is a pricing/market-data source, not a node RPC.189190## Requirements191192- Python 3, `curl`, POSIX shell193- `AISA_API_KEY` — required, get one at [aisa.one](https://aisa.one)194195## API Reference196197This skill calls the following AIsa CoinGecko endpoints directly:198199- [Simple Price](https://aisa.one/docs/api-reference/coingecko/simple-price) — current price for one or more coins in any supported currencies200- [Supported Currencies](https://aisa.one/docs/api-reference/coingecko/supported-currencies) — list of all supported fiat and crypto `vs_currency` codes201- [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 platform202- [Coins List (ID Map)](https://aisa.one/docs/api-reference/coingecko/coins-list) — directory of all coins with id, symbol, and name203- [Coins Markets](https://aisa.one/docs/api-reference/coingecko/coins-markets) — all coins with full market data (price, market cap, volume, etc.)204- [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 data205- [Coin Tickers](https://aisa.one/docs/api-reference/coingecko/coin-tickers) — exchange-listed trading pairs for a coin206- [Coin Historical Data](https://aisa.one/docs/api-reference/coingecko/coin-historical-data) — historical snapshot (price, market cap, volume) for a given date207- [Coin Historical Chart](https://aisa.one/docs/api-reference/coingecko/coin-historical-chart) — historical market data over the last N days208- [Coin Market Chart Range](https://aisa.one/docs/api-reference/coingecko/coin-market-chart-range) — historical market data within an explicit UNIX timestamp range209- [Coin OHLC](https://aisa.one/docs/api-reference/coingecko/coin-ohlc) — OHLC candles for a coin210- [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 platform211- [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 address212- [Categories List](https://aisa.one/docs/api-reference/coingecko/categories-list) — all coin categories used by CoinGecko213- [Categories with Market Data](https://aisa.one/docs/api-reference/coingecko/categories-with-market-data) — categories with market cap, volume, and top-3 coins214- [Exchanges List](https://aisa.one/docs/api-reference/coingecko/exchanges-list) — all exchanges with current trading volume and metadata215- [Exchanges List (ID Map)](https://aisa.one/docs/api-reference/coingecko/exchanges-list-id-map) — exchange identifiers and names for mapping216- [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)217- [Exchange Tickers](https://aisa.one/docs/api-reference/coingecko/exchange-tickers) — trading pairs listed on a given exchange218- [Crypto News](https://aisa.one/docs/api-reference/coingecko/crypto-news) — latest crypto news articles aggregated by CoinGecko219- [Trending Search](https://aisa.one/docs/api-reference/coingecko/trending-search) — top-7 trending coin searches in the last 24 hours220221See the [full AIsa API Reference](https://aisa.one/docs/api-reference) for the complete catalog.222223## License224225MIT — see [LICENSE](../LICENSE) at the repo root.