Skip to content

Authentication

All Aleatoric Data feeds require an API key for access. Keys are provisioned through the dashboard and managed centrally by the credential management service.

ProtocolMethod
JSON-RPCx-api-key HTTP header
gRPCx-api-key metadata or Authorization: Bearer metadata
Unified Stream (SSE)x-api-key HTTP header or Authorization: Bearer header
Disk-Sync WebSocketx-api-key header or ?api_key= query parameter
Terminal window
# HTTP header (most common)
curl -H "x-api-key: ak_live_c51nSdWI..." https://rpc.aleatoric.systems
# Bearer token (gRPC metadata)
metadata = [("authorization", "Bearer ak_live_c51nSdWI...")]

Keys can be scoped by service and region:

  • chain:hyperliquid — Access to Hyperliquid feeds
  • region:us / region:jp — Region-specific access
  • stream:read — Unified Stream access
  • status:read / status:admin — Status API access

Rate limits are enforced per API key at the Nginx gateway:

TierRequests/minRequests/sec
Basic1002
Pro120,000200
QuantUnlimitedUnlimited

When rate limited, you’ll receive a 429 Too Many Requests response. See Rate Limits for details.

Keys can be rotated from the dashboard without downtime. Create a new key, update your clients, then revoke the old key.