Skills DirectorySkills Directory
SkillsLearnSecurityCategoriesDocsBlogPro
Sign InSubmit Skill
Skills Directory

Security-tested agent skills for Claude, coding agents, and AI workflows.

Directory

  • Browse Skills
  • All Skills A–Z
  • Claude Skills
  • Claude Code Skills
  • Agent Skills
  • Categories
  • Authors
  • Submit a Skill

Learn

  • Learn Hub
  • Install Claude Skills
  • Write SKILL.md
  • Skills vs MCP
  • Directories Compared

Security

  • Security
  • Methodology
  • Secure Claude Skills
  • Security Badges
  • Chrome Extension
  • Skill Manager

Company

  • About
  • Community
  • Blog
  • API Docs
  • Advertise

2026 Skills Directory. All rights reserved.

ProTermsPrivacyRefunds
Back to skills

Coingecko

ASecurity

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

101 stars
0 votes
0 copies
0 views
Added 5/28/2026
blockchaingoapi

Works with

api

Security Analysis

A100/100

Scanned 5/28/2026

$npx -y skills add TermiX-official/cryptoclaw --skill coingecko --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Coingecko?

Add the live security badge to your README — it updates automatically with every re-scan.

Security grade badge for Coingecko
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/termix-official-coingecko/badge)](https://www.skillsdirectory.com/skills/termix-official-coingecko)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
Files
SKILL.md
---
name: coingecko
description: Query CoinGecko API for prices, market data, trending tokens, and historical charts.
metadata: { "cryptoclaw": { "emoji": "🦎", "always": true } }
---

# 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"

Attribution

TermiX-officialTermiX-official
View sourceSee grades on GitHubMore from TermiX-official →
SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments (0)

No comments yet. Be the first to comment!

SSkills DirectorySkills Directory

Ship a skill? Prove it's safe.

Free 120-pattern security scan, letter grade, and an embeddable README badge.

Submit a skill

Related Skills

Nft Standards

Implement NFT standards (ERC-721, ERC-1155) with proper metadata handling, minting strategies, and marketplace integration. Use when creating NFT contracts, building NFT marketplaces, or implementing digital asset systems.

458250 votes

Nft Standards

Implement NFT standards (ERC-721, ERC-1155) with proper metadata handling, minting strategies, and marketplace integration. Use when creating NFT contracts, building NFT marketplaces, or implementing digital asset systems.

401990 votes

vyper-compiler

Vyper smart contract compiler internals. Use when working on the Vyper compiler codebase — compilation pipeline, Venom IR, semantic analysis, code generation, testing, or contributing. Triggers on vyper compiler development, Venom passes, AST/semantics changes, codegen work, or test writing.

51840 votes

Flash Loan Simulator

Simulate flash loan arbitrage strategies and profitability across DeFi protocols. Use when performing crypto analysis. Trigger with phrases like "analyze crypto", "check blockchain", or "monitor market".

27190 votes

On Chain Analytics

Perform on-chain analysis including whale tracking, token flows, and network activity. Use when performing crypto analysis. Trigger with phrases like "analyze crypto", "check blockchain", or "monitor market".

27190 votes
View all in blockchain →