jpskill.com
🛠️ 開発・MCP コミュニティ 🔴 エンジニア向け 👤 エンジニア・AI開発者

🛠️ Coingecko Openapi Skill

coingecko-openapi-skill

暗号資産の価格や市場データを提供するCoinGecko

⏱ ボイラープレート実装 半日 → 30分

📺 まず動画で見る(YouTube)

▶ 【衝撃】最強のAIエージェント「Claude Code」の最新機能・使い方・プログラミングをAIで効率化する超実践術を解説! ↗

※ jpskill.com 編集部が参考用に選んだ動画です。動画の内容と Skill の挙動は厳密には一致しないことがあります。

📜 元の英語説明(参考)

Operate CoinGecko and GeckoTerminal market data APIs through UXC with a curated OpenAPI schema, API-key auth, and read-first guardrails.

🇯🇵 日本人クリエイター向け解説

一言でいうと

暗号資産の価格や市場データを提供するCoinGecko

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚡ おすすめ: コマンド1行でインストール(60秒)

下記のコマンドをコピーしてターミナル(Mac/Linux)または PowerShell(Windows)に貼り付けてください。 ダウンロード → 解凍 → 配置まで全自動。

🍎 Mac / 🐧 Linux
mkdir -p ~/.claude/skills && cd ~/.claude/skills && curl -L -o coingecko-openapi-skill.zip https://jpskill.com/download/4613.zip && unzip -o coingecko-openapi-skill.zip && rm coingecko-openapi-skill.zip
🪟 Windows (PowerShell)
$d = "$env:USERPROFILE\.claude\skills"; ni -Force -ItemType Directory $d | Out-Null; iwr https://jpskill.com/download/4613.zip -OutFile "$d\coingecko-openapi-skill.zip"; Expand-Archive "$d\coingecko-openapi-skill.zip" -DestinationPath $d -Force; ri "$d\coingecko-openapi-skill.zip"

完了後、Claude Code を再起動 → 普通に「動画プロンプト作って」のように話しかけるだけで自動発動します。

💾 手動でダウンロードしたい(コマンドが難しい人向け)
  1. 1. 下の青いボタンを押して coingecko-openapi-skill.zip をダウンロード
  2. 2. ZIPファイルをダブルクリックで解凍 → coingecko-openapi-skill フォルダができる
  3. 3. そのフォルダを C:\Users\あなたの名前\.claude\skills\(Win)または ~/.claude/skills/(Mac)へ移動
  4. 4. Claude Code を再起動

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-17
取得日時
2026-05-18
同梱ファイル
4

💬 こう話しかけるだけ — サンプルプロンプト

  • Coingecko Openapi Skill を使って、最小構成のサンプルコードを示して
  • Coingecko Openapi Skill の主な使い方と注意点を教えて
  • Coingecko Openapi Skill を既存プロジェクトに組み込む方法を教えて

これをClaude Code に貼るだけで、このSkillが自動発動します。

📖 Skill本文(日本語訳)

※ 原文(英語/中国語)を Gemini で日本語化したものです。Claude 自身は原文を読みます。誤訳がある場合は原文をご確認ください。

CoinGecko および GeckoTerminal スキル

このスキルを使用して、uxc + OpenAPI を介して CoinGecko の市場データと GeckoTerminal のオンチェーン DEX 操作を実行します。

共有の実行、認証、およびエラー処理のガイダンスについては、uxc スキルを再利用してください。

前提条件

  • uxc がインストールされており、PATH で利用可能です。
  • https://api.coingecko.com/api/v3 へのネットワークアクセス。
  • キュレーションされた OpenAPI スキーマ URL へのアクセス:
    • https://raw.githubusercontent.com/holon-run/uxc/main/skills/coingecko-openapi-skill/references/coingecko-market.openapi.json
  • CoinGecko Demo API キー。

スコープ

このスキルは、読み取り優先の市場データ表面をカバーしています。

  • API 稼働状況チェック
  • スポット価格検索
  • アセット ID 検出
  • 市場スクリーナーの読み取り
  • トレンドの読み取り
  • GeckoTerminal ネットワーク検出
  • オンチェーントークン価格検索
  • トレンドプールの読み取り

このスキルはカバーしていません

  • 選択された v1 スコープを超える有料またはエンタープライズ限定のメソッドファミリー
  • 履歴チャートまたは OHLC ファミリー
  • ポートフォリオ、NFT、またはオンチェーン取引の実行
  • 完全な CoinGecko または GeckoTerminal API

認証

デフォルトのホストは、x-cg-demo-api-key を使用した CoinGecko Demo 認証を使用します。

1つの API キー認証情報を設定し、api.coingecko.com/api/v3 にバインドします。

uxc auth credential set coingecko-demo \
  --auth-type api_key \
  --api-key-header x-cg-demo-api-key \
  --secret-env COINGECKO_DEMO_API_KEY

uxc auth binding add \
  --id coingecko-demo \
  --host api.coingecko.com \
  --path-prefix /api/v3 \
  --scheme https \
  --credential coingecko-demo \
  --priority 100

認証が正しくないように見える場合は、アクティブなマッピングを検証してください。

uxc auth binding match https://api.coingecko.com/api/v3

Pro ホストのオーバーライド

Pro プランをお持ちの場合は、同じキュレーションされたスキーマを保持し、別の認証情報、バインディング、およびリンクを作成してください。

uxc auth credential set coingecko-pro \
  --auth-type api_key \
  --api-key-header x-cg-pro-api-key \
  --secret-env COINGECKO_PRO_API_KEY

uxc auth binding add \
  --id coingecko-pro \
  --host pro-api.coingecko.com \
  --path-prefix /api/v3 \
  --scheme https \
  --credential coingecko-pro \
  --priority 100

uxc link coingecko-pro-openapi-cli https://pro-api.coingecko.com/api/v3 \
  --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/coingecko-openapi-skill/references/coingecko-market.openapi.json

コアワークフロー

  1. デフォルトでは、固定リンクコマンドを使用します。

    • command -v coingecko-openapi-cli
    • 見つからない場合は、作成します。 uxc link coingecko-openapi-cli https://api.coingecko.com/api/v3 --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/coingecko-openapi-skill/references/coingecko-market.openapi.json
    • coingecko-openapi-cli -h
  2. まず操作スキーマを検査します。

    • coingecko-openapi-cli get:/simple/price -h
    • coingecko-openapi-cli get:/coins/markets -h
    • coingecko-openapi-cli get:/onchain/simple/networks/{network}/token_price/{addresses} -h
  3. 広範な読み取りの前に、狭い読み取りの検証を優先します。

    • coingecko-openapi-cli get:/ping
    • coingecko-openapi-cli get:/coins/list include_platform=false
    • coingecko-openapi-cli get:/onchain/networks
  4. キー/値パラメーターで実行します。

    • coingecko-openapi-cli get:/simple/price ids=bitcoin,ethereum vs_currencies=usd
    • coingecko-openapi-cli get:/coins/markets vs_currency=usd ids=bitcoin,ethereum order=market_cap_desc per_page=10 page=1
    • coingecko-openapi-cli get:/onchain/simple/networks/{network}/token_price/{addresses} network=eth addresses=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48

操作グループ

市場データ

  • get:/ping
  • get:/simple/price
  • get:/coins/list
  • get:/coins/markets
  • get:/search/trending

GeckoTerminal オンチェーンデータ

  • get:/onchain/networks
  • get:/onchain/simple/networks/{network}/token_price/{addresses}
  • get:/onchain/networks/trending_pools

ガードレール

  • 自動化は JSON 出力エンベロープに保持し、--text は使用しないでください。
  • 安定したフィールドを最初に解析します: okkindprotocoldataerror
  • この v1 スキルは読み取り専用として扱ってください。ウォレット、取引、またはポートフォリオの変更サポートを暗示しないでください。
  • Demo ホストと Pro ホストは異なる API キーヘッダーを使用します。デフォルトの Demo 認証情報が Pro ホストに対して失敗する場合は、Demo ヘッダー名を再利用するのではなく、別の Pro 認証情報を作成してください。
  • Pro ホストは pro-api.coingecko.com/api/v3 に独自の認証バインディングが必要です。認証情報を作成するだけでは、リンクされた呼び出しが x-cg-pro-api-key を送信するのに十分ではありません。
  • CoinGecko のパブリックおよび Demo の制限は Pro よりも厳しくなっています。デフォルトの例は狭く保ち、明示的なユーザーの意図なしに大規模なページネーションループを避けてください。
  • このスキーマの GeckoTerminal エンドポイントは、キュレーションされた CoinGecko ホスト契約の残りの部分と同じ API ルートと認証フローを共有します。
  • coingecko-openapi-cli <operation> ...uxc https://api.coingecko.com/api/v3 --schema-url <coingecko_openapi_schema> <operation> ... と同等です。

参照

📜 原文 SKILL.md(Claudeが読む英語/中国語)を展開

CoinGecko And GeckoTerminal Skill

Use this skill to run CoinGecko market data and GeckoTerminal onchain DEX operations through uxc + OpenAPI.

Reuse the uxc skill for shared execution, auth, and error-handling guidance.

Prerequisites

  • uxc is installed and available in PATH.
  • Network access to https://api.coingecko.com/api/v3.
  • Access to the curated OpenAPI schema URL:
    • https://raw.githubusercontent.com/holon-run/uxc/main/skills/coingecko-openapi-skill/references/coingecko-market.openapi.json
  • A CoinGecko Demo API key.

Scope

This skill covers a read-first market data surface:

  • API liveness checks
  • spot price lookup
  • asset ID discovery
  • market screener reads
  • trending reads
  • GeckoTerminal network discovery
  • onchain token price lookup
  • trending pool reads

This skill does not cover:

  • paid or enterprise-only method families beyond the selected v1 scope
  • historical chart or OHLC families
  • portfolio, NFT, or onchain trade execution
  • the full CoinGecko or GeckoTerminal API

Authentication

The default host uses CoinGecko Demo auth with x-cg-demo-api-key.

Configure one API-key credential and bind it to api.coingecko.com/api/v3:

uxc auth credential set coingecko-demo \
  --auth-type api_key \
  --api-key-header x-cg-demo-api-key \
  --secret-env COINGECKO_DEMO_API_KEY

uxc auth binding add \
  --id coingecko-demo \
  --host api.coingecko.com \
  --path-prefix /api/v3 \
  --scheme https \
  --credential coingecko-demo \
  --priority 100

Validate the active mapping when auth looks wrong:

uxc auth binding match https://api.coingecko.com/api/v3

Pro Host Override

If you have a Pro plan, keep the same curated schema and create a separate credential, binding, and link:

uxc auth credential set coingecko-pro \
  --auth-type api_key \
  --api-key-header x-cg-pro-api-key \
  --secret-env COINGECKO_PRO_API_KEY

uxc auth binding add \
  --id coingecko-pro \
  --host pro-api.coingecko.com \
  --path-prefix /api/v3 \
  --scheme https \
  --credential coingecko-pro \
  --priority 100

uxc link coingecko-pro-openapi-cli https://pro-api.coingecko.com/api/v3 \
  --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/coingecko-openapi-skill/references/coingecko-market.openapi.json

Core Workflow

  1. Use the fixed link command by default:

    • command -v coingecko-openapi-cli
    • If missing, create it: uxc link coingecko-openapi-cli https://api.coingecko.com/api/v3 --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/coingecko-openapi-skill/references/coingecko-market.openapi.json
    • coingecko-openapi-cli -h
  2. Inspect operation schema first:

    • coingecko-openapi-cli get:/simple/price -h
    • coingecko-openapi-cli get:/coins/markets -h
    • coingecko-openapi-cli get:/onchain/simple/networks/{network}/token_price/{addresses} -h
  3. Prefer narrow read validation before broader reads:

    • coingecko-openapi-cli get:/ping
    • coingecko-openapi-cli get:/coins/list include_platform=false
    • coingecko-openapi-cli get:/onchain/networks
  4. Execute with key/value parameters:

    • coingecko-openapi-cli get:/simple/price ids=bitcoin,ethereum vs_currencies=usd
    • coingecko-openapi-cli get:/coins/markets vs_currency=usd ids=bitcoin,ethereum order=market_cap_desc per_page=10 page=1
    • coingecko-openapi-cli get:/onchain/simple/networks/{network}/token_price/{addresses} network=eth addresses=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48

Operation Groups

Market Data

  • get:/ping
  • get:/simple/price
  • get:/coins/list
  • get:/coins/markets
  • get:/search/trending

GeckoTerminal Onchain Data

  • get:/onchain/networks
  • get:/onchain/simple/networks/{network}/token_price/{addresses}
  • get:/onchain/networks/trending_pools

Guardrails

  • Keep automation on the JSON output envelope; do not use --text.
  • Parse stable fields first: ok, kind, protocol, data, error.
  • Treat this v1 skill as read-only. Do not imply wallet, trading, or portfolio mutation support.
  • Demo and Pro hosts use different API-key headers. If the default Demo credential fails against the Pro host, create a separate Pro credential rather than reusing the Demo header name.
  • The Pro host needs its own auth binding on pro-api.coingecko.com/api/v3; creating only a credential is not enough for linked calls to send x-cg-pro-api-key.
  • CoinGecko public and Demo limits are tighter than Pro. Keep default examples narrow and avoid large paginated loops without explicit user intent.
  • The GeckoTerminal endpoints in this schema share the same API root and auth flow as the rest of the curated CoinGecko host contract.
  • coingecko-openapi-cli <operation> ... is equivalent to uxc https://api.coingecko.com/api/v3 --schema-url <coingecko_openapi_schema> <operation> ....

References

同梱ファイル

※ ZIPに含まれるファイル一覧。`SKILL.md` 本体に加え、参考資料・サンプル・スクリプトが入っている場合があります。