Xpersona
C

CoinGecko API

CLAWHUB · Unverified

Use this skill for any request involving cryptocurrency market data, coin prices, trading volume, market cap, OHLC charts, historical data, exchanges, derivatives, NFTs, DeFi, on-chain token data, liquidity pools, DEX data, or anything powered by CoinGecko or GeckoTerminal APIs. Trigger this skill whenever the user asks about crypto prices, token data, market trends, or wants to call any CoinGecko or GeckoTerminal endpoint — even if they don't explicitly say "CoinGecko". Also trigger when the user asks about API keys, rate limits, or authentication for these APIs.

62
Rank
84
Safety
1.2k
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 1.2K downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s175kf20d0kwgsh96fzh14xejd841xwm:coingecko-api
  1. Install using `clawhub skill install s175kf20d0kwgsh96fzh14xejd841xwm:coingecko-api` in an isolated environment before connecting it to live workloads.
  2. No published capability contract is available yet, so validate auth and request/response behavior manually.
  3. Review the upstream CLAWHUB listing at https://clawhub.ai/coingecko/coingecko-api before using production credentials.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-coingecko-coingecko-api/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

144,172 characters of source documentation, loaded on request.

Extracted files

5 files captured from the source.

SKILL.md

---
name: coingecko
description: >
  Use this skill for any request involving cryptocurrency market data, coin prices,
  trading volume, market cap, OHLC charts, historical data, exchanges, derivatives,
  NFTs, DeFi, on-chain token data, liquidity pools, DEX data, or anything powered
  by CoinGecko or GeckoTerminal APIs. Trigger this skill whenever the user asks
  about crypto prices, token data, market trends, or wants to call any CoinGecko
  or GeckoTerminal endpoint — even if they don't explicitly say "CoinGecko". Also
  trigger when the user asks about API keys, rate limits, or authentication for
  these APIs.
---

# CoinGecko Skill

## When to use

Trigger this skill when the user's request matches **any** of the following:

### Crypto market data queries
- Coin/token prices, market caps, trading volume, price changes
- Historical price data, OHLC charts, time-range queries
- Circulating or total supply data
- Global crypto market stats (total market cap, BTC dominance, DeFi TVL)
- Trending coins, top gainers/losers, newly listed coins

### Token and contract lookups
- Looking up a token by its contract address (e.g. `0x...`)
- Token metadata, categories, or platform info
- Comparing multiple coins or tokens

### Exchange and trading data
- Exchange listings, volume, tickers, trust scores
- DEX-specific data (Uniswap, PancakeSwap, etc.)
- Derivatives exchanges and tickers (futures, perpetuals)

### On-chain / DeFi data (GeckoTerminal)
- Liquidity pool data, trending/new pools, pool search
- On-chain token prices, holder data, top traders
- OHLCV candles or trade history for specific pools or tokens
- DEX and network discovery (supported chains, DEXes)
- On-chain pool categories and filtering

### NFT data
- NFT collection prices, floor prices, market data
- NFT collection charts and tickers

### Other triggers
- Building dashboards, visualizations, or apps with crypto data
- Questions about CoinGecko or GeckoTerminal API capabilities, endpoints, or rate limits
- API key setup, authentication, plan tiers, or pricing questions
- "What crypto data is available?" or similar exploratory questions
- User mentions CoinGecko, GeckoTerminal, or shares a CoinGecko URL
- Investment calculators, portfolio trackers, or ROI calculations involving crypto
- Public company/institution crypto treasury holdings (e.g. "how much BTC does MicroStrategy hold?")

---

You have access to the CoinGecko API (aggregated data) and the GeckoTerminal API
(on-chain DEX data). Together they cover virtually all crypto market data needs.
Both APIs share the same API key and plan tier. GeckoTerminal endpoints use the
same base URL as CoinGecko plus an `/onchain` path prefix (details in `references/core.md`).

## STRICT RULE — All market data must come from live API calls

**Never answer questions about crypto prices, market caps, volumes, supply, TVL, exchange
rates, or any time-sensitive market data using training knowledge.** These figures change
by the minute — training dat

README.md

# CoinGecko Agent SKILL

An installable package that gives AI agents built-in knowledge of the [CoinGecko API](https://www.coingecko.com/en/api), including endpoints, parameters, and common workflows.

- Instead of manually explaining the API to your agent every time, the **SKILL lets your agent understand CoinGecko data instantly** and respond with accurate queries and code.
- Works with popular AI coding agents and tools such as **Claude Code**, **Gemini CLI**, **Codex CLI**, and other SKILL-compatible agents. Setup takes less than 3 minutes.

📖 Full documentation: [docs.coingecko.com/docs/skills](https://docs.coingecko.com/docs/skills)

---

## Installation

### Claude.ai

1. Download the SKILL package: [skills-main.zip](https://github.com/coingecko/skills/archive/refs/heads/main.zip)
2. Go to [claude.ai/customize/skills](https://claude.ai/customize/skills)
3. Click **+** → **Upload a skill**
4. Upload the `skills-main.zip` file

> [!NOTE]
> Claude.ai users on paid plans should add `api.coingecko.com` and `pro-api.coingecko.com` to their domain allowlist at [claude.ai/settings/capabilities](https://claude.ai/settings/capabilities).<br/><br/>
> Follow this guide here: http://docs.coingecko.com/docs/skills#allowlist-coingecko-domains-claude-paid-plans-only

### Agents / LLMs

*Such as Claude Code, Gemini CLI, Codex CLI*

#### Via [skills.sh](https://skills.sh/)

```bash
npm install -g skills
npx skills add coingecko/skills -g -y
```

*`-g` flag installs globally for all agents. See [npmjs/skills](https://www.npmjs.com/package/skills) for more details.*

#### Via GitHub

```bash
git clone https://github.com/coingecko/skills.git coingecko-skills

# Move to your agent's skills directory (example: Claude Code on Mac/Linux)
mv coingecko-skills ~/.claude/skills/coingecko
```

*The exact path may vary based on your agent and operating system.*

---

## What's Inside

```
SKILL.md                     # Main entry point — workflow, reference index
references/
  ├── core.md                    # Auth, rate limits, methodology (always read)
  ├── claude-env.md              # Claude-specific constraints & workarounds
  ├── common-use-cases.md        # Common workflows for price queries, historical data, etc.
  ├── coins.md                   # Prices, market data, metadata, gainers/losers
  ├── coin-history.md            # Historical charts, OHLC, time-range queries
  ├── coin-supply.md             # Circulating/total supply charts
  ├── contract.md                # Lookup by token contract address
  ├── asset-platforms.md         # Supported blockchains for token contracts, token lists
  ├── categories.md              # Coin categories & sector market data
  ├── exchanges.md               # Spot & DEX exchange data, volume charts
  ├── derivatives.md             # Derivatives exchanges & tickers
  ├── treasury.md                # Public company crypto treasury holdings
  ├── nfts.md                    # NFT collections, market data, charts
  ├── global.md  

_meta.json

{
  "ownerId": "kn7b5qv4ksbardzv43az2bv50n835cs5",
  "slug": "coingecko-api",
  "version": "1.0.1",
  "publishedAt": 1785480021480
}

references/asset-platforms.md

# CoinGecko API — Asset Platforms Reference

Covers asset platform ID maps and token lists. Load this file when the user needs to
resolve an asset platform ID (e.g. `ethereum`, `polygon-pos`) for use in contract
address endpoints, or when they ask for a list of tokens on a blockchain network.

Asset platform IDs are required by endpoints in `references/contract.md` and
`references/nfts.md`.

**Note on GeckoTerminal network IDs:** CoinGecko asset platform IDs (e.g. `ethereum`,
`polygon-pos`) differ in format from GeckoTerminal network IDs (e.g. `eth`, `polygon_pos`).
The mapping between the two is available via `references/onchain-networks.md` →
`GET /onchain/networks` — each network object includes a `coingecko_asset_platform_id` field.
Do not use CoinGecko asset platform IDs directly in GeckoTerminal onchain endpoints.

---

## `GET /asset_platforms` — Asset Platforms List (ID Map)

| Field | Value |
|---|---|
| Description | Query all asset platforms on CoinGecko, including their IDs and chain metadata |
| Path | `GET /asset_platforms` |

### Parameters

| Parameter | Type | Required | Description |
|---|---|---|---|
| `filter` | string | No | Filter results: `nft` returns only NFT-supported platforms |

### Notes
- Use this endpoint to resolve asset platform IDs for contract address endpoints and NFT endpoints.

### Example Response
```json
[
  {
    "id": "polygon-pos",
    "chain_identifier": 137,
    "name": "Polygon POS",
    "shortname": "MATIC",
    "native_coin_id": "matic-network",
    "image": {
      "thumb": "https://coin-images.coingecko.com/asset_platforms/images/15/thumb/polygon_pos.png",
      "small": "https://coin-images.coingecko.com/asset_platforms/images/15/small/polygon_pos.png",
      "large": "https://coin-images.coingecko.com/asset_platforms/images/15/large/polygon_pos.png"
    }
  }
]
```

### Response Fields

| Field | Description |
|---|---|
| `id` | Asset platform ID — use this in contract address and NFT endpoints |
| `chain_identifier` | Chainlist chain ID (EVM chains only; `null` for non-EVM) |
| `name` | Full chain name |
| `shortname` | Short chain name or ticker |
| `native_coin_id` | CoinGecko coin ID of the chain's native currency |
| `image.thumb/small/large` | Platform logo at various sizes |

---

## `GET /token_lists/{asset_platform_id}/all.json` — Token Lists by Asset Platform ID

| Field | Value |
|---|---|
| Description | Get the full token list for a blockchain network in Ethereum token list standard format |
| Path | `GET /token_lists/{asset_platform_id}/all.json` |

### Parameters

| Parameter | Type | Required | Description |
|---|---|---|---|
| `asset_platform_id` | string | Yes (path) | Asset platform ID. Refer to `GET /asset_platforms` above |

### Notes
- Only tokens whose contract addresses have been verified by the CoinGecko team are included.
- Response conforms to the [Ethereum token list standard](https://tokenlists.org/).

### Example Response
```json
{
  "name": "CoinGecko",
  "logoURI"

references/categories.md

# CoinGecko API — Coins Categories Reference

Covers CoinGecko coin category ID maps and category market data. Load this file when
the user needs to resolve a `category` ID for use in `GET /coins/markets` (see
`references/coins.md`), or when they ask for category-level market cap, volume, or
rankings.

Note: CoinGecko categories (this file) are distinct from GeckoTerminal on-chain
categories. For on-chain pool categories, see `references/onchain-categories.md`.

---

## `GET /coins/categories/list` — Coins Categories List (ID Map)

| Field | Value |
|---|---|
| Description | Query all CoinGecko coin category IDs and names |
| Path | `GET /coins/categories/list` |

### Parameters

None.

### Notes
- Use `category_id` values from this endpoint as the `category` filter param in `references/coins.md` → `GET /coins/markets`.

### Example Response
```json
[
  { "category_id": "aave-tokens", "name": "Aave Tokens" },
  { "category_id": "account-abstraction", "name": "Account Abstraction" }
]
```

### Response Fields

| Field | Description |
|---|---|
| `category_id` | Category ID — use as the `category` param in other endpoints. Same value as the `id` field returned by `GET /coins/categories` |
| `name` | Human-readable category name |

---

## `GET /coins/categories` — Coins Categories List with Market Data

| Field | Value |
|---|---|
| Description | Query all CoinGecko coin categories with market cap, volume, and top coins |
| Path | `GET /coins/categories` |

### Parameters

| Parameter | Type | Required | Description |
|---|---|---|---|
| `order` | string | No | Sort order. Default: `market_cap_desc`. Options: `market_cap_desc`, `market_cap_asc`, `name_desc`, `name_asc`, `market_cap_change_24h_desc`, `market_cap_change_24h_asc` |

### Example Response
```json
[
  {
    "id": "layer-1",
    "name": "Layer 1 (L1)",
    "market_cap": 2061406861196.14,
    "market_cap_change_24h": -0.66,
    "content": "",
    "top_3_coins_id": ["bitcoin", "ethereum", "binancecoin"],
    "top_3_coins": [
      "https://assets.coingecko.com/coins/images/1/small/bitcoin.png",
      "https://assets.coingecko.com/coins/images/279/small/ethereum.png",
      "https://assets.coingecko.com/coins/images/825/small/bnb-icon2_2x.png"
    ],
    "volume_24h": 61146432400.17,
    "updated_at": "2024-04-06T08:25:46.402Z"
  }
]
```

### Response Fields

| Field | Description |
|---|---|
| `id` | Category ID |
| `name` | Category name |
| `market_cap` | Total market cap of all coins in the category (USD) |
| `market_cap_change_24h` | 24hr market cap change percentage |
| `content` | Category description (may be empty) |
| `top_3_coins_id` | CoinGecko coin IDs of the top 3 coins by market cap in the category |
| `top_3_coins` | Image URLs of the top 3 coins |
| `volume_24h` | Total 24hr trading volume of all coins in the category (USD) |
| `updated_at` | Last updated timestamp (ISO 8601) |

Sponsored

Ads related to CoinGecko API and adjacent AI workflows.