[Integrations](https://spiral.ai/integrations) › [Grok](https://spiral.ai/integrations/grok) › [DeFiLlama pool yields](https://spiral.ai/integrations/grok/defillama-pool-yields)

# How to Use DeFiLlama pool yields in Grok

Returns current pool records with chain, project, assets, USD TVL, APY, and base and reward components where available. Use it to compare pools and identify one for historical analysis.

|  |  |
| --- | --- |
| Model | DeFiLlama pool yields |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with DeFiLlama pool yields in Grok

- Use DeFiLlama pool yields to compare Aave V3 USDC pools on Ethereum and Base by reported APY and pool TVL.
- Use DeFiLlama pool yields to find Ethereum USDC pools with at least $10 million in TVL. Compare total yield with the base and reward portions where available.
- Use DeFiLlama pool yields to look this up and give me the result as a table.
- Pull the latest numbers from DeFiLlama pool yields and tell me what changed since last week.
- Check DeFiLlama pool yields and summarize what you find in three bullet points.

## How to set up DeFiLlama pool yields in Grok

Pick the way that suits you. Each takes about two minutes.

### Use the Grok connector

1. **Add a custom connector**: In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

3. **Check that it is connected**: Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

### Use the Spiral skill

1. **Send Grok this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run DeFiLlama pool yields**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "defillama-com/crypto/yield_pools",
    "input": {
      "sort": "tvl"
    }
  }'
```

Then paste one of the prompts above: Grok finds DeFiLlama pool yields on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/grok

## DeFiLlama pool yields tools and prices

- [DeFiLlama · Yield pools](https://spiral.ai/tools/alexandria/defillama-com/crypto/yield_pools) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| sort | tvl, apy | tvl | `tvl` (default) or `apy`, both descending. |
| chain |  | — | Chain name as DeFiLlama writes it; case-insensitive. |
| limit | 1 to 100 | 20 | Items per page (1..100, default 20). |
| symbol |  | — | Case-insensitive substring of the pool symbol (e.g. `USDC`). |
| project |  | — | Project slug (e.g. `lido`, `aave-v3`); case-insensitive. |
| min_tvl_usd |  | — | Drop pools below this TVL. |

## What can you do with DeFiLlama pool yields in Grok?

Get a readable comparison of USDC circulation or reported DeFi pool yields. A chat app can turn current records and historical observations into tables that explain what changed and over which period.

### Compare a chain's stablecoin market and pool yields

Compare current stablecoin supply and pool yields on Ethereum, then examine supply and pool histories to separate a recent change from a longer trend.

### Prepare a USDC research brief

Summarize USDC's current supply, historical supply changes, and the APY and TVL of selected USDC pools. Keep asset circulation and pool deposits as separate measurements.

### Review a market event

Identify stablecoins and pools to investigate, then compare their available supply, APY, and TVL observations around a chosen event date. Describe concurrent changes without claiming one caused another.

### Investigate an unusual reading

Check whether a surprising stablecoin supply or pool yield reading also appears in historical observations. Use current listings to confirm the asset, chain, project, and pool being compared.

### Check yield persistence

Find USDC pools with substantial TVL, then compare their historical APY ranges and medians. Identify which current readings are unusual relative to each pool's own record.

### Compare pool size and reported yield

Select Aave V3 pools on Ethereum and compare their current APY and TVL with historical observations. Identify periods when reported yield rose while pool TVL fell.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Grok guides](https://spiral.ai/integrations/grok)

## DeFiLlama pool yields in other agents

- [Amp](https://spiral.ai/integrations/amp/defillama-pool-yields)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/defillama-pool-yields)
- [Claude](https://spiral.ai/integrations/claude-desktop/defillama-pool-yields)
- [Claude Code](https://spiral.ai/integrations/claude-code/defillama-pool-yields)
- [Cline](https://spiral.ai/integrations/cline/defillama-pool-yields)
- [Codex](https://spiral.ai/integrations/codex/defillama-pool-yields)
- [Cursor](https://spiral.ai/integrations/cursor/defillama-pool-yields)
- [Devin](https://spiral.ai/integrations/devin/defillama-pool-yields)
- [dots](https://spiral.ai/integrations/dots/defillama-pool-yields)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/defillama-pool-yields)
- [Gemini](https://spiral.ai/integrations/gemini/defillama-pool-yields)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/defillama-pool-yields)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/defillama-pool-yields)
- [goose](https://spiral.ai/integrations/goose/defillama-pool-yields)
- [Grok Build](https://spiral.ai/integrations/grok-build/defillama-pool-yields)
- [Hermes](https://spiral.ai/integrations/hermes/defillama-pool-yields)
- [Instinct](https://spiral.ai/integrations/instinct/defillama-pool-yields)
- [Manus](https://spiral.ai/integrations/manus/defillama-pool-yields)
- [Muse](https://spiral.ai/integrations/muse/defillama-pool-yields)
- [Muse Code](https://spiral.ai/integrations/muse-code/defillama-pool-yields)
- [n8n](https://spiral.ai/integrations/n8n/defillama-pool-yields)
- [Notion](https://spiral.ai/integrations/notion/defillama-pool-yields)
- [OpenClaw](https://spiral.ai/integrations/openclaw/defillama-pool-yields)
- [opencode](https://spiral.ai/integrations/opencode/defillama-pool-yields)
- [Perplexity](https://spiral.ai/integrations/perplexity/defillama-pool-yields)
- [Raycast](https://spiral.ai/integrations/raycast/defillama-pool-yields)
- [VS Code](https://spiral.ai/integrations/vscode/defillama-pool-yields)
- [Windsurf](https://spiral.ai/integrations/windsurf/defillama-pool-yields)
- [Zapier](https://spiral.ai/integrations/zapier/defillama-pool-yields)

## More Grok guides

- [DeFiLlama historical stablecoin supply](https://spiral.ai/integrations/grok/defillama-historical-stablecoin-supply)
- [DeFiLlama protocol TVL details](https://spiral.ai/integrations/grok/defillama-protocol-tvl-details)
- [DeFiLlama historical pool yields](https://spiral.ai/integrations/grok/defillama-historical-pool-yields)
- [DeFiLlama protocol TVL rankings](https://spiral.ai/integrations/grok/defillama-protocol-tvl-rankings)
- [DeFiLlama crypto hacks](https://spiral.ai/integrations/grok/defillama-crypto-hacks)
- [DeFiLlama protocol fees and volume history](https://spiral.ai/integrations/grok/defillama-protocol-fees-and-volume-history)

## Questions about DeFiLlama pool yields in Grok

**Can Grok use DeFiLlama pool yields?**

Yes. Add Spiral to Grok as an MCP server, and Grok can find and run DeFiLlama pool yields like any built-in tool.

**How much does DeFiLlama pool yields cost in Grok?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.

**Do I need an Alexandria account to use DeFiLlama pool yields in Grok?**

No. Spiral runs DeFiLlama pool yields on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up DeFiLlama pool yields in Grok?**

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

**Does Grok wait while DeFiLlama pool yields runs?**

DeFiLlama pool yields runs in the background. Grok starts the run, checks on it and gives you the json when it's ready.

**How often does DeFiLlama refresh these datasets?**

DeFiLlama documents hourly stablecoin supply updates, and its public yield pipeline schedules collection every hour. These are hourly snapshots, so repeated checks within a few minutes may return unchanged observations.

**Why can the API disagree with DeFiLlama's website?**

DeFiLlama updates the API before its website. Its FAQ says website caching can produce a delay of up to one hour.

**Does stablecoin supply measure the same thing as pool TVL?**

Stablecoin supply measures circulating tokens; DeFiLlama's stablecoin market cap multiplies that supply by price and excludes burned and non-issued tokens. Yield records describe individual pools with USD TVL and APY, so a pool's TVL is not an asset's total circulating supply.

**What period underlies fee-based APY?**

DeFiLlama instructs adapters to calculate fee-based APY over a 24-hour window. Historical pool observations let you examine how that reported annualized rate changed over time.

**Can I republish or resell DeFiLlama data?**

DeFiLlama's terms require permission to republish data in any form or resell data or access to it. Public availability does not grant unrestricted redistribution rights.

