← 返回
未分类 中文

DefiLlama Yields OpenAPI Skill

Operate DefiLlama public yield APIs through UXC with a curated OpenAPI schema and read-first guardrails.
通过UXC使用DefiLlama公共收益API,配备精选OpenAPI模式和读取优先护栏。
jolestar jolestar 来源
未分类 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 485
下载
💾 2
安装
1
版本
#latest

概述

DefiLlama Yields API Skill

Use this skill to run DefiLlama public yield 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.
  • Network access to https://yields.llama.fi.
  • Access to the curated OpenAPI schema URL:
  • https://raw.githubusercontent.com/holon-run/uxc/main/skills/defillama-yields-openapi-skill/references/defillama-yields.openapi.json

Scope

This skill covers a public read-only yield surface on yields.llama.fi:

  • yield pool discovery
  • per-pool chart history

This skill does not cover:

  • write operations
  • protocol or chain overview endpoints from api.llama.fi
  • price endpoints from coins.llama.fi
  • DefiLlama Pro APIs

Authentication

This public skill does not require authentication.

Core Workflow

  1. Use the fixed link command by default:
    • command -v defillama-yields-openapi-cli
    • If missing, create it:

uxc link defillama-yields-openapi-cli https://yields.llama.fi --schema-url https://raw.githubusercontent.com/holon-run/uxc/main/skills/defillama-yields-openapi-skill/references/defillama-yields.openapi.json

  • defillama-yields-openapi-cli -h
  1. Inspect operation schema first:
    • defillama-yields-openapi-cli get:/pools -h
    • defillama-yields-openapi-cli get:/chart/{pool} -h
  1. Prefer narrow read validation before broader reads:
    • defillama-yields-openapi-cli get:/pools
    • defillama-yields-openapi-cli get:/chart/{pool} pool=747c1d2a-c668-4682-b9f9-296708a3dd90

Operations

  • get:/pools
  • get:/chart/{pool}

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.
  • Public DefiLlama data is split across multiple hosts; this skill intentionally wraps only yields.llama.fi.
  • defillama-yields-openapi-cli ... is equivalent to uxc https://yields.llama.fi --schema-url ....

References

  • Usage patterns: references/usage-patterns.md
  • Curated OpenAPI schema: references/defillama-yields.openapi.json
  • DefiLlama API docs: https://defillama.com/docs/api

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 14:53 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

data-analysis

Data Analysis

ivangdavila
{"answer":"数据分析与可视化。查询数据库、生成报告、自动化电子表格,将原始数据转化为清晰可行的见解。适用于:(1) 您……"}
★ 218 📥 71,638
data-analysis

AdMapix

fly0pants
AdMapix 原始数据层,提供广告创意、应用、排名、下载/收入及市场元数据。返回 AdMapix API 的结构化 JSON;调用方...
★ 298 📥 143,067
ai-agent

Discord OpenAPI Skill

jolestar
通过UXC操作Discord HTTP API,使用Discord OpenAPI模式。建议使用Bot令牌以获取完整API访问权限(包括消息和服务器管理)。支持OAuth2...
★ 0 📥 1,075