api.js occupancy and route stats