Authentication

All API requests require authentication using an API key. Get your API key from the signup page.

Getting Your API Key

  1. Sign up for a free account at app.falakapi.com
  2. Navigate to your dashboard
  3. Copy your API key from the dashboard
  4. Use it in all API requests

Using Your API Key

Include your API key in the request header using the X-API-Key header.

curl "https://api.falakapi.com/v1/prayer?lat=28.66&lng=77.07" \
  -H "X-API-Key: fak_your_api_key_here"

Security Best Practices

  • Never commit your API key to version control - Use environment variables instead
  • Keep your API key secret - Don't share it publicly or in client-side code
  • Rotate your keys regularly - Generate new keys from your dashboard if compromised
  • Use different keys for different environments - Separate keys for development and production

⚠️ Important

API keys are sensitive credentials. If you suspect your key has been compromised, immediately generate a new one from your dashboard and update your applications.