# Crypto Prices & DeFi API

2 implementations from CoinGecko and DefiLlama, from $0.0002 per call, some tools free.

## Implementations

- [Crypto spot price](/providers/coingecko/simple-price.md): `coingecko/simple-price`, no charge per call. Current price of one or more cryptocurrencies by CoinGecko id ('bitcoin', 'ethereum', 'solana'...) in one or more fiat or crypto currencies, with optional 24h. Needs ids. Served by CoinGecko.
- [DeFi protocol TVL](/providers/defillama/protocol-tvl.md): `defillama/protocol-tvl`, $0.0002 per call. Current total value locked (TVL) in USD for a DeFi protocol, e.g. 'aave', 'uniswap', 'lido'. Needs protocol. Served by DefiLlama.

## Other capabilities

- [Stocks & markets](/tools/finance/stocks.md): 5 tools.
- [Exchange rates](/tools/finance/fx.md): 1 tool, with no charge per call.
- [SEC filings & macro data](/tools/finance/filings.md): 2 tools, with no charge per call.
- [Prediction markets](/tools/finance/prediction-markets.md): 1 tool.

## Providers

- [CoinGecko](/providers/coingecko.md): 1 tool, with no charge per call.
- [DefiLlama](/providers/defillama.md): 1 tool, from $0.0002 per call.

## Questions

### Which tool should my agent use?

Your agent compares the 2 implementations by price and inputs with inspect_tool and proposes one before it runs.

### How is it billed?

Per call, at the provider's price with no markup, from $0.0002 per call. Some of these tools are free. Your agent sees the price before it runs a tool.

[Finance](/tools/finance.md) · [Connection guide](/connect.md) · [Billing](/docs/billing.md)

---

[HTML page](/tools/finance/crypto) · [Agent index](/llms.txt)
