API Examples

BlueFox and third-party applications communicate via the BlueFox RESTful APIs, which conform to the REST architectural style for easy integration into web applications. These APIs control user authentication, enforce access control privileges, and deliver data from BlueFox’s cloud servers. 

BlueFox customers commonly integrate BlueFox API calls into custom applications. We work to ensure that our APIs respect industry standards. Providing scalable, rock-solid APIs lets us focus on our core business of foot traffic analytics. 

Single Occupancy Screen

This example reports both current visitor count for a single BlueFox sensor and historical visitor count values for that sensor.  Three different API calls are used: one for the current (real time) count, one to retrieve historical data for the last 24 hours, and a separate API call to set the sensor location name and max occupancy value.

Real-time occupancy in a Dining Hall

Multi Occupancy Screen

This example reports current visitor counts for four BlueFox sensors.  Counts are updated every 60 seconds by default.  The code can be modified to change alert colors and percentage-occupancy thresholds.

Real-time occupancy in multiple locations

Get started today

Reach out to us — we’re here to help.

People counter sensor