Accepting precalculated grid from API endpoint