Pushbuild

DeFi Data API - TVL, Yields, Stablecoins (DefiLlama)

DeFi data from DefiLlama: total value locked for about 8,000 protocols and every chain with 1h, 1d and 7d change, about 20,000 yield pools with APY, base and reward APY and TVL, and stablecoin supply with prices and day, week and month changes. Filter by chain, category or project.

$0.08 per 1,000 rows

Get an API key

What it returns

Decentralized finance data from DefiLlama's open API, the most widely cited source for DeFi total value locked.

Common uses

DeFi dashboards, yield screening, crypto research and fund monitoring, stablecoin flow tracking. Pay per row returned.

Request

POST https://api.pushbuild.com/defillama-defi-data/run with a JSON body. Send your key in the X-API-Key header.

FieldTypeDescription
datasetstring: protocols, chains, yields, stablecoinsWhat to return. Default: "protocols".
chainsstringComma separated, e.g. Ethereum,Solana,Base
categoriesstringProtocols: categories like Lending,Dexs,CEX. Yields: project slugs like aave-v3,lido.
searchstringWords to match in name, symbol or project.
minTvlUsdnumberOnly rows with at least this TVL (stablecoins: circulating supply).
minApynumberYields only.
stablecoinOnlybooleanYields only.
maxItemsintegerMaximum items to return (1-500). Default: 100.

Example

curl -X POST https://api.pushbuild.com/defillama-defi-data/run \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"maxItems": 20}'

Response

{"count": 20, "truncated": false, "seconds": 1.4, "items": [ { ... } ]}

Each call returns up to 500 items. Records that fail validation or are not found are flagged in the items and not charged.

Pricing

Pay only for results returned: $0.08 per 1,000 rows. No charge for errors or empty searches.

Tell us what you need built.

Questions about this API, higher volumes, or a data source you need that we don't cover yet.

hello@pushbuild.com

(617) 299-8887

Tell us about your project

A few questions so we can come back with a written scope. We reply within one business day.