Authentication
All API requests require authentication using an API key. Get your API key from the signup page.
Getting Your API Key
- Sign up for a free account at app.falakapi.com
- Navigate to your dashboard
- Copy your API key from the dashboard
- 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.