API access to ingredient list

After working with the editor to make variants of People Chow, I’ve found that this quickly turns into a linear optimization problem: get all the values 100, with minimal overages (except in allowable places) and minimize cost. I want to try writing some scripts (Likely just simulated annealing) to try and find optimal ingredient selections automatically, then present them for review. Is there an API or way I can politely scrape the DIY ingredient lists (or a similar service)?

1 Like

If you go to a recipe page and append /json to the url, you’ll get a json representation of the recipe, ingredients and nutrient profile. There’s no ingredient list api yet.

4 Likes

I was wondering if there was any update on a API?