[Integrations](https://spiral.ai/integrations) › [Hermes](https://spiral.ai/integrations/hermes) › [DeFiLlama historical pool yields](https://spiral.ai/integrations/hermes/defillama-historical-pool-yields)

# How to Use DeFiLlama historical pool yields in Hermes

Returns historical APY and USD TVL observations for a specific pool. Use it to check whether a yield persisted and how pool size changed, rather than rely on a current ranking.

|  |  |
| --- | --- |
| Model | DeFiLlama historical 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 historical pool yields in Hermes

- Every Monday, use DeFiLlama historical pool yields for the Aave V3 Ethereum USDC pool already selected for this task. Summarize its available APY and TVL observations and compare the latest values with the previous week's.
- Every Monday at 9am: use DeFiLlama historical pool yields to look this up and give me the result as a table.
- Pull the latest numbers from DeFiLlama historical pool yields and tell me what changed since last week.
- Check DeFiLlama historical pool yields and summarize what you find in three bullet points.
- Pull the newest data from DeFiLlama historical pool yields and give me the result as a table.

## How to set up DeFiLlama historical pool yields in Hermes

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

### Use the Spiral skill

1. **Send Hermes 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 Spiral's MCP server

1. **Add the server and sign in**: Hermes opens your browser: sign in to Spiral and click Authorize. No API key. When Hermes asks Enable all tools? \[Y/n/select], answer Y: n cancels without saving the server, and select hides the tools you leave out.

```bash
hermes mcp add spiral \
  --url https://api.spiral.ai/mcp \
  --auth oauth \
  --connect-timeout 300
```

2. **Check it**: In a chat that was already open, run `/reload-mcp`.

```bash
hermes mcp list
hermes mcp test spiral
```

### 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 historical 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_pool_history",
    "input": {
      "pool": "<pool>"
    }
  }'
```

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

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

## DeFiLlama historical pool yields tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| limit | 1 to 4000 | 90 | Maximum points, newest first (1..4000, default 90). |

## What can you do with DeFiLlama historical pool yields in Hermes?

Receive a scheduled brief on stablecoin circulation and reported pool yields. An always-on agent can compare successive observations and flag supply, APY, or TVL changes that cross thresholds you choose.

### 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 Hermes guides](https://spiral.ai/integrations/hermes)

## DeFiLlama historical pool yields in other agents

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

## More Hermes guides

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

## Questions about DeFiLlama historical pool yields in Hermes

**Can Hermes use DeFiLlama historical pool yields?**

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

**How much does DeFiLlama historical pool yields cost in Hermes?**

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

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

No. Spiral runs DeFiLlama historical 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 historical pool yields in Hermes?**

About two minutes: add the server and sign in, then check it.

**Does Hermes wait while DeFiLlama historical pool yields runs?**

DeFiLlama historical pool yields runs in the background. Hermes 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.

