All Nolimitnodes API requests require authentication via an API key. Your API key is passed as the x-api-key header on every request.
Obtaining an API Key
Generate Key
Navigate to the API Keys section and click Generate New Key.
Copy & Store
Copy your API key immediately. Store it in a secure location such as an environment variable or secrets manager.
Using Your API Key
Pass your API key in the x-api-key header for all endpoints:
https://rpc.nln.clr3.org
# Header: x-api-key: YOUR_API_KEY
Example Request
curl https://rpc.nln.clr3.org \
-H "Content-Type: application/json" \
-H "x-api-key: YOUR_API_KEY" \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "getSlot"
}'
Security Best Practices
Keep your API key secure and do not expose it in public code or repositories.
- Use environment variables — never hard-code API keys in source files.
- Restrict access — only share keys with team members who need them.
- Rotate regularly — regenerate your API key periodically from the dashboard.
- Monitor usage — check your dashboard for unexpected activity.
- Use
.gitignore — ensure .env files containing keys are excluded from version control.
Example: Loading from environment
export NLN_API_KEY="your-api-key-here"
const apiKey = process.env.NLN_API_KEY;
// Pass as header, not query param
const response = await fetch("https://rpc.nln.clr3.org", {
method: "POST",
headers: {
"Content-Type": "application/json",
"x-api-key": apiKey,
},
body: JSON.stringify({ jsonrpc: "2.0", id: 1, method: "getSlot" }),
});