Follow these quick steps to connect to AstraNode RPC.
You don’t need an API key. Use directly:
https://rpc.astranode.cloud
Optional headers:
X-PAYER
(Optional) your wallet address, used to track usage
X-PAYMENT
(Optional) payment header after quota exceeded
curl -s https://rpc.astranode.cloud/health | jq
✅ Response:
{ "ok": true, "ts": 1730190000000 }
Example: get latest block number
curl -s https://rpc.astranode.cloud/rpc \ -H 'content-type: application/json' \ -d '{"jsonrpc":"2.0","id":1,"method":"eth_blockNumber","params":[]}'
curl -s https://rpc.astranode.cloud/quota | jq
Response:
{ "identity": "1.2.3.4", "freeRemaining": 47 }
🎯 You’re connected! Next: Learn about rate limits & payments