https://llamawrapper-prod.onrender.com/.well-known/ai-plugin.json
{
"api": {
"is_user_authenticated": false,
"type": "openapi",
"url": "https://llamawrapper-prod.onrender.com/openapi.yaml"
},
"auth": {
"type": "none"
},
"contact_email": "kufuorkofi@gmail.com",
"description_for_human": "Retrieve data on DeFi protocols and blockchains.",
"description_for_model": "Get current and historical stats on DeFi protocols and blockchains. Always display results using markdown tables. If a user asks about a protocol, use the /get_slug endpoint to retrieve its slug and the /get_defillamaId to get its defillamaId where necessary.",
"legal_info_url": "https://defillama.com/chatgptplugin",
"logo_url": "https://i.imgur.com/bSJRFvE.png",
"name_for_human": "Defillama",
"name_for_model": "defillama",
"schema_version": "v1"
}
https://llamawrapper-prod.onrender.com/openapi.yaml
openapi: 3.0.1
info:
title: Defillama
description: Get current and historical stats on DeFi protocols and blockchains.
version: "v1"
servers:
- url: https://llamawrapper-prod.onrender.com
paths:
/protocol/{slug}:
get:
operationId: getProtocol
summary: Get descriptive information and current stats of a protocol.
parameters:
- in: path
name: slug
schema:
type: string
example: lido
required: true
description: Used to filter protocols by their slug.
responses:
'200':
description: OK
'404':
description: Protocol not found
'500':
description: Could not retrieve protocols.
/tvl/{slug}:
get:
operationId: getProtocolTvl
description: Get the current TVL of a protocol.
parameters:
- in: path
name: slug
schema:
type: string
example: uniswap
required: true
description: Used to filter protocols by their slug.
responses:
'200':
description: OK
'500':
description: Could not retrieve TVL data.
/top_gainers/{num_protocols}:
get:
operationId: getTopGainers
summary: Get the protocols that gained the most TVL.
parameters:
- in: path
name: num_protocols
schema:
type: integer
example: 10
required: true
description: The number of top gainers you want to see. Default to 10.
- in: query
name: min_tvl
schema:
type: number
format: float
example: 1000000
required: false
description: The minimum TVL that a protocol should have to be included. Defaults to 100000.
- in: query
name: time_period
schema:
type: string
enum: ['hour', 'day', 'week']
example: 'day'
required: false
description: The time period in which the change occured. Can be 'hour', 'day', or 'week'. Defaults to 'week'.
- in: query
name: category
schema:
type: string
enum:
- "liquid staking"
- "dexes"
- "lending"
- "bridge"
- "CDP"
- "yield"
- "services"
- "derivatives"
- "yield aggregator"
- "cross chain"
- "launchpad"
- "indexes"
- "synthetics"
- "RWA"
- "liquidity manager"
- "nft lending"
- "insurance"
- "algo-stables"
- "privacy"
- "payments"
- "leveraged farming"
- "nft marketplace"
- "options"
- "options vault"
- "staking pool"
- "prediction market"
- "farm"
- "uncollateralized lending"
- "reserve currency"
- "RWA lending"
- "gaming"
- "oracle"
example: liquid staking
required: false
description: Category to filter protocols by.
- name: chain
in: query
description: Name of the chain or L2 to filter protocols by.
required: false
schema:
type: string
example: ethereum
responses:
'200':
description: OK
'500':
description: Error processing data or Could not retrieve protocols.
/top_growers/{num_protocols}:
get:
operationId: getTopGrowers
summary: Get the protocols that had the highest percentage growth in TVL.
parameters:
- in: path
name: num_protocols
schema:
type: integer
example: 10
required: true
description: The number of top gainers you want to see. Default to 10.
- in: query
name: min_tvl
schema:
type: number
format: float
example: 1000000
required: false
description: The minimum TVL that a protocol should have to be included. Defaults to 100000.
- in: query
name: time_period
schema:
type: string
enum: ['hour', 'day', 'week']
example: 'day'
required: false
description: The time period in which the change occured. Can be 'hour', 'day', or 'week'. Defaults to 'week'.
- in: query
name: category
schema:
type: string
enum:
- "liquid staking"
- "dexes"
- "lending"
- "bridge"
- "CDP"
- "yield"
- "services"
- "derivatives"
- "yield aggregator"
- "cross chain"
- "launchpad"
- "indexes"
- "synthetics"
- "RWA"
- "liquidity manager"
- "nft lending"
- "insurance"
- "algo-stables"
- "privacy"
- "payments"
- "leveraged farming"
- "nft marketplace"
- "options"
- "options vault"
- "staking pool"
- "prediction market"
- "farm"
- "uncollateralized lending"
- "reserve currency"
- "RWA lending"
- "gaming"
- "oracle"
example: liquid staking
required: false
description: Category to filter protocols by.
- name: chain
in: query
description: Name of the chain or L2 to filter protocols by.
required: false
schema:
type: string
example: ethereum
responses:
'200':
description: OK
'500':
description: Error processing data or Could not retrieve protocols.
/top_losers/{num_protocols}:
get:
operationId: getTopLosers
summary: Get the protocols that lost the most TVl.
parameters:
- in: path
name: num_protocols
schema:
type: integer
example: 10
required: true
description: The number of top gainers you want to see. Default to 10.
- in: query
name: min_tvl
schema:
type: number
format: float
example: 1000000
required: false
description: The minimum TVL that a protocol should have to be included. Defaults to 100000.
- in: query
name: time_period
schema:
type: string
enum: ['hour', 'day', 'week']
example: 'day'
required: false
description: The time period in which the change occured. Can be 'hour', 'day', or 'week'. Defaults to 'week'.
- in: query
name: category
schema:
type: string
enum:
- "liquid staking"
- "dexes"
- "lending"
- "bridge"
- "CDP"
- "yield"
- "services"
- "derivatives"
- "yield aggregator"
- "cross chain"
- "launchpad"
- "indexes"
- "synthetics"
- "RWA"
- "liquidity manager"
- "nft lending"
- "insurance"
- "algo-stables"
- "privacy"
- "payments"
- "leveraged farming"
- "nft marketplace"
- "options"
- "options vault"
- "staking pool"
- "prediction market"
- "farm"
- "uncollateralized lending"
- "reserve currency"
- "RWA lending"
- "gaming"
- "oracle"
example: liquid staking
required: false
description: Category to filter protocols by.
- name: chain
in: query
description: Name of the chain or L2 to filter protocols by.
required: false
schema:
type: string
example: ethereum
responses:
'200':
description: OK
'500':
description: Error processing data or Could not retrieve protocols.
/top_shrinkers/{num_protocols}:
get:
operationId: getTopShrinkers
summary: Get the protocols that had the highest percentage loss in terms of TVl.
parameters:
- in: path
name: num_protocols
schema:
type: integer
example: 10
required: true
description: The number of top gainers you want to see. Default to 10.
- in: query
name: min_tvl
schema:
type: number
format: float
example: 1000000
required: false
description: The minimum TVL that a protocol should have to be included. Defaults to 100000.
- in: query
name: time_period
schema:
type: string
enum: ['hour', 'day', 'week']
example: 'day'
required: false
description: The time period in which the change occured. Can be 'hour', 'day', or 'week'. Defaults to 'week'.
- in: query
name: category
schema:
type: string
enum:
- "liquid staking"
- "dexes"
- "lending"
- "bridge"
- "CDP"
- "yield"
- "services"
- "derivatives"
- "yield aggregator"
- "cross chain"
- "launchpad"
- "indexes"
- "synthetics"
- "RWA"
- "liquidity manager"
- "nft lending"
- "insurance"
- "algo-stables"
- "privacy"
- "payments"
- "leveraged farming"
- "nft marketplace"
- "options"
- "options vault"
- "staking pool"
- "prediction market"
- "farm"
- "uncollateralized lending"
- "reserve currency"
- "RWA lending"
- "gaming"
- "oracle"
example: liquid staking
required: false
description: Category to filter protocols by.
- name: chain
in: query
description: Name of the chain or L2 to filter protocols by.
required: false
schema:
type: string
example: ethereum
responses:
'200':
description: OK
'500':
description: Error processing data or Could not retrieve protocols.
/historical_protocol_tvl/{slug}:
get:
operationId: getHistoricalProtocolTVL
summary: Get historical TVL data of a protocl.
parameters:
- in: path
name: slug
schema:
type: string
example: lido
required: true
description: Used to filter protocols by their slug.
responses:
'200':
description: OK
'500':
description: Could not retrieve protocol data.
/get_slug:
get:
operationId: getSlug
summary: Get the slug most similar to the given text.
parameters:
- in: query
name: text
schema:
type: string
example: uniswap
required: true
description: The text to match against the available slugs.
responses:
'200':
description: OK
'404':
description: No matching slug found.
'500':
description: Could not retrieve protocol.
/get_protocol_fees:
get:
operationId: getProtocolFees
summary: Get the fees earned by a protocol
parameters:
- name: defillamaId
in: query
description: The DefiLlamaID of the protocol
required: true
schema:
type: string
- name: time_period
in: query
description: The time period in which the fees were collected. Can be 'day', 'week', or 'month'. Defaults to 'month'.
required: false
schema:
type: string
enum: ["day", "week", "month"]
responses:
"200":
description: OK
'400':
description: Missing defillamaId parameter or Invalid time_period parameter.
'404':
description: No protocol found with the given defillamaId.
'500':
description: Could not retrieve protocol.
/top_protocol_fees:
get:
operationId: getTopProtocolFees
summary: Get the protocols that have earned the most fees.
parameters:
- name: num_protocols
in: query
description: The number of top protocols to return. Default to 10.
required: false
schema:
type: integer
- name: time_period
in: query
description: The time period in which the fees were collected. Can be 'day', 'week', or 'month'. Defaults to 'month'.
required: false
schema:
type: string
enum: ["day", "week", "month"]
- name: chain
in: query
description: Name of the blockchain or L2 to filter protocol fees by.
required: false
schema:
type: string
- in: query
name: category
schema:
type: string
enum:
- "liquid staking"
- "dexes"
- "lending"
- "bridge"
- "CDP"
- "yield"
- "services"
- "derivatives"
- "yield aggregator"
- "cross chain"
- "launchpad"
- "indexes"
- "synthetics"
- "RWA"
- "liquidity manager"
- "nft lending"
- "insurance"
- "algo-stables"
- "privacy"
- "payments"
- "leveraged farming"
- "nft marketplace"
- "options"
- "options vault"
- "staking pool"
- "prediction market"
- "farm"
- "uncollateralized lending"
- "reserve currency"
- "RWA lending"
- "gaming"
- "oracle"
example: liquid staking
required: false
description: Category to filter protocols by.
responses:
"200":
description: OK
'400':
description: Invalid time_period parameter.
'500':
description: Could not retrieve fee data.
/get_defillamaId:
get:
operationId: getDefiLlamaID
summary: Get the DefiLlamaID of a protocol
parameters:
- name: text
in: query
description: The name of the protocol
required: true
schema:
type: string
example: uniswap
responses:
"200":
description: OK
'404':
description: No fee and revenue data for this protocol.
'500':
description: Could not retrieve protocol.
/get_protocol_revenue:
get:
operationId: getProtocolRevenue
summary: Get the revenue earned by a protocol
parameters:
- name: defillamaId
in: query
description: The DefiLlamaID of the protocol
required: true
schema:
type: string
- name: time_period
in: query
description: The time period in which the revenue was earned. Can be 'day', 'week', or 'month'. Defaults to 'month'.
required: false
schema:
type: string
enum: ["day", "week", "month"]
responses:
"200":
description: OK
'400':
description: Missing defillamaId parameter or invalid time_period parameter.
'404':
description: No protocol found with the given defillamaId.
'500':
description: Could not retrieve protocol.
/top_protocol_revenue:
get:
operationId: getTopProtocolRevenue
summary: Get the protocols that have earned the most revenue.
parameters:
- name: num_protocols
in: query
description: The number of top protocols to return. Default to 10.
required: false
schema:
type: integer
- name: time_period
in: query
description: The time period in which the revenue was earned. Can be 'day', 'week', or 'month'. Defaults to 'month'.
required: false
schema:
type: string
enum: ["day", "week", "month"]
- name: chain
in: query
description: Name of the blockchain or L2 to filter protocol revenue by.
required: false
schema:
type: string
- in: query
name: category
schema:
type: string
enum:
- "liquid staking"
- "dexes"
- "lending"
- "bridge"
- "CDP"
- "yield"
- "services"
- "derivatives"
- "yield aggregator"
- "cross chain"
- "launchpad"
- "indexes"
- "synthetics"
- "RWA"
- "liquidity manager"
- "nft lending"
- "insurance"
- "algo-stables"
- "privacy"
- "payments"
- "leveraged farming"
- "nft marketplace"
- "options"
- "options vault"
- "staking pool"
- "prediction market"
- "farm"
- "uncollateralized lending"
- "reserve currency"
- "RWA lending"
- "gaming"
- "oracle"
example: liquid staking
required: false
description: Category to filter protocols by.
responses:
"200":
description: OK
'400':
description: Invalid time_period parameter.
'500':
description: Could not retrieve revenue data.
/get_chain_tvl:
get:
operationId: getChainTVL
summary: Get the TVL for a specific chain or L2.
parameters:
- name: chain
in: query
description: Name of the chain or L2 to retrieve TVL for.
required: false
schema:
type: string
example: ethereum
responses:
'200':
description: OK
'404':
description: No chain found with the provided name.
'500':
description: Could not retrieve chain data.
/get_chain_tvl_change:
get:
operationId: getChainTVLChange
summary: Get the change in TVL for a specific chain or L2 over a given time period.
parameters:
- name: chain
in: query
description: Name of the chain or L2 to retrieve TVL change for.
required: true
schema:
type: string
example: ethereum
- name: time_period
in: query
description: Time period for TVL change calculation. Can be day, week or month.
required: false
schema:
type: string
enum: [day, week, month]
default: month
responses:
'200':
description: OK
'404':
description: No chain found with the provided name.
'500':
description: Could not retrieve chain data.
/get_net_bridge_flow:
get:
operationId: getNetBridgeFlow
summary: Get the net bridge flow for a specific chain or L2 over a given time period.
parameters:
- name: chain
in: query
description: Name of the chain or L2 to retrieve net bridge flow for.
required: true
schema:
type: string
example: ethereum
- name: time_period
in: query
description: Time period for net bridge flow calculation. Can be day, week or month.
required: false
schema:
type: string
enum: [day, week, month]
default: month
responses:
'200':
description: OK
'500':
description: Internal server error
/get_all_net_bridge_flows:
get:
operationId: getAllNetBridgeFlows
summary: Get the net bridge flow for all chains and L2s over a given time period.
parameters:
- name: time_period
in: query
description: Time period for net bridge flow calculation. Can be day, week or month.
required: false
schema:
type: string
enum: [day, week, month]
default: month
responses:
'200':
description: OK
'500':
description: Internal server error
/get_top_yields:
get:
operationId: getTopYields
summary: Get the top yielding pools.
parameters:
- name: num_pools
in: query
description: Number of pools to retrieve. Default is 10.
required: false
schema:
type: integer
minimum: 1
default: 10
- name: chain
in: query
description: Name of the chain or L2 to filter pools by.
required: false
schema:
type: string
example: ethereum
- name: stablecoin
in: query
description: Flag indicating whether to filter for stablecoin yield pools.
required: false
schema:
type: boolean
- name: token
in: query
description: Token or token pair to filter pools by.
required: false
schema:
type: string
examples:
singleToken:
value: 'BTC'
summary: Single token
dualTokenDash:
value: 'RADAR-WBNB'
summary: Two tokens separated by a dash
dualTokenSlash:
value: 'ETH/XVS'
summary: Two tokens separated by a slash
- name: single_sided
in: query
description: Flag indicating whether to filter for single-sided yield pools.
required: false
schema:
type: boolean
- name: outlook
in: query
description: Future outlook for the yield of this pool.
required: false
schema:
type: string
enum:
- "stable"
- "up"
- "down"
example: up
responses:
'200':
description: OK
'500':
description: Internal server error
/get_features:
get:
operationId: getFeatures
summary: Get information about what this plugin can do.
responses:
'200':
description: OK
/get_feedback_form:
get:
operationId: getFeedbackForm
summary: Get link to a form where you can give feedback on the plugin.
responses:
'200':
description: OK
/top_chain_gainers:
get:
operationId: getTopChainGainers
summary: Get the chains that have gained the most TVL.
parameters:
- in: query
name: num_chains
schema:
type: integer
example: 5
required: false
description: The number of top gainers you want to see. Defaults to 5.
- in: query
name: min_tvl
schema:
type: number
format: float
example: 1000000
required: false
description: The minimum TVL that a chain should have to be included. Defaults to 10000.
- in: query
name: time_period
schema:
type: string
enum: ['day', 'week', 'month']
example: 'week'
required: false
description: The time period in which the change occurred. Can be 'day', 'week', or 'month'. Defaults to 'week'.
responses:
'200':
description: A list of the top chain gainers.
'400':
description: Invalid time period provided
/top_chain_growers:
get:
operationId: getTopChainGrowers
summary: Get the chains that have the highest percentage growth in TVL
parameters:
- in: query
name: num_chains
schema:
type: integer
example: 5
required: false
description: The number of top gainers you want to see. Defaults to 5.
- in: query
name: min_tvl
schema:
type: number
format: float
example: 1000000
required: false
description: The minimum TVL that a chain should have to be included. Defaults to 10000.
- in: query
name: time_period
schema:
type: string
enum: ['day', 'week', 'month']
example: 'week'
required: false
description: The time period in which the change occurred. Can be 'day', 'week', or 'month'. Defaults to 'week'.
responses:
'200':
description: A list of the top chain gainers.
'400':
description: Invalid time period provided
/top_chain_losers:
get:
operationId: getTopChainLosers
summary: Get the chains that have lost the most TVL.
parameters:
- in: query
name: num_chains
schema:
type: integer
example: 5
required: false
description: The number of top losers you want to see. Defaults to 5.
- in: query
name: min_tvl
schema:
type: number
format: float
example: 1000000
required: false
description: The minimum TVL that a chain should have to be included. Defaults to 10000.
- in: query
name: time_period
schema:
type: string
enum: ['day', 'week', 'month']
example: 'week'
required: false
description: The time period in which the change occurred. Can be 'day', 'week', or 'month'. Defaults to 'week'.
responses:
'200':
description: A list of the top chain losers.
'400':
description: Invalid time period provided
/top_chain_shrinkers:
get:
operationId: getTopChainShrinkers
summary: Get the chains that the highest percentage loss in TVL.
parameters:
- in: query
name: num_chains
schema:
type: integer
example: 5
required: false
description: The number of top losers you want to see. Defaults to 5.
- in: query
name: min_tvl
schema:
type: number
format: float
example: 1000000
required: false
description: The minimum TVL that a chain should have to be included. Defaults to 10000.
- in: query
name: time_period
schema:
type: string
enum: ['day', 'week', 'month']
example: 'week'
required: false
description: The time period in which the change occurred. Can be 'day', 'week', or 'month'. Defaults to 'week'.
responses:
'200':
description: A list of the top chain losers.
'400':
description: Invalid time period provided
/get_interesting:
get:
operationId: getInteresting
summary: Returns interesting/important data on what is happening on-chain re protocols, chains and yields.
parameters:
- in: query
name: time_period
description: The time period for which to retrieve data. Can be day or week.
required: false
schema:
type: string
enum: ['day', 'week']
default: week
responses:
"200":
description: OK
/get_dex_volume:
get:
operationId: getDexVolume
summary: Get the trading volume of a dex
parameters:
- name: defillamaId
in: query
description: The DefiLlamaID of the protocol
required: true
schema:
type: string
- name: time_period
in: query
description: The time period in which the trading volume occured. Can be 'day', 'week', or 'month'. Defaults to 'month'.
required: false
schema:
type: string
enum: ["day", "week", "month"]
responses:
"200":
description: OK
'400':
description: Missing defillamaId parameter or invalid time_period parameter.
'404':
description: No protocol found with the given defillamaId.
'500':
description: Could not retrieve protocol.
/top_dex_volume:
get:
operationId: getTopDexVolume
summary: Get the dexes with the highest trading volume.
parameters:
- name: num_protocols
in: query
description: The number of top protocols to return. Default to 10.
required: false
schema:
type: integer
- name: time_period
in: query
description: The time period in which the revenue was earned. Can be 'day', 'week', or 'month'. Defaults to 'month'.
required: false
schema:
type: string
enum: ["day", "week", "month"]
- name: chain
in: query
description: Name of the blockchain or L2 to filter protocol revenue by.
required: false
schema:
type: string
responses:
"200":
description: OK
'400':
description: Invalid time_period parameter.
'500':
description: Could not retrieve revenue data.
Discover other plugins from the crypto category

Crossmint
Plugin for minting NFTs.
0 Comments

NFT News Roundup
Get Today's NFT News Headlines As A Clickable Link Roundup!
0 Comments

DAIZY
Deep insights on ETFs, stocks, cryptos. Institutional-grade data: performance, risk, sustainability, research.
0 Comments

CoinCap
Get cryptocurrency information from CoinCap.
0 Comments

CCData.io
Access the latest crypto prices and news aggregated by CCData.io (formerly CryptoCompare.com).
0 Comments

sic
Your gateway to crypto. Explore prices, accounts, and transactions on blockchains, starting with Ethereum.
0 Comments

CheckTheChain
Look for anything on the blockchain and get instant analysis.
0 Comments

Bitcoin Sentiment
Track the current price of Bitcoin and the market sentiment based on the last 20 news media mentions!
0 Comments

P/E For NFTs
Get the price to earnings ratio for any NFT collection!
0 Comments

Crypto Price Checker
A Crypto Prices app that takes a pair of crypto or fiat tickers and returns the current price of the pair.
0 Comments
.png%3Falt%3Dmedia%26token%3Ddb99af1e-5510-474a-bec8-3231c93b74eb)
Crypto ERC20 Scout
Browse ERC20 tokens on EVM blockchains. Includes address resolution, symbol/tag search, explorer links, and pricing.
0 Comments

Smarter Contracts
Analyze smart contracts and tokens on Ethereum.
0 Comments

Mobula
Fetching real-time data for all crypto & blockchain metrics.
0 Comments

Crypto Market News
It's your go-to solution for real-time cryptocurrency price updates, market insights, and the latest news.
0 Comments

NFTs
Get the important details of any NFT collection and ask for insights based on that data!
0 Comments

Crypto Pulse
From News to Profit: Decode Crypto's Market Impact with Ease. Instantly, analyse latest crypto news.
0 Comments

SignalPlus
Live data on crypto, NFTs, DeFi. Spot/derivatives. A must for traders.
0 Comments

MetaPath
Query info on cryptos, NFTs, tokens, coins, Defi and Web3.
0 Comments

MintbaseSearch
Find any NFT data on the NEAR Protocol.
0 Comments

Toolblox
Text to smart-contract. Describe a process to generate a smart-contract and deploy to any blockchain.
0 Comments

Telescope Labs
Data retrieval, analysis and visualizations related to web3 games who are onboarded as a blockchain game.
0 Comments
TokenInsights
Get realtime crypto price, BTC, ETH, BNB, and the latest insights.The latest coin news and airdrop opportunities.
0 Comments
CryptoMation
Crypto transactions, addresses, balances, conversions for any blockchain (Ethereum, Binance, Near, Tron, etc.)
0 Comments

NFT Guru
Discover current prices of NFTs across major platforms and keep track of the rapidly changing marketplace with real-time
0 Comments

Alchemy
Request real-time blockchain data for chains like Ethereum, Polygon, Arbitrum and Optimism through natural language.
0 Comments
Binance coin API Plugin
Plugin for retrieving cryptocurrency information from the Binance coin API.
0 Comments