Backend API for stockarator