Getting Started
Create a project, add a node, and test its API key.
Setup
- Create your account
Open the cubestech dashboard and sign in.
- Create a project
Name the project after your app or environment.
- Add a Solana node
Pick your plan and finish node setup. The node page shows your endpoints and API key.
- Store the key
Save the key as
NODE_API_KEY. Do not commit the value.
Test RPC
bash
export NODE_API_KEY="YOUR_API_KEY"
curl https://api.mainnet-beta.solana.com \
-H "Content-Type: application/json" \
-H "x-api-key: $NODE_API_KEY" \
-d '{"jsonrpc":"2.0","id":"health","method":"getHealth"}'Expected result:
json
{
"jsonrpc": "2.0",
"result": "ok",
"id": "health"
}Test your next product
RPC quickstart
Read state through JSON-RPC.
WebSocket quickstart
Open a standard Solana subscription.
Yellowstone quickstart
Open a filtered Geyser stream.
Enhanced Streams quickstart
Subscribe to a curated event topic.
Program Streams quickstart
Subscribe to a program instruction or event.
Rate limits
Match connection and request volume to your plan.