4 min read · Updated 27 November 2026
Find Your License Key and Make Your First RPC Request
Where to find your OrbitFlare license key, which region host to call, and a first RPC request and WebSocket test you can run in a minute.
To make a first RPC request you only need your license key, found in the dashboard, and the host for your region. One curl command then tells you whether the setup works, and the whole check takes around five minutes.
1. Get your license key
- Create an account on orbitflare.com and choose a plan. You can start on the Free plan without a card.
- In the dashboard, open Services, the page our docs refer to as the Licenses section.
- Click into your service and copy its license key, which has the form
ORBIT-XXXXXX-NNNNNN-NNNNNN.
Handle the key as you would a password: it does not belong in committed code or in anything a browser runs.
2. Pick your region host
Every endpoint belongs to one region, and no host routes mainnet traffic for you. Call the region you picked at checkout, preferably the one nearest the machine sending the requests.
| Region | Host |
|---|---|
| Ashburn | va.rpc.orbitflare.com |
| New York | ny.rpc.orbitflare.com |
| Los Angeles | la.rpc.orbitflare.com |
| Salt Lake City | slc.rpc.orbitflare.com |
| Amsterdam | ams.rpc.orbitflare.com |
| Frankfurt | fra.rpc.orbitflare.com |
| London | lon.rpc.orbitflare.com |
| Tokyo | jp.rpc.orbitflare.com |
| Singapore | sg.rpc.orbitflare.com |
The retired RPC hosts tok, ash and sgp have been replaced by jp, va and sg. Devnet lives at devnet.rpc.orbitflare.com; every plan includes it, but it is not for production traffic.
3. Send your first RPC request
The command below calls getBlockHeight. Put your license key where it says YOUR_API_KEY, and swap fra for your own region code:
curl -X POST "https://fra.rpc.orbitflare.com?api_key=YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"getBlockHeight"}'
A working setup answers with the current block height:
{"jsonrpc":"2.0","result":123456789,"id":1}
The health route checks the node directly. Expect ok, behind followed by a slot count, or error:
curl "https://fra.rpc.orbitflare.com/health?api_key=YOUR_API_KEY"
4. Test a WebSocket subscription
A WebSocket connects to the same host over wss://. If you have Node.js, wscat gives you a quick test:
npx wscat -c "wss://fra.rpc.orbitflare.com?api_key=YOUR_API_KEY"
When the connection opens, paste the line below. A message should then arrive for each new slot:
{"jsonrpc":"2.0","id":1,"method":"slotSubscribe"}
If it doesn't work
-32401,-32402or-32404: the key or the whitelist is the issue; each code is covered in Which OrbitFlare API key do I use?.- HTTP
429: your requests went past the plan's per-second limit; RPS vs TPS explains it. - The host doesn't resolve: compare your region code with the table above. Old examples that use
mainnet.rpc.orbitflare.comwon't connect.
Once the call works, set the same URL in your tools: use a custom RPC URL in an app, bot or the Solana CLI.