Authentication
Rebar Data supports optional API key authentication. Keys unlock higher rate limits and will be required for premium features in the future.
Compatibility
| Product | Service | Required | Supported |
|---|---|---|---|
| Data | REST API | No | Yes |
| Data | JSON-RPC | No | Yes |
| Data | GraphQL | No | Yes |
| Data | WebSocket | No | No |
| Shield | — | No | No |
Get an API Key
- Go to data.rebarlabs.io
- Create an account or log in
- Generate an API key from your dashboard
Usage
Pass your key in the Authorization header:
Authorization: Bearer <YOUR_API_KEY>
Rate Limits
| Tier | Description |
|---|---|
| No key | Default public rate limits |
| Basic | Higher limits for registered developers |
| Enterprise | Custom limits and priority support — contact us |
Best Practices
- Never expose keys in client-side code or public repositories
- Store keys in environment variables or a secrets manager
- Rotate keys periodically