Authentication
Learn how to authenticate your requests to the syte Partner API using API key-based authentication.
Overview
The syte Partner API uses API key-based authentication. Every request to the API must include:
- API Key
Your unique API key provided by syte
- Email Address
The email address associated with your syte account
Authentication Headers
Include these two headers with every API request:
Authorization Header
Authorization: Bearer <SYTE_API_KEY>
Customer Header
X-API-Customer: <SYTE_API_EMAIL>
Making Authenticated Requests
Always use environment variables to store your API credentials. Here's a complete example showing how to make an authenticated request to get building data:
Get Building Data with Authentication
Additional Security Recommendations:
- Never hardcode your API key in your source code
- Store API keys in a secure backend vault or key management service
- Never log or print API keys in your application logs
- Rotate your API keys regularly
- Use HTTPS for all API requests
- Implement proper error handling to avoid exposing keys in error messages
Additional Resources
- Interactive API Documentation
Explore and test all available endpoints
- Geocoding & Data Fetching Guide
Learn how to convert addresses to coordinates and fetch data
- Data Overview Spreadsheet
Detailed information about available data fields
- Request API Access
Contact us to get your API key