Solved! My answer was a bit off from the original solution but it seems likely that the calories just changed a little over time.
A huge thank you to @tristank for the updated API link and Candy ID codes. It made it a lot easier to solve without having to try to hunt those down myself!