# DefiLlama API

> 4 public methods for DefiLlama (defillama.com), each 1 credit per completed run.

Unofficial. Not affiliated with or endorsed by DefiLlama.

- Page: https://fous.com/methods/defillama.com

## Methods

### [List stablecoins](https://fous.com/methods/defillama.com/list-stablecoins.md)

`defillama.com/list_stablecoins`, read. Lists DefiLlama stablecoins ranked by circulating supply in US dollars. Each coin comes with its peg, price, weekly supply change and chain count. You can filter by peg.

Returns: rank, name, symbol, circulating supply USD, peg, mechanism, price, 7d supply change, chain count, page URL

### [Get DeFi project](https://fous.com/methods/defillama.com/get-defi-project.md)

`defillama.com/get_defi_project`, read. Gets a DeFi project's current TVL, 1-day and 7-day changes, chain breakdown, token information and daily TVL history from DefiLlama. Parent projects combine their listed versions.

Returns: project name, category, current TVL, 1d/7d change, TVL by chain, token symbol and market cap, website, daily TVL history

### [List best yields for an asset](https://fous.com/methods/defillama.com/list-best-yields.md)

`defillama.com/list_best_yields`, read. Finds the highest-APY DeFi pools on DefiLlama for a token symbol or name, optionally filtered by chain and minimum pool size.

Returns: project, chain, pool symbols, total/base/reward/30-day APY, pool size, stablecoin flag, DefiLlama link, pool ID

### [List top blockchains by TVL](https://fous.com/methods/defillama.com/list-top-blockchains.md)

`defillama.com/list_top_blockchains`, read. Lists blockchains ranked by the total value locked in their DeFi apps on DefiLlama, with one-day and seven-day TVL changes, DeFi project counts and chain token symbols.

Returns: rank, chain name, TVL in USD, 1d and 7d change, DeFi project count, token symbol, chain page URL
