Skip to main content

Ankr API Reference

Ankr exposes blockchain data through two complementary APIs, both served from the same rpc.ankr.com endpoint family and unlocked with a single API key. Pick the one that matches your use case — or combine them.

Chain RPC API

Standard JSON-RPC for 80+ networks — Ethereum, Solana, BNB Smart Chain, Arbitrum, Base, Bitcoin, TRON, TON, Sui and more. Every supported method has an interactive Try It panel that runs against a live node with a shared demo key.

Use it for raw chain access: read blocks, transactions and logs, query balances and contract state, estimate gas, or broadcast signed transactions.

Advanced API

Enriched, multichain data over a single endpoint — query NFTs, token balances and prices, transactions, and logs across many chains in one request, without running your own indexer.

Use it for ready-made answers: "all NFTs owned by this wallet", "token balances across chains", "USD price of this token", "logs in this block range".

Which one do I need?

You want to…Use
Call eth_call, eth_getLogs, eth_getBalance, or broadcast a tx on a specific chainChain RPC API
Pull NFTs / token balances / prices / transfers across many chains in one callAdvanced API

Both share the same key, billing, and rpc.ankr.com host — you can use them side by side in one project.

Getting started

  1. Get an API key at ankr.com/rpc. The key is part of the URL path — no auth header required.
  2. Try before you sign up. Code samples and the interactive panels ship with a shared, rate-limited demo key, so every request works out of the box.
  3. Plans & pricing: Service plans · RPC pricing · Advanced API pricing
tip

New to Ankr? Start with Getting started for accounts, projects, and API keys.