ankr Ratio API

Trustless exchange ratio between native and liquid staking tokens.

Operations 1

GET /v1.0/ratio/{token} Ankr Get Trustless Ratio #

Documentation

Specifications

Schemas & Data

Other Resources

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/ankr-ratio-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

ankr-ratio-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ankr Liquid Staking Ratio API
  description: 'The Ankr Liquid Staking RESTful API surfaces staking metrics, the trustless

    exchange ratio, and validator metadata across Ankr''s liquid staking tokens

    (ankrETH, ankrBNB, ankrPOL, ankrAVAX, ankrFTM, ankrDOT, etc.). It complements

    the on-chain Smart Contract API exposed on Avalanche, Binance Smart Chain,

    Ethereum, Fantom, and Polygon.

    '
  version: 1.0.0
  contact:
    name: Ankr
    url: https://www.ankr.com
    email: support@ankr.com
  license:
    name: Ankr Terms of Service
    url: https://www.ankr.com/terms/
servers:
- url: https://api.staking.ankr.com
  description: Ankr Staking RESTful API.
tags:
- name: Ratio
  description: Trustless exchange ratio between native and liquid staking tokens.
paths:
  /v1.0/ratio/{token}:
    get:
      summary: Ankr Get Trustless Ratio
      description: Returns the trustless exchange ratio between the native asset and its liquid staking token.
      operationId: getTrustlessRatio
      tags:
      - Ratio
      parameters:
      - $ref: '#/components/parameters/Token'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TrustlessRatio'
        4XX:
          $ref: '#/components/responses/ErrorResponse'
components:
  responses:
    ErrorResponse:
      description: Error response.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  schemas:
    Error:
      type: object
      properties:
        code:
          type: integer
        message:
          type: string
    TrustlessRatio:
      type: object
      properties:
        token:
          type: string
        ratio:
          type: string
        updatedAt:
          type: string
          format: date-time
  parameters:
    Token:
      name: token
      in: path
      required: true
      schema:
        type: string
        enum:
        - ankrETH
        - ankrBNB
        - ankrPOL
        - ankrAVAX
        - ankrFTM
        - ankrDOT
        - ankrFLOW
      description: Liquid staking token symbol.