Skip to main content
The BaClique API uses API keys to authenticate requests. Each key is tied to your account and has full access to your data.

API Key Format

  • sk_ = Secret Key prefix
  • live_ = Live mode (production)
  • Followed by 32+ random characters

Using Your API Key

Include your key in the Authorization header:

Security Best Practices

  1. Never commit API keys to version control
  2. Use environment variables to store keys
  3. Rotate keys regularly if you suspect a leak
  4. Use different keys for development and production
  5. Limit exposure - only your backend should use the API key

Environment Variable Example

Rate Limiting

  • 100 requests per minute per API key
  • Rate limit headers are included in responses:
When exceeded:

Errors