Overview
Available for Freemium and Premium users.
Start using Advanced API on the Web3 API platform (opens in a new tab).
Advanced API is a specifically-tailored collection of JSON-RPC API endpoints built to support the most popular Web3 scenarios on multiple chains at almost instant speeds. We believe it to become a single point of reference for the multi-chain requests.
Advanced API optimizes, indexes, caches, and stores blockchain data to make it access-ready for you. To make things even better, our Advanced API supports querying across multiple mainnet and testnet chains in a single request.
Chains Supported
Currently, Advanced API works with the following EVM-compatible chains:
Mainnet:
Avalanche
,Arbitrum
,Base
,BNB Smart Chain
,Ethereum
,Fantom
,Flare
,Gnosis
,Linea
,Optimism
,Polygon
,Polygon zkEVM
,Rollux
,Scroll
,Stellar
,Syscoin
,Telos
,Xai
,X Layer
.
Testnet:
Avalanche Fuji
,Base Sepolia
,Ethereum Holesky
,Ethereum Sepolia
,Optimism Testnet
,Polygon Amoy
.
And more EVM and non-EVM chains coming soon.
AAPI Methods Supported
To get all supported AAPI methods in the OpenAPI-formatted
aapi-swagger
JSON, use the following request:
curl --location 'https://rpc.ankr.com/multichain/79258ce7f7ee046decc3b5292a24eb4bf7c910d7e39b691384c7ce0cfb839a01' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "docs_schema",
"params": {},
"id": 1
}'
NFT API
NFT API Methods serve to request NFT-related data across multiple chains:
ankr_getNFTsByOwner
— retrieves an account-associated NFTs.ankr_getNFTMetadata
— retrieves metadata of a particular NFT.ankr_getNFTHolders
— retrieves holders of a particular NFT.ankr_getNftTransfers
— retrieves NFT transfers info of a particular address.
Prefer interactive docs? See our OpenAPI specification (opens in a new tab) for NFT API methods.
Query API
Query API Methods serve to request info on the ranges of blocks (max range is 100) for a full list of block metadata:
ankr_getBlockchainStats
— retrieves blockchain statistics.ankr_getBlocks
— retrieves full info of a particular block.ankr_getLogs
— retrieves history data of a particular block range.ankr_getTransactionsByHash
— retrieves the details of a transaction specified by hash.ankr_getTransactionsByAddress
— retrieves the details of a transaction specified by wallet address.ankr_getInteractions
— retrieves blockchains interacted with a particular wallet.
Prefer interactive docs? See our OpenAPI specification (opens in a new tab) for Query API methods.
Token API
Token API Methods serve to request token-related data across multiple chains:
ankr_getAccountBalance
— retrieves the balance of a particular account.ankr_getCurrencies
— retrieves a list of currencies used on a particular blockchain.ankr_getTokenPrice
— retrieves the price of a particular token.ankr_getTokenHolders
— retrieves info on holders of a particular token.ankr_getTokenHoldersCount
— retrieves the number of token holders.ankr_getTokenTransfers
— retrieves token transfers info.
Prefer interactive docs? See our OpenAPI specification (opens in a new tab) for Token API methods.
Advanced API PAYG Pricing
The price of our API Credits is pegged to USD. It means that upon using ANKR tokens for PAYG, ANKR
calculates into API Credits
at the latest ANKR/USD exchange rate.
Our PAYG pricing model:
0.10 USD = 1M API Credits
API Collection | Method | API Credits | USD/request |
---|---|---|---|
NFT API | ankr_getNFTsByOwner | 700 | $0.00007 |
ankr_getNFTMetadata | 700 | $0.00007 | |
ankr_getNFTHolders | 700 | $0.00007 | |
ankr_getNftTransfers | 700 | $0.00007 | |
Query API | ankr_getBlockchainStats | 700 | $0.00007 |
ankr_getBlocks | 700 | $0.00007 | |
ankr_getLogs | 700 | $0.00007 | |
ankr_getTransactionsByHash | 700 | $0.00007 | |
ankr_getTransactionsByAddress | 700 | $0.00007 | |
ankr_getInteractions | 700 | $0.00007 | |
Token API | ankr_getAccountBalance | 700 | $0.00007 |
ankr_getCurrencies | 700 | $0.00007 | |
ankr_getTokenPrice | 700 | $0.00007 | |
ankr_getTokenHolders | 700 | $0.00007 | |
ankr_getTokenHoldersCount | 700 | $0.00007 | |
ankr_getTokenTransfers | 700 | $0.00007 |
Support and Developer Community
Our goal is to provide developers with the best user experience possible and supercharge Web3 projects with our Advanced API. Also, we strongly believe that community feedback fills our sails. So, let's team up — join our Discord community (opens in a new tab) to get support from our team, engage with like-minded developers, and propose new features that we can add in our Roadmap.