Bitcompare Benchmarks API
The benchmarks API from Bitcompare — 1 operation(s) for benchmarks.
The benchmarks API from Bitcompare — 1 operation(s) for benchmarks.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/bitcompare-net:bitcompare-net-benchmarks-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Bitcompare Benchmarks API
summary: Crypto yield data, coin metadata, prices, market stats, and stablecoin data.
description: Public REST API powering Bitcompare and the Bitcompare MCP server. Live and historical crypto yield data across lending, staking, borrowing, and stablecoin products, plus coin metadata, aggregated prices, market stats, and stablecoin peg-stability. Every endpoint is also exposed as an MCP tool at https://api.bitcompare.net/mcp.
version: 1.0.0
contact:
name: Bitcompare API support
email: info@bitcompare.net
url: https://docs.bitcompare.net
license:
name: Commercial
url: https://bitcompare.net/terms-of-use
termsOfService: https://bitcompare.net/terms-of-use
servers:
- url: https://api.bitcompare.net
description: Production
security:
- {}
- BearerAuth: []
tags:
- name: benchmarks
paths:
/api/v1/benchmarks/stablecoin:
get:
tags:
- benchmarks
operationId: stablecoin_earn_benchmark
summary: Bitcompare Earn Index (BEI-Stable)
description: 'The Bitcompare Earn Index for stablecoins: median USDC/USDT lending APY across servable providers, with CeFi/DeFi splits, TVL-weighted variant, deltas, and an immutable daily history. Use for "what does stablecoin yield pay right now / how has it trended?" — this is the citable market reference, not a single provider quote.'
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
data:
type: object
properties:
benchmarkKey:
type: string
name:
type: string
methodologyVersion:
type: string
methodologyUrl:
type: string
segments:
type: array
items:
type: object
properties:
segment:
type: string
enum:
- overall
- cefi
- defi
day:
type: string
medianRate:
type: number
tvlWeightedRate:
type:
- number
- 'null'
constituentCount:
type: integer
providerCount:
type: integer
dayChange:
type:
- number
- 'null'
weekChange:
type:
- number
- 'null'
monthChange:
type:
- number
- 'null'
sparkline:
type: array
items:
type: object
properties:
day:
type: string
medianRate:
type: number
backfilled:
type: boolean
required:
- day
- medianRate
- backfilled
additionalProperties: true
required:
- segment
- day
- medianRate
- tvlWeightedRate
- constituentCount
- providerCount
- dayChange
- weekChange
- monthChange
- sparkline
additionalProperties: true
updatedAt:
type: string
segment:
type: string
enum:
- overall
- cefi
- defi
prints:
type: array
items:
type: object
properties:
day:
type: string
medianRate:
type: number
required:
- day
- medianRate
additionalProperties: true
count:
type: integer
clamped:
type: boolean
required:
- benchmarkKey
additionalProperties: true
required:
- data
additionalProperties: true
'401':
description: Missing or invalid API key
$ref: '#/components/responses/Unauthorized'
'429':
description: Plan rate limit exceeded
$ref: '#/components/responses/RateLimited'
x-mcp-annotations:
readOnlyHint: true
destructiveHint: false
idempotentHint: true
openWorldHint: true
components:
responses:
Unauthorized:
description: Missing or invalid API key
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: object
properties:
message:
type: string
code:
type: string
example: INVALID_API_KEY
RateLimited:
description: Plan rate limit exceeded — see X-RateLimit-* headers and Retry-After
content:
application/json:
schema:
type: object
required:
- error
properties:
error:
type: object
properties:
message:
type: string
code:
type: string
example: RATE_LIMIT_EXCEEDED
securitySchemes:
BearerAuth:
type: http
scheme: bearer
bearerFormat: ck_live_*
description: 'API keys issued from https://pro.bitcompare.net/dashboard/keys. Send as `Authorization: Bearer ck_live_...`.'
externalDocs:
description: Developer documentation
url: https://docs.bitcompare.net