All Nolimitnodes API requests require authentication via an API key. Your API key is passed as a query parameter on every request.

Obtaining an API Key

1

Log In

2

Generate Key

Navigate to the API Keys section and click Generate New Key.
3

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 the apikey parameter in the URL for all endpoints:
https://api.nolimitnodes.com/solana_mainnet?apikey=YOUR_API_KEY

Example Request

curl -X POST "https://api.nolimitnodes.com/solana_mainnet?apikey=YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -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"
Using in code
const apiKey = process.env.NLN_API_KEY;
const endpoint = `https://api.nolimitnodes.com/solana_mainnet?apikey=${apiKey}`;