All API requests require authentication using API keys.
Include your API key in the Authorization header:
curl https://api.leadmagic.io/v1/enrich \
-H "Authorization: Bearer pk_live_YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"email": "john@example.com"}'Warning: Never expose your API keys in client-side code or public repositories.
API keys have configurable rate limits. When exceeded, you'll receive a 429 response:
{
"error": "rate_limit_exceeded",
"message": "Rate limit exceeded",
"retryAfter": 30
}