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

Scope

This skill covers a small public read-only price surface on coins.llama.fi:

This skill does not cover:

Authentication

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

Guardrails

References