Authentication

All API requests require an API key passed via the Authorization header.

API keys

Generate an API key from your dashboard. Keys are prefixed with ic_key_ and should be kept secret.

.env
IMGCLAW_API_KEY=ic_key_abc123def456

Making authenticated requests

Pass your key as a Bearer token in the Authorization header:

bash
curl https://api.imageclaw.dev/v1/images \
-H "Authorization: Bearer $IMGCLAW_API_KEY"

Rate limits

Rate limits depend on your plan:

  • Free: 100 requests/hour
  • Pro: 10,000 requests/hour
  • Enterprise: Custom limits

Rate limit headers are returned with every response: X-RateLimit-Remaining, X-RateLimit-Reset.