Crypto yield API
Live lending, staking and borrowing rates as JSON, from the same data that runs Bitcompare. Keys are free and self-serve. Email us if you need higher limits.
What the API covers today
Counted live from the API when this page was built. The page refreshes every hour, so these numbers move as providers are added or stop reporting.
| Category | Providers | Coins |
|---|---|---|
| Lending | 23 | 293 |
| Staking | 18 | 105 |
| Borrowing | 2 | 116 |
- 38 providers return at least one yield rate.
- 44,515 rate rows are stored, including spot prices from exchanges.
- Median age of a stored rate: 1 min.
A real response
The live response from the free public endpoint below, cut to 2 of 10 rows. Field names and types are exactly what your code gets.
curl "https://api.bitcompare.net/api/v1/rates/BTC?category=lending"{
"data": {
"symbol": "BTC",
"rates": [
{
"provider": "euler-v2",
"symbol": "BTC",
"category": "lending",
"rate": 0.06265103,
"metadata": {
"headline": {
"apy": 0.06265102928121538,
"name": "eWBTC-3",
"tvlUsd": 406280.459659083
},
"variants": [
{
"apy": 0.06265102928121538,
"name": "eWBTC-3",
"tvlUsd": 406280.459659083
}
],
"truncated": false,
"variantCount": 1
},
"lastUpdated": "2026-11-23T05:51:00.280Z",
"coinId": "bitcoin",
"providerSymbol": "WBTC",
"unitType": "percentage",
"unitSymbol": "%",
"ageSeconds": 111,
"stale": false
},
{
"provider": "okx",
"symbol": "BTC",
"category": "lending",
"rate": 0.01,
"metadata": null,
"lastUpdated": "2026-11-23T05:50:59.662Z",
"coinId": "bitcoin",
"providerSymbol": "BTC",
"unitType": "percentage",
"unitSymbol": "%",
"ageSeconds": 112,
"stale": false
}
],
"count": 10
}
}rate is a number. Read it with unitType: for yields it is a percentage (2.5 means 2.5% APY); for prices it is an amount in unitSymbol. ageSeconds and stale show how fresh each row is.
Main endpoints
The main read endpoints. The docs list every endpoint, its parameters and its limits.
- GET/api/v1/rates
- Current rates, filtered by coin and category
- GET/api/v1/rates/{symbol}
- All current rates for one coin
- GET/api/v1/rates/{symbol}/history
- Rate history for one coin
- GET/api/v1/providers
- Providers we collect rates from
- GET/api/v1/coins
- Coin metadata
- GET/api/v1/stablecoins/index
- Stablecoin yield index
Access
Need more?
Higher limits, longer history and the endpoints that are not open to free keys are arranged by email. Tell us what you are building.
Email info@bitcompare.netAI agents can read the same data through our MCP server. MCP setup guide
Status and support
See API availability and data freshness on the status page. For anything else, email info@bitcompare.net.