By default, your endpoints are open (no authentication required). You can enable API key authentication to restrict access and track usage per key.
Enabling Authentication
Navigate to your endpoint's Security tab and toggle authentication on. Once enabled, all requests without a valid API key will be rejected with a 401 Unauthorized error.
Creating API Keys
From the Security tab, click "Create API Key" to generate a new key. Each key can be given a label for easy identification. The number of keys you can create depends on your plan.
Using API Keys
Pass your API key as a query parameter:
RPC with API Key
For WebSocket connections (Data Streams), pass the key the same way:
WebSocket with API Key
Warning
Keep your API keys secret. Never expose them in client-side code or public repositories. If a key is compromised, revoke it immediately from the Security tab and create a new one.