Authorization
The MDB Enrichment API uses API key authentication to secure access to all endpoints.Access to the MDB Enrichment API is currently given to select partners only and is not publicly available.
Getting Your API Key
- Log in to the MDB Dashboard at mdb.tools
 - Navigate to the Admin Dashboard after successful authentication
 - Generate or retrieve your API key from the dashboard interface
 
Using Your API Key
Include your API key in thex-api-key header with every request:
Verify Your Access
You can verify your API key and view your organization details using the whoami endpoint:Security Best Practices
- Keep your API key secure - Never expose it in client-side code or public repositories
 - Use environment variables - Store your API key in environment variables or secure configuration
 - Rotate keys regularly - Generate new API keys periodically for enhanced security
 - Monitor usage - Check your dashboard regularly for unexpected API usage
 
Authentication Errors
If authentication fails, you’ll receive a401 Unauthorized response: