This page will help you get started with NodeReal API.
Public API Key
As a high-speed blockchain infrastructure solution, NodeReal strives to provide an instant and easy-access service to every developer. You can easily create a NodeReal account with this guide. However, we understand you may be sharing your repository with the public, which is not proper to expose your own API key, or you just found the API endpoint in some projects and would like to try it out. We hear you. That’s why we created this public and shareable API key for you to get started with NodeReal.
Public APIs have lower CUPS and it may also have some constraints. If you need full NodeReal access, please start with this guide.
API endpoints
Format Type #1:
For the APIs developed by NodeReal
Endpoint(https):
https://{chain-network}.nodereal.io/v1/{apikey}
Endpoint(wss):
wss://{chain-network}.nodereal.io/ws/v1/{apikey}
Chain Full Name | Chain | Network |
---|---|---|
BNB Smart Chain | bsc | mainnet; testnet; |
opBNB | opbnb | mainnet; testnet; |
Ethereum | eth | mainnet; sepolia; |
ETH Beacon Chain | eth2-beacon | mainnet; |
Aptos | aptos | mainnet; testnet; |
Optimism | opt | mainnet; |
Polygon | polygon | mainnet; |
Format Type #2:
For the APIs co-developed with NodeReal or developed by the community members
Endpoint(for PancakeSwap GraphQL):
https://data-platform.nodereal.io/graph/v1/{apikey}/projects/pancakeswap
Endpoint(for Arbitrum Nova RPC):
https://open-platform.nodereal.io/{apikey}/arbitrum/
Endpoint(for Covalent API):
https://open-platform.nodereal.io/{{apiKey}}/covalenthq/{{API_path}}/
Endpoint(for Avalanche C-Chain API):
https://open-platform.nodereal.io/{{apiKey}}/avalanche-c/{{API_path}}
Endpoint(for Solana RPC):
https://open-platform.nodereal.io/{{apiKey}}/solana/
Endpoint(for Arbitrum Nitro RPC):
https://open-platform.nodereal.io/{apikey}/arbitrum-nitro/
Endpoint(for NEAR RPC):
https://open-platform.nodereal.io/{apikey}/near/
Endpoint(for Fantom RPC):
https://open-platform.nodereal.io/{apikey}/fantom/
Endpoint(for Klaytn RPC):
https://open-platform.nodereal.io/{apikey}/klaytn/
Rate Limit
We enabled rate limit for these public API keys with 2000CU per minute for each IP address. That means, if one IP address sent requests to MegaNode with more than 2000CU in one minute, the further request will be blocked and receive -32005 error code as below.
{
"jsonrpc": "2.0",
"id": 1,
"error": {
"code": -32005,
"message": "You have reached the maximum API usage limit. If you need higher throughput, please check out https://meganode.nodereal.io/"
}
}
If you see above message and code, you will need to retry in the next minute.