Getting Started

Follow these quick steps to connect to AstraNode RPC.

1

Get Your Endpoint

You don’t need an API key. Use directly:

https://rpc.astranode.cloud

Optional headers:

Header
Description

X-PAYER

(Optional) your wallet address, used to track usage

X-PAYMENT

(Optional) payment header after quota exceeded

2

Test Health

curl -s https://rpc.astranode.cloud/health | jq

✅ Response:

{ "ok": true, "ts": 1730190000000 }
3

Make a Basic RPC Call

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":[]}'
4

Check Remaining Quota

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