Developer Documentation
API & Integration Guide
Build powerful applications with LotSight's comprehensive API. Real-time data, historical analytics, and predictive insights at your fingertips.
REST API
Full REST API with JSON responses
Webhooks
Real-time push notifications
MQTT
IoT-native messaging protocol
Cloud Connectors
AWS, Azure, GCP integrations
API Endpoints
Comprehensive REST API for all your spatial intelligence needs
Real-Time Data
/v1/occupancyCurrent occupancy data for all zones
/v1/countsLive counts with configurable intervals
/v1/zones/{id}Zone-specific real-time data
Historical Analytics
/v1/analytics/dailyDaily aggregated counts and trends
/v1/analytics/hourlyHourly breakdown for pattern analysis
/v1/analytics/compareMulti-site comparison data
Predictions
/v1/forecast/15min15-minute occupancy forecast
/v1/forecast/hourlyHourly demand predictions
/v1/forecast/dailyDaily demand forecast
Alerts & Webhooks
/v1/webhooksRegister webhook for real-time alerts
/v1/alertsRecent alert history
/v1/thresholdsConfigure alert thresholds
Built for Developers
Everything you need to integrate spatial intelligence into your applications
// Get current occupancy for all zones
const response = await fetch('https://api.lotsightanalytics.com/v1/occupancy', {
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
}
});
const data = await response.json();
// {
// "zones": [
// { "id": "zone-1", "name": "Lot A", "current": 145, "capacity": 200, "percent": 72.5 },
// { "id": "zone-2", "name": "Lot B", "current": 89, "capacity": 150, "percent": 59.3 }
// ],
// "timestamp": "2024-01-15T14:30:00Z"
// }Ready to Integrate?
Get API access with your LotSight subscription. Our team will help you get started with documentation, SDKs, and sandbox access.
Request API Access