data collector api and index page