Bitcompare Stablecoins API

Stablecoin index + peg-stability data

Operations 2

GET /api/v1/stablecoins/index Stablecoin stability leaderboard #
GET /api/v1/stablecoins/peg-stability Stablecoin peg stability #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/bitcompare-net:bitcompare-net-stablecoins-api"
All apis
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.

Get an API 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 Specification

bitcompare-net-stablecoins-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bitcompare Stablecoins 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: stablecoins
  description: Stablecoin index + peg-stability data
paths:
  /api/v1/stablecoins/index:
    get:
      tags:
      - stablecoins
      operationId: stablecoin_index
      summary: Stablecoin stability leaderboard
      description: Ranked stablecoin leaderboard with stability scores, peg deviation, and market cap.
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  stablecoins:
                    type: array
                    items:
                      type: object
                      properties:
                        symbol:
                          type: string
                          description: Stablecoin symbol (e.g. `usdc`)
                        name:
                          type: string
                          description: Human-readable name
                        marketCap:
                          description: Market cap in USD
                          type: number
                        pegDeviation:
                          description: Current peg deviation from target (typically $1.00) in basis points
                          type: number
                        stabilityScore:
                          description: Stability score 0-100, higher is more stable
                          type: number
                      required:
                      - symbol
                      - name
                      additionalProperties: true
                    description: Ranked stablecoin leaderboard
                required:
                - stablecoins
                additionalProperties: true
        '401':
          description: Missing or invalid API key
          $ref: '#/components/responses/Unauthorized'
        '429':
          description: Plan rate limit exceeded
          $ref: '#/components/responses/RateLimited'
      parameters:
      - name: limit
        in: query
        required: false
        description: Default 50
        schema:
          type: integer
          minimum: 1
          maximum: 200
        example: 20
      x-mcp-annotations:
        readOnlyHint: true
        destructiveHint: false
        idempotentHint: true
        openWorldHint: true
  /api/v1/stablecoins/peg-stability:
    get:
      tags:
      - stablecoins
      operationId: stablecoin_peg_stability
      summary: Stablecoin peg stability
      description: Peg deviation history and stability stats for a stablecoin.
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              schema:
                type: object
                properties:
                  symbol:
                    type: string
                  pegTarget:
                    type: number
                    description: Target peg in USD (typically 1.0)
                  deviation:
                    type: number
                    description: Current peg deviation in basis points
                  history:
                    type: array
                    items:
                      type: object
                      properties:
                        timestamp:
                          type: string
                          description: ISO-8601 timestamp of the data point
                        value:
                          type: number
                          description: The recorded numeric value
                      required:
                      - timestamp
                      - value
                      additionalProperties: true
                    description: Recent peg deviation samples
                required:
                - symbol
                - pegTarget
                - deviation
                - history
                additionalProperties: true
        '401':
          description: Missing or invalid API key
          $ref: '#/components/responses/Unauthorized'
        '429':
          description: Plan rate limit exceeded
          $ref: '#/components/responses/RateLimited'
      parameters:
      - name: symbol
        in: query
        required: true
        description: Stablecoin symbol (e.g. "usdt", "usdc")
        schema:
          type: string
          description: Stablecoin symbol (e.g. "usdt", "usdc")
        example: usdc
      - name: period
        in: query
        required: false
        description: Stability window, default "30d"
        schema:
          type: string
          enum:
          - 7d
          - 30d
          - 90d
        example: 30d
      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