Ready APIReady API
Back to docs

Authentication

How to authenticate with our API.

API Key Authentication

All API requests require an API key passed as a Bearer token in the Authorization header.

curl -H "Authorization: Bearer YOUR_API_KEY" https://ready-api.vercel.app/api/quran?surah=1

Where to find your key

Generate and manage API keys from your dashboard. Each key can be named and revoked individually.

Security Best Practices

  • Never expose your API key in client-side code
  • Use environment variables to store keys
  • Rotate keys regularly
  • Revoke compromised keys immediately