Advanced API
Overview

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:

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:

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:

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 CollectionMethodAPI CreditsUSD/request
NFT APIankr_getNFTsByOwner700$0.00007
ankr_getNFTMetadata700$0.00007
ankr_getNFTHolders700$0.00007
ankr_getNftTransfers700$0.00007
Query APIankr_getBlockchainStats700$0.00007
ankr_getBlocks700$0.00007
ankr_getLogs700$0.00007
ankr_getTransactionsByHash700$0.00007
ankr_getTransactionsByAddress700$0.00007
ankr_getInteractions700$0.00007
Token APIankr_getAccountBalance700$0.00007
ankr_getCurrencies700$0.00007
ankr_getTokenPrice700$0.00007
ankr_getTokenHolders700$0.00007
ankr_getTokenHoldersCount700$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.