DefiLlama · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for DefiLlama Public Coins API

8 actions 8 updates phrasing extends openapi/defillama-coins-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 8

$.info
$.paths['/prices/current/{coins}'].get
$.paths['/prices/historical/{timestamp}/{coins}'].get
$.paths['/batchHistorical'].get
$.paths['/chart/{coins}'].get
$.paths['/percentage/{coins}'].get
$.paths['/prices/first/{coins}'].get
$.paths['/block/{chain}/{timestamp}'].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 Coins API
  version: 1.0.0
extends: openapi/defillama-coins-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: 7
- target: $.paths['/prices/current/{coins}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get current token prices by contract
      effect: read
      questions:
      - What is the current price of a token by its contract address?
      - Can I look up several tokens' prices right now?
      instructions:
      - text: Get the current price of {coins}.
        slots:
          coins: path.coins
      - text: Show today's price for token contract addresses {coins}.
        slots:
          coins: path.coins
      method: generated
      generated: '2026-11-21'
- target: $.paths['/prices/historical/{timestamp}/{coins}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get token prices at a past timestamp
      effect: read
      questions:
      - What was the price of a token at a specific past moment?
      - Can I get historical prices for several coins at once?
      instructions:
      - text: Get the price of {coins} at {timestamp}.
        slots:
          coins: path.coins
          timestamp: path.timestamp
      - text: Look up historical prices for {coins} recorded at {timestamp}.
        slots:
          coins: path.coins
          timestamp: path.timestamp
      method: generated
      generated: '2026-11-21'
- target: $.paths['/batchHistorical'].get
  update:
    x-apievangelist-phrasing:
      intent: Batch historical token prices
      effect: read
      questions:
      - Can I fetch historical prices for many coins across timestamps in one call?
      - Is there a bulk endpoint for historical token prices?
      instructions:
      - text: Batch historical prices for {coins}.
        slots:
          coins: query.coins
      - text: 'Fetch historical prices for these coins and timestamps: {coins}.'
        slots:
          coins: query.coins
      method: generated
      generated: '2026-11-21'
- target: $.paths['/chart/{coins}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a token price chart over time
      effect: read
      questions:
      - Can I see a price chart for a token over time?
      - What does the price history look like for a coin?
      instructions:
      - text: Get the price chart for {coins}.
        slots:
          coins: path.coins
      - text: Show the price history of {coins} over time.
        slots:
          coins: path.coins
      method: generated
      generated: '2026-11-21'
- target: $.paths['/percentage/{coins}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get price percent change for coins
      effect: read
      questions:
      - What is the percent change in price for a token?
      - Can I compare a token's price to its price a day ago?
      instructions:
      - text: Get the price percent change for {coins}.
        slots:
          coins: path.coins
      - text: Show how much {coins} have changed in price.
        slots:
          coins: path.coins
      method: generated
      generated: '2026-11-21'
- target: $.paths['/prices/first/{coins}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the first recorded price for coins
      effect: read
      questions:
      - What was the very first price recorded for a token?
      - Where do I find a coin's earliest price?
      instructions:
      - text: Get the first recorded price for {coins}.
        slots:
          coins: path.coins
      - text: Show the earliest price ever recorded for {coins}.
        slots:
          coins: path.coins
      method: generated
      generated: '2026-11-21'
- target: $.paths['/block/{chain}/{timestamp}'].get
  update:
    x-apievangelist-phrasing:
      intent: Find the block closest to a timestamp
      effect: read
      questions:
      - Which block on a chain was closest to a given timestamp?
      - Can I find the block number for a past moment on a chain?
      instructions:
      - text: Find the block on {chain} closest to {timestamp}.
        slots:
          chain: path.chain
          timestamp: path.timestamp
      - text: Get the {chain} block number nearest to {timestamp}.
        slots:
          chain: path.chain
          timestamp: path.timestamp
      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-coins-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.