API Key
Get a key

Authentication

All API requests require a valid API key. Keys are prefixed with bf_ and managed from your dashboard.

Passing your API key

You can authenticate using either method:

Header (recommended)

curl -H "X-API-Key: bf_your_key_here" \
  https://api.beefi.ai/api/v1/companies/search?q=apple

Query parameter

https://api.beefi.ai/api/v1/companies/search?q=apple&api_key=bf_your_key_here

Note: Using the header method is recommended. Query parameters may be logged in server access logs and browser history.

Error responses

StatusMeaningResponse
401Missing API keyMissing API key. Provide X-API-Key header or api_key query param.
401Invalid or expired keyInvalid or expired API key.
429Rate limit exceededRate limit exceeded. Upgrade your plan for higher limits.

Key security

  • Keys are hashed with SHA-256 and cannot be recovered. Store your key securely when created.
  • Never expose your key in client-side code or public repositories.
  • Revoke compromised keys immediately from your dashboard.