# Defillama API

> Defillama API is an open-source agent skill for finance and payments. DefiLlama API integration for DeFi analytics - TVL, prices, yields, volumes, fees, bridges, and DAT data. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/plurigrid/asi/tree/main/plugins/asi/skills/defillama-api
- **Repository:** https://github.com/plurigrid/asi
- **GitHub stars:** 72
- **License:** MIT
- **Skill name:** defillama-api
- **Collection:** https://github.com/plurigrid/asi
- **Categories:** finance and payments
- **Listing updated:** 2026-11-17

## About

DefiLlama API integration for DeFi analytics - TVL, prices, yields, volumes, fees, bridges, and DAT data. Use for blockchain/DeFi research, protocol analysis, and market data queries.

## When your agent uses it

> DefiLlama API integration for DeFi analytics - TVL, prices, yields, volumes, fees, bridges, and DAT data. Use for blockchain/DeFi research, protocol analysis, and market data queries.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/plurigrid/asi/tree/HEAD/plugins/asi/skills/defillama-api)
- [License: MIT](https://github.com/plurigrid/asi/tree/HEAD/plugins/asi/skills/defillama-api)

## Install

### Claude Code

This skill ships in the `asi` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add plurigrid/asi
/plugin install asi@asi
```

Or copy only this skill to `~/.claude/skills/defillama-api`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/plurigrid/asi.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/defillama-api &&
cp -R "$tmp/plugins/asi/skills/defillama-api" ~/.claude/skills/defillama-api &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/defillama-api` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/defillama-api` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/plurigrid/asi.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/defillama-api &&
cp -R "$tmp/plugins/asi/skills/defillama-api" ~/.agents/skills/defillama-api &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/defillama-api` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/defillama-api` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/plurigrid/asi.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/defillama-api &&
cp -R "$tmp/plugins/asi/skills/defillama-api" ~/.cursor/skills/defillama-api &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/defillama-api` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/plurigrid/asi.git --path plugins/asi/skills/defillama-api
```

Or copy the folder to `~/.gemini/skills/defillama-api` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/defillama-api`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/plurigrid/asi.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/defillama-api &&
cp -R "$tmp/plugins/asi/skills/defillama-api" ~/.copilot/skills/defillama-api &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/defillama-api` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/plurigrid/asi.git
```

Then copy `asi/plugins/asi/skills/defillama-api` into your agent's skills folder as `defillama-api`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install Defillama API in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/defillama-api to use it in all your projects, or to .claude/skills/defillama-api in one project. Or install the asi plugin, which includes it: /plugin marketplace add plurigrid/asi, then /plugin install asi@asi.

### Does Defillama API run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Defillama API?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Defillama API?

The closest alternatives to Defillama API are Lightweight charts react components, Crypto protocol diagram, Upgrade stripe, Connect recommend and Stripe apps.

## Alternatives

- [Lightweight charts react components](https://ai-powered.com/skills/lightweight-charts-react-components): Lightweight charts react components is an open-source agent skill for finance and payments.
- [Crypto protocol diagram](https://ai-powered.com/skills/crypto-protocol-diagram): Crypto protocol diagram is an open-source agent skill for finance and payments.
- [Upgrade stripe](https://ai-powered.com/skills/upgrade-stripe): Upgrade stripe is an open-source agent skill for finance and payments.
- [Connect recommend](https://ai-powered.com/skills/connect-recommend): Connect recommend is an open-source agent skill for finance and payments.
- [Stripe apps](https://ai-powered.com/skills/stripe-apps): Stripe apps is an open-source agent skill for finance and payments.
- [Stripe projects](https://ai-powered.com/skills/stripe-projects): Stripe projects is an open-source agent skill for databases.
- [Stripe directory](https://ai-powered.com/skills/stripe-directory): Stripe directory is an open-source agent skill for finance and payments.
- [Stripe pay](https://ai-powered.com/skills/stripe-pay): Stripe pay is an open-source agent skill for finance and payments.

---
Source: https://ai-powered.com/skills/defillama-api
