Authentication
All API requests require authentication using an API key. There are two ways to authenticate:
Option 1: Authentication Header (Recommended)
Include your API key in the X-API-Key
header:
X-API-Key: your_api_key_here
Option 2: Query Parameter
Include your API key as a query parameter:
?api_key=your_api_key_here
Requests without a valid API key will receive a 401 Unauthorized
response.
Security Note: Keep your API keys secure. Never expose them in client-side code, public repositories, or browser-accessible files. Only use the header authentication method in production environments.