ankr EVM API

Standard Ethereum JSON-RPC envelope shared by every EVM chain.

Operations 1

POST / Ankr Execute JSON-RPC Call #

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-evm-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-evm-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Ankr RPC Service (Node API) EVM API
  description: 'Ankr''s RPC Service (Node API) provides HTTPS and WebSocket JSON-RPC endpoints for

    80+ blockchain networks (EVM and non-EVM). The public endpoint is open;

    Premium and Enterprise plans use an API-key-scoped endpoint with x50 the rate

    limit of the public Node API. This specification documents the common

    EVM JSON-RPC envelope that ships behind every `https://rpc.ankr.com/{chain}` URL;

    non-EVM chains (Solana, Aptos, Stellar, etc.) expose their native JSON-RPC or REST

    surface at the same per-chain endpoint.

    '
  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://rpc.ankr.com/{chain}
  description: Public Plan RPC endpoint
  variables:
    chain:
      default: eth
      enum:
      - eth
      - bsc
      - polygon
      - arbitrum
      - optimism
      - base
      - avalanche
      - fantom
      - gnosis
      - linea
      - scroll
      - taiko
      - solana
      - aptos
      - stellar
      - tron
      description: Chain identifier in the URL path.
- url: https://rpc.ankr.com/{chain}/{API_KEY}
  description: Premium Plan RPC endpoint
  variables:
    chain:
      default: eth
    API_KEY:
      default: API_KEY
tags:
- name: EVM
  description: Standard Ethereum JSON-RPC envelope shared by every EVM chain.
paths:
  /:
    post:
      summary: Ankr Execute JSON-RPC Call
      description: 'Execute a JSON-RPC 2.0 call against the selected chain. The `method` field

        carries the EVM method name (`eth_blockNumber`, `eth_getBalance`,

        `eth_chainId`, `eth_call`, `eth_getLogs`, `eth_getTransactionByHash`,

        `eth_getTransactionReceipt`, `eth_sendRawTransaction`, etc.).

        '
      operationId: callRpc
      tags:
      - EVM
      requestBody:
        required: true
        content:
          application/json:
            schema:
              oneOf:
              - $ref: '#/components/schemas/JsonRpcRequest'
              - type: array
                items:
                  $ref: '#/components/schemas/JsonRpcRequest'
      responses:
        '200':
          description: JSON-RPC response (single or batched).
          content:
            application/json:
              schema:
                oneOf:
                - $ref: '#/components/schemas/JsonRpcResponse'
                - type: array
                  items:
                    $ref: '#/components/schemas/JsonRpcResponse'
        '429':
          description: Rate limit exceeded. Premium API keys raise the limit x50.
        4XX:
          $ref: '#/components/responses/ErrorResponse'
components:
  schemas:
    JsonRpcError:
      type: object
      properties:
        code:
          type: integer
        message:
          type: string
        data: {}
    JsonRpcResponse:
      type: object
      properties:
        jsonrpc:
          type: string
        id:
          oneOf:
          - type: integer
          - type: string
        result: {}
        error:
          $ref: '#/components/schemas/JsonRpcError'
    JsonRpcRequest:
      type: object
      required:
      - jsonrpc
      - method
      - id
      properties:
        jsonrpc:
          type: string
          default: '2.0'
        id:
          oneOf:
          - type: integer
          - type: string
        method:
          type: string
          example: eth_blockNumber
        params:
          type: array
          items: {}
  responses:
    ErrorResponse:
      description: JSON-RPC error envelope.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/JsonRpcResponse'