API Key Authentication
Core X Tracker API uses API keys to authenticate requests. Include your API key in the request header for all API calls.Keep your API key secure and never share it publicly. Treat it like a password.
How to Authenticate
Include your API key in theX-API-Key header:
Error Responses
Authentication Errors
If authentication fails, you’ll receive a 401 error:Rate Limit Errors
If you exceed rate limits, you’ll receive a 429 error:Retry-After header indicating when you can retry your request.
Best Practices
Store keys securely
Store keys securely
Never hardcode API keys in your source code. Use environment variables or secure key management systems.
Rotate keys regularly
Rotate keys regularly
For security, rotate your API keys periodically and update your applications.
Monitor usage
Monitor usage
Keep track of your API usage to avoid hitting rate limits.
Use HTTPS
Use HTTPS
Always use HTTPS when making API requests to ensure your API key is encrypted in transit.