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.
- Endpoint:
https://rpc.ankr.com/<chain>/<API_KEY> - Browse every network → Supported chains
- Popular: Ethereum · Solana · BNB Smart Chain · Arbitrum · Base
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.
- Endpoint:
https://rpc.ankr.com/multichain/<API_KEY> - Advanced API overview · Interactive reference (Try It)
- Method groups: Query API · Token API · NFT API
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 chain | Chain RPC API |
| Pull NFTs / token balances / prices / transfers across many chains in one call | Advanced API |
Both share the same key, billing, and rpc.ankr.com host — you can use them side by side in one project.
Getting started
- Get an API key at ankr.com/rpc. The key is part of the URL path — no auth header required.
- 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.
- Plans & pricing: Service plans · RPC pricing · Advanced API pricing
New to Ankr? Start with Getting started for accounts, projects, and API keys.