AkashiDocs
Providers

DefiLlama

Total value locked (TVL) for DeFi protocols and blockchains, with 1-day and 7-day changes.

  • Provider id: defillama
  • Tools: 2, at $0.001 per call
  • Categories: Crypto & DeFi, Finance & Markets
  • Homepage: defillama.com
  • Provider docs: api-docs.defillama.com
  • Attribution: DefiLlama
ToolPriceWhat it does
defillama/chains$0.001Blockchains ranked by DeFi total value locked, with each one's share of all TVL.
defillama/protocol$0.001A DeFi protocol's current TVL, 1h/1d/7d change, category, chains and its biggest chains by TVL.

Inputs are JSON bodies, and unknown fields are rejected with 422 invalid_input (not charged). POST /v1/inspect with a tool's id returns the same input schema, plus the output schema.

DefiLlama Top Chains by TVL

defillama/chains · $0.001 per call (local) · Crypto & DeFi, Finance & Markets

Blockchains ranked by DeFi total value locked, with each one's share of all TVL.

Ranks every chain DefiLlama tracks by current DeFi TVL (USD) and returns the top N with its share of the total, gas-token symbol and EVM chain id where it has one. Current snapshot only. For one protocol use defillama/protocol.

Related: defillama/protocol.

Input

FieldTypeRequiredDescription
limitintegernoHow many chains, largest TVL first. From 1 to 50. Default 10.

Example

Input
{
  "limit": 10
}
Run it with the CLI
node akashi.mjs run defillama/chains --input '{"limit":10}'

DefiLlama Protocol TVL

defillama/protocol · $0.001 per call (local) · Crypto & DeFi, Finance & Markets

A DeFi protocol's current TVL, 1h/1d/7d change, category, chains and its biggest chains by TVL.

Looks up a DeFi protocol by DefiLlama slug or name and returns its total value locked in USD, the 1-hour, 1-day and 7-day % change, category, token symbol, market cap, website, the chains it runs on and its top 8 chains by TVL. A family slug such as 'aave' or 'uniswap' sums its versions (listed under children). Current values only, no history charts; borrowed and staked amounts are excluded from TVL as DefiLlama does by default. For chain totals use defillama/chains.

Related: defillama/chains, serper/news, akashi/answer.

Input

FieldTypeRequiredDescription
protocolstringyesDefiLlama slug or name, e.g. 'aave-v3', 'Lido' or a family such as 'uniswap'. 2–100 characters.

Example

Input
{
  "protocol": "aave"
}
Run it with the CLI
node akashi.mjs run defillama/protocol --input '{"protocol":"aave"}'

On this page