Don't invest unless you're prepared to lose all the money you invest. Take 2 mins to learn moreWe may earn a commission from links. Not financial advice.

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.

CategoryProvidersCoins
Lending23293
Staking18105
Borrowing2116
  • 38 providers return at least one yield rate.
  • 44,518 rate rows are stored, including spot prices from exchanges.
  • Median age of a stored rate: 4 min.

Full coverage by provider and coin

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.06265106,
        "metadata": {
          "headline": {
            "apy": 0.06265106186467745,
            "name": "eWBTC-3",
            "tvlUsd": 404358.8210207125
          },
          "variants": [
            {
              "apy": 0.06265106186467745,
              "name": "eWBTC-3",
              "tvlUsd": 404358.8210207125
            }
          ],
          "truncated": false,
          "variantCount": 1
        },
        "lastUpdated": "2026-11-23T07:51:00.801Z",
        "coinId": "bitcoin",
        "providerSymbol": "WBTC",
        "unitType": "percentage",
        "unitSymbol": "%",
        "ageSeconds": 172,
        "stale": false
      },
      {
        "provider": "okx",
        "symbol": "BTC",
        "category": "lending",
        "rate": 0.01,
        "metadata": null,
        "lastUpdated": "2026-11-23T07:51:00.176Z",
        "coinId": "bitcoin",
        "providerSymbol": "BTC",
        "unitType": "percentage",
        "unitSymbol": "%",
        "ageSeconds": 173,
        "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

See every endpoint in the docs

Access

Free key

30 requests a minute, 10,000 a month and 7 days of rate history.

Get a free API key

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.net

AI 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.