DefiLlama · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for DefiLlama Public TVL API

7 actions 7 updates phrasing extends openapi/defillama-tvl-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for DefiLlama's API. It is a proposal applied on top of the contract, not a document DefiLlama publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 7

$.info
$.paths['/protocols'].get
$.paths['/protocol/{protocol}'].get
$.paths['/tvl/{protocol}'].get
$.paths['/v2/historicalChainTvl'].get
$.paths['/v2/historicalChainTvl/{chain}'].get
$.paths['/v2/chains'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for DefiLlama Public TVL API
  version: 1.0.0
extends: openapi/defillama-tvl-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-21'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 6
- target: $.paths['/protocols'].get
  update:
    x-apievangelist-phrasing:
      intent: List DeFi protocols by TVL
      effect: read
      questions:
      - Which DeFi protocols have the highest TVL?
      - Can I get current TVL for every DeFi protocol at once?
      instructions:
      - text: List all DeFi protocols ranked by TVL.
      - text: Show every protocol with its current TVL.
      method: generated
      generated: '2026-11-21'
- target: $.paths['/protocol/{protocol}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a protocol's historical TVL
      effect: read
      questions:
      - How has a protocol's TVL changed over time?
      - Can I see a protocol's TVL broken down by chain and token?
      instructions:
      - text: Show historical TVL for {protocol}.
        slots:
          protocol: path.protocol
      - text: Get the chain and token breakdown of {protocol}'s TVL.
        slots:
          protocol: path.protocol
      method: generated
      generated: '2026-11-21'
- target: $.paths['/tvl/{protocol}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a protocol's current TVL
      effect: read
      questions:
      - What is a protocol's TVL right now?
      - Can I get just the current TVL for one protocol?
      instructions:
      - text: Get the current TVL of {protocol}.
        slots:
          protocol: path.protocol
      - text: Tell me how much TVL {protocol} holds today.
        slots:
          protocol: path.protocol
      method: generated
      generated: '2026-11-21'
- target: $.paths['/v2/historicalChainTvl'].get
  update:
    x-apievangelist-phrasing:
      intent: Get historical TVL across all chains
      effect: read
      questions:
      - How has total TVL across all chains moved over time?
      - Can I chart chain TVL history for every chain?
      instructions:
      - text: Show historical TVL across all chains.
      - text: Plot chain TVL history for every chain.
      method: generated
      generated: '2026-11-21'
- target: $.paths['/v2/historicalChainTvl/{chain}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a chain's historical TVL
      effect: read
      questions:
      - How has the total value locked on a single chain changed over time?
      - Can I pull the TVL history of one specific blockchain as a time series?
      - What did Ethereum's TVL look like historically, chain by chain rather than all combined?
      instructions:
      - text: Get the historical TVL for the {chain} chain.
        slots:
          chain: path.chain
      - text: Show how {chain}'s TVL trended day by day.
        slots:
          chain: path.chain
      method: generated
      generated: '2026-11-21'
- target: $.paths['/v2/chains'].get
  update:
    x-apievangelist-phrasing:
      intent: List chains by current TVL
      effect: read
      questions:
      - Which chains have the most TVL right now?
      - Can I get current TVL for every chain?
      instructions:
      - text: List all chains ranked by TVL.
      - text: Show current TVL for every chain.
      method: generated
      generated: '2026-11-21'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/defillama-tvl-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.