DefiLlama Prices OpenAPI Skill
by @jolestar
Operate DefiLlama public price APIs through UXC with a curated OpenAPI schema and read-first guardrails.
clawhub install defillama-prices-openapi-skillπ About This Skill
name: defillama-prices-openapi-skill description: Operate DefiLlama public price APIs through UXC with a curated OpenAPI schema and read-first guardrails.
DefiLlama Prices API Skill
Use this skill to run DefiLlama public price API operations through uxc + OpenAPI.
Reuse the uxc skill for shared execution, auth, and error-handling guidance.
Prerequisites
uxc is installed and available in PATH.https://coins.llama.fi.https://raw.githubusercontent.com/holon-run/uxc/main/skills/defillama-prices-openapi-skill/references/defillama-prices.openapi.jsonScope
This skill covers a small public read-only price surface on coins.llama.fi:
This skill does not cover:
api.llama.fiyields.llama.fiAuthentication
This public skill does not require authentication.
Core Workflow
1. Use the fixed link command by default:
- command -v defillama-prices-openapi-cli
- If missing, create it:
uxc link defillama-prices-openapi-cli https://coins.llama.fi --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/defillama-prices-openapi-skill/references/defillama-prices.openapi.json
- defillama-prices-openapi-cli -h
2. Inspect operation schema first:
- defillama-prices-openapi-cli get:/prices/current/{coins} -h
3. Prefer narrow read validation before broader reads:
- defillama-prices-openapi-cli get:/prices/current/{coins} coins=coingecko:bitcoin searchWidth=4h
Operations
get:/prices/current/{coins}Guardrails
--text.ok, kind, protocol, data, error.coins.llama.fi; use the separate public analytics or yields skills for other DefiLlama hosts.defillama-prices-openapi-cli ... is equivalent to uxc https://coins.llama.fi --schema-url ... .References
references/usage-patterns.mdreferences/defillama-prices.openapi.jsonβοΈ Configuration
uxc is installed and available in PATH.https://coins.llama.fi.https://raw.githubusercontent.com/holon-run/uxc/main/skills/defillama-prices-openapi-skill/references/defillama-prices.openapi.json