DeFi Yield API
The DeFi yield API with CeFi context built in.
Live and historical lending and staking yields from on-chain protocols — Aave, Compound, Morpho, Spark and more — normalized into the same typed schema as centralized platforms, with an OpenAPI spec and a free tier.
CoverageLive
- 594
- Assets covered
- 57
- Providers tracked
- 43,851
- Rates monitored
- 30,819
- Updates in 24h
- 4m
- Median refresh
- 1s
- Freshest provider
Schema
On-chain yields, normalized like everything else.
Protocol yields arrive in the same typed shape as every other rate — no per-protocol adapters, no subgraph wrangling, one integration.
Per-rate fields
- Lending and staking rates per asset, per protocol or platform
- One normalized JSON schema across every source — protocol or platform
- Per-rate freshness timestamps and source signals
- Historical rate series for backtesting and trend charts
Coverage
- Major DeFi protocols including Aave, Compound, Morpho, Spark, Fluid and Maple
- Liquid staking providers like Lido alongside validator and exchange staking
- ETH, stablecoins and the long tail of yield-bearing assets
Live response — fetched from the public API at build time
// GET /api/v1/rates/ETH?category=lending { "data": { "symbol": "ETH", "rates": [ { "provider": "bitfinex", "symbol": "ETH", "category": "lending", "rate": 10.0467, "metadata": null, "lastUpdated": "2026-09-19T22:05:55.263Z", "coinId": "ethereum", "providerSymbol": "ETH", "unitType": "percentage", "unitSymbol": "%", "ageSeconds": 213, "stale": false }, { "provider": "aave-v3", "symbol": "ETH", "category": "lending", "rate": 1.45460053, "metadata": { "mode": "aave_liquidity_rate", "method": "getReserveData", "source": "onchain_rate", "chainId": 1, "contract": "0x87870Bca3F3fD6335C3F4ce8392D69350B4fA4E2" }, "lastUpdated": "2026-09-19T22:05:51.853Z", "coinId": "ethereum", "providerSymbol": "ETH", "unitType": "percentage", "unitSymbol": "%", "ageSeconds": 216, "stale": false }, { "provider": "compound-v3", "symbol": "ETH", "category": "lending", "rate": 1.2723664, "metadata": { "mode": "comet_supply_rate", "method": "getSupplyRate", "source": "onchain_rate", "chainId": 1, "contract": "0xA17581A9E3356d9A858b789D68B4d866e593aE94" }, "lastUpdated": "2026-09-19T22:05:49.346Z", "coinId": "ethereum", "providerSymbol": "ETH", "unitType": "percentage", "unitSymbol": "%", "ageSeconds": 219, "stale": false } ], "count": 17 } }
CeFi + DeFi
Stop stitching a DeFi source and a CeFi source together.
The same request that returns Aave and Compound returns Nexo and Gemini — one response, one schema, so on-chain and custodial yields arrive together instead of from two separate sources.
- One call per asset returns on-chain protocols and centralized platforms together
- Every source shares the same fields, so rows are directly comparable
- Build side-by-side CeFi and DeFi views, spreads and alerts from a single feed
Live response — fetched from the public API at build time
// GET /api/v1/rates/ETH?category=staking { "data": { "symbol": "ETH", "rates": [ { "provider": "stakin", "symbol": "ETH", "category": "staking", "rate": 2.57, "metadata": null, "lastUpdated": "2026-09-19T23:55:26.760Z", "coinId": "ethereum", "providerSymbol": "ETH", "unitType": "percentage", "unitSymbol": "%", "ageSeconds": 4, "stale": false }, { "provider": "stakewise", "symbol": "ETH", "category": "staking", "rate": 2.31173851, "metadata": null, "lastUpdated": "2026-09-19T23:51:00.105Z", "coinId": "ethereum", "providerSymbol": "ETH", "unitType": "percentage", "unitSymbol": "%", "ageSeconds": 271, "stale": false }, { "provider": "gemini", "symbol": "ETH", "category": "staking", "rate": 0.23, "metadata": { "depositUsdLimit": 10000000 }, "lastUpdated": "2026-09-19T23:50:49.047Z", "coinId": "ethereum", "providerSymbol": "ETH", "unitType": "percentage", "unitSymbol": "%", "ageSeconds": 282, "stale": false } ], "count": 10 } }
FAQ
Frequently asked questions
- Is there a DeFi API for yield data?
- Yes. The API returns live and historical lending and staking yields from major DeFi protocols — Aave, Compound, Morpho, Spark and more — as typed JSON with per-rate freshness and source signals, covering 590+ assets without running your own indexers or subgraph queries.
- Is there a CeFi API too?
- Yes — the same one. Every response mixes on-chain protocols with centralized platforms like Nexo and Gemini in one normalized schema, across 55+ providers total, so you integrate one endpoint instead of a separate CeFi product.
- Which DeFi protocols are covered?
- Lending markets include Aave, Compound, Morpho, Spark, Fluid, Maple, Gearbox and Silo; staking includes liquid staking providers like Lido alongside validators and exchanges. Coverage follows where real yield lives and expands as protocols gain traction.
- Can I get historical DeFi yields?
- Yes. Historical rate series are available through the API for backtesting, trend charts and research, and the historical rates page shows the same data as a human-readable view.
- Can AI agents use the DeFi yield API?
- Yes. The REST API has a public OpenAPI spec and a free tier, and the same data layer is exposed as MCP tools — agents can connect via the hosted MCP endpoint or the @bitcompare/mcp-server npm package.
Start building in minutes.
10,000 requests a month free — no credit card. Paid plans unlock higher volume.
- Free tier: 10,000 requests/month, no card required
- Paid plans for higher volume and SLAs
- Sign in only for keys, billing and dashboards at pro.bitcompare.net
- Docs and the OpenAPI spec are public — no login required
- MCP tools are powered by the same API and data layer