coingecko

Query CoinGecko API for prices, market data, trending tokens, and historical charts.

202 stars

Best use case

coingecko is best used when you need a repeatable AI agent workflow instead of a one-off prompt. It is especially useful for teams working in multi. Query CoinGecko API for prices, market data, trending tokens, and historical charts.

Query CoinGecko API for prices, market data, trending tokens, and historical charts.

Users should expect a more consistent workflow output, faster repeated execution, and less time spent rewriting prompts from scratch.

Practical example

Example input

Use the "coingecko" skill to help with this workflow task. Context: Query CoinGecko API for prices, market data, trending tokens, and historical charts.

Example output

A structured workflow result with clearer steps, more consistent formatting, and an output that is easier to reuse in the next run.

When to use this skill

  • Use this skill when you want a reusable workflow rather than writing the same prompt again and again.

When not to use this skill

  • Do not use this when you only need a one-off answer and do not need a reusable workflow.
  • Do not use it if you cannot install or maintain the related files, repository context, or supporting tools.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/coingecko/SKILL.md --create-dirs "https://raw.githubusercontent.com/TermiX-official/cryptoclaw/main/skills/coingecko/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/coingecko/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How coingecko Compares

Feature / AgentcoingeckoStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Query CoinGecko API for prices, market data, trending tokens, and historical charts.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# CoinGecko API

Query cryptocurrency prices, market caps, charts, and trending tokens via the CoinGecko free API.

## Base URL

```
https://api.coingecko.com/api/v3
```

No API key required. Rate limit: ~30 calls/minute.

## Endpoints

### Price Lookup

```
GET /simple/price?ids={ids}&vs_currencies={currencies}&include_24hr_change=true&include_market_cap=true
```

- `ids`: comma-separated CoinGecko IDs (see ID table below)
- `vs_currencies`: `usd`, `btc`, `eth`, `bnb`

Example: `/simple/price?ids=bitcoin,ethereum&vs_currencies=usd&include_24hr_change=true`

### Token Price by Contract Address

```
GET /simple/token_price/{platform}?contract_addresses={addresses}&vs_currencies=usd&include_24hr_change=true
```

Platform IDs:

- `binance-smart-chain` — BSC
- `ethereum` — Ethereum
- `polygon-pos` — Polygon
- `arbitrum-one` — Arbitrum
- `optimistic-ethereum` — Optimism
- `base` — Base

Example: `/simple/token_price/binance-smart-chain?contract_addresses=0x0E09FaBB73Bd3Ade0a17ECC321fD13a19e81cE82&vs_currencies=usd`

### Market Rankings

```
GET /coins/markets?vs_currency=usd&order=market_cap_desc&per_page=20&page=1&sparkline=false
```

Returns top coins with price, market cap, volume, and 24h change.

### Trending

```
GET /search/trending
```

Returns trending coins, NFTs, and categories. No parameters needed.

### Historical Chart

```
GET /coins/{id}/market_chart?vs_currency=usd&days={days}
```

- `days`: `1`, `7`, `14`, `30`, `90`, `365`, `max`
- Returns arrays of `[timestamp, value]` for prices, market_caps, total_volumes

### Coin Detail

```
GET /coins/{id}?localization=false&tickers=false&community_data=false&developer_data=false
```

Returns full metadata: description, links, contract addresses, market data.

## CoinGecko ID Reference

| Token | CoinGecko ID      |
| ----- | ----------------- |
| BTC   | bitcoin           |
| ETH   | ethereum          |
| BNB   | binancecoin       |
| SOL   | solana            |
| USDT  | tether            |
| USDC  | usd-coin          |
| XRP   | ripple            |
| ADA   | cardano           |
| DOGE  | dogecoin          |
| AVAX  | avalanche-2       |
| DOT   | polkadot          |
| MATIC | matic-network     |
| LINK  | chainlink         |
| UNI   | uniswap           |
| CAKE  | pancakeswap-token |
| ARB   | arbitrum          |
| OP    | optimism          |
| AAVE  | aave              |
| LDO   | lido-dao          |
| SHIB  | shiba-inu         |

For unknown tokens, search: `GET /search?query={name}`

## Usage Notes

- Always use `curl -s` to fetch, then parse the JSON response
- For on-chain token prices not listed on CoinGecko, fall back to DEX quotes via `swap_get_quote`
- The `market-data` skill provides high-level workflow guidance; this skill is the concrete API reference
- Report data source and freshness: "CoinGecko, fetched just now"

Related Skills

github

211
from TermiX-official/cryptoclaw

GitHub operations via `gh` CLI: issues, PRs, CI runs, code review, API queries. Use when: (1) checking PR status or CI, (2) creating/commenting on issues, (3) listing/filtering PRs or issues, (4) viewing run logs. NOT for: complex web UI interactions requiring manual browser flows (use browser tooling when available), bulk operations across many repos (script with gh api), or when gh auth is not configured.

gifgrep

211
from TermiX-official/cryptoclaw

Search GIF providers with CLI/TUI, download results, and extract stills/sheets.

zkvm-evaluator

202
from TermiX-official/cryptoclaw

Trustless ERC-8183 job evaluation — run Client's verification program inside a zkVM with ZK proof.

xurl

202
from TermiX-official/cryptoclaw

A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.

whale-watcher

202
from TermiX-official/cryptoclaw

Monitor large transactions and whale movements on-chain.

weather

202
from TermiX-official/cryptoclaw

Get current weather and forecasts via wttr.in or Open-Meteo. Use when: user asks about weather, temperature, or forecasts for any location. NOT for: historical weather data, severe weather alerts, or detailed meteorological analysis. No API key needed.

wallet-manager

202
from TermiX-official/cryptoclaw

Create, import, and manage blockchain wallets securely.

wacli

202
from TermiX-official/cryptoclaw

Send WhatsApp messages to other people or search/sync WhatsApp history via the wacli CLI (not for normal user chats).

voice-call

202
from TermiX-official/cryptoclaw

Start voice calls via the OpenClaw voice-call plugin.

video-frames

202
from TermiX-official/cryptoclaw

Extract frames or short clips from videos using ffmpeg.

trello

202
from TermiX-official/cryptoclaw

Manage Trello boards, lists, and cards via the Trello REST API.

token-swap

202
from TermiX-official/cryptoclaw

Execute token swaps on Uniswap/PancakeSwap across multiple EVM chains.