Install
openclaw skills install coingecko-openapi-skillOperate CoinGecko and GeckoTerminal market data APIs through UXC with a curated OpenAPI schema, API-key auth, and read-first guardrails.
openclaw skills install coingecko-openapi-skillUse 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.
uxc is installed and available in PATH.https://api.coingecko.com/api/v3.https://raw.githubusercontent.com/holon-run/uxc/main/skills/coingecko-openapi-skill/references/coingecko-market.openapi.jsonThis skill covers a read-first market data surface:
This skill does not cover:
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
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
Use the fixed link command by default:
command -v coingecko-openapi-cliuxc 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.jsoncoingecko-openapi-cli -hInspect operation schema first:
coingecko-openapi-cli get:/simple/price -hcoingecko-openapi-cli get:/coins/markets -hcoingecko-openapi-cli get:/onchain/simple/networks/{network}/token_price/{addresses} -hPrefer narrow read validation before broader reads:
coingecko-openapi-cli get:/pingcoingecko-openapi-cli get:/coins/list include_platform=falsecoingecko-openapi-cli get:/onchain/networksExecute with key/value parameters:
coingecko-openapi-cli get:/simple/price ids=bitcoin,ethereum vs_currencies=usdcoingecko-openapi-cli get:/coins/markets vs_currency=usd ids=bitcoin,ethereum order=market_cap_desc per_page=10 page=1coingecko-openapi-cli get:/onchain/simple/networks/{network}/token_price/{addresses} network=eth addresses=0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48get:/pingget:/simple/priceget:/coins/listget:/coins/marketsget:/search/trendingget:/onchain/networksget:/onchain/simple/networks/{network}/token_price/{addresses}get:/onchain/networks/trending_pools--text.ok, kind, protocol, data, error.pro-api.coingecko.com/api/v3; creating only a credential is not enough for linked calls to send x-cg-pro-api-key.coingecko-openapi-cli <operation> ... is equivalent to uxc https://api.coingecko.com/api/v3 --schema-url <coingecko_openapi_schema> <operation> ....references/usage-patterns.mdreferences/coingecko-market.openapi.json