route for previous api